service/set: Convert GetLanguageCode over to using PushEnum()

This code was around prior to the introduction of PushEnum, so convert
it over so we don't need to cast here.
This commit is contained in:
Lioncash committed 2018-11-30 09:08:07 -05:00
1 parent 1e5d6c1b99
commit 8f52802f2b
1 file changed
+1 -1
+1 -1
View File
@@ -112,7 +112,7 @@ void SET::GetLanguageCode(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(RESULT_SUCCESS);
rb.Push(static_cast<u64>(available_language_codes[Settings::values.language_index]));
rb.PushEnum(available_language_codes[Settings::values.language_index]);
}
SET::SET() : ServiceFramework("set") {