diff --git a/src/core/hle/service/cecd/cecd.cpp b/src/core/hle/service/cecd/cecd.cpp index d661bd1182..c7bb8c1aaf 100644 --- a/src/core/hle/service/cecd/cecd.cpp +++ b/src/core/hle/service/cecd/cecd.cpp @@ -18,7 +18,7 @@ void Module::Interface::GetCecStateAbbreviated(Kernel::HLERequestContext& ctx) { IPC::RequestBuilder rb = rp.MakeBuilder(2, 0); rb.Push(RESULT_SUCCESS); - rb.Push(static_cast(CecStateAbbreviated::CEC_STATE_ABBREV_IDLE)); + rb.PushEnum(CecStateAbbreviated::CEC_STATE_ABBREV_IDLE); LOG_WARNING(Service_CECD, "(STUBBED) called"); } diff --git a/src/core/hle/service/cecd/cecd.h b/src/core/hle/service/cecd/cecd.h index e2557a3db1..9d4f659c1b 100644 --- a/src/core/hle/service/cecd/cecd.h +++ b/src/core/hle/service/cecd/cecd.h @@ -10,7 +10,7 @@ namespace Service { namespace CECD { -enum class CecStateAbbreviated { +enum class CecStateAbbreviated : u32 { CEC_STATE_ABBREV_IDLE = 1, ///< Corresponds to CEC_STATE_IDLE CEC_STATE_ABBREV_NOT_LOCAL = 2, ///< Corresponds to CEC_STATEs *FINISH*, *POST, and OVER_BOSS CEC_STATE_ABBREV_SCANNING = 3, ///< Corresponds to CEC_STATE_SCANNING