mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-30 08:24:18 +01:00
am: Stub IApplicationFunctions GetDisplayVersion.
This commit is contained in:
parent
b16e5c6a81
commit
0d681f7a7a
@ -490,7 +490,7 @@ IApplicationFunctions::IApplicationFunctions() : ServiceFramework("IApplicationF
|
|||||||
{20, &IApplicationFunctions::EnsureSaveData, "EnsureSaveData"},
|
{20, &IApplicationFunctions::EnsureSaveData, "EnsureSaveData"},
|
||||||
{21, &IApplicationFunctions::GetDesiredLanguage, "GetDesiredLanguage"},
|
{21, &IApplicationFunctions::GetDesiredLanguage, "GetDesiredLanguage"},
|
||||||
{22, &IApplicationFunctions::SetTerminateResult, "SetTerminateResult"},
|
{22, &IApplicationFunctions::SetTerminateResult, "SetTerminateResult"},
|
||||||
{23, nullptr, "GetDisplayVersion"},
|
{23, &IApplicationFunctions::GetDisplayVersion, "GetDisplayVersion"},
|
||||||
{24, nullptr, "GetLaunchStorageInfoForDebug"},
|
{24, nullptr, "GetLaunchStorageInfoForDebug"},
|
||||||
{25, nullptr, "ExtendSaveData"},
|
{25, nullptr, "ExtendSaveData"},
|
||||||
{26, nullptr, "GetSaveDataSize"},
|
{26, nullptr, "GetSaveDataSize"},
|
||||||
@ -585,6 +585,14 @@ void IApplicationFunctions::SetTerminateResult(Kernel::HLERequestContext& ctx) {
|
|||||||
NGLOG_WARNING(Service_AM, "(STUBBED) called, result=0x{:08X}", result);
|
NGLOG_WARNING(Service_AM, "(STUBBED) called, result=0x{:08X}", result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void IApplicationFunctions::GetDisplayVersion(Kernel::HLERequestContext& ctx) {
|
||||||
|
IPC::ResponseBuilder rb{ctx, 6};
|
||||||
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
rb.Push<u64>(1);
|
||||||
|
rb.Push<u64>(0);
|
||||||
|
NGLOG_WARNING(Service_AM, "(STUBBED) called");
|
||||||
|
}
|
||||||
|
|
||||||
void IApplicationFunctions::GetDesiredLanguage(Kernel::HLERequestContext& ctx) {
|
void IApplicationFunctions::GetDesiredLanguage(Kernel::HLERequestContext& ctx) {
|
||||||
// TODO(bunnei): This should be configurable
|
// TODO(bunnei): This should be configurable
|
||||||
IPC::ResponseBuilder rb{ctx, 4};
|
IPC::ResponseBuilder rb{ctx, 4};
|
||||||
|
@ -132,6 +132,7 @@ private:
|
|||||||
void CreateApplicationAndRequestToStartForQuest(Kernel::HLERequestContext& ctx);
|
void CreateApplicationAndRequestToStartForQuest(Kernel::HLERequestContext& ctx);
|
||||||
void EnsureSaveData(Kernel::HLERequestContext& ctx);
|
void EnsureSaveData(Kernel::HLERequestContext& ctx);
|
||||||
void SetTerminateResult(Kernel::HLERequestContext& ctx);
|
void SetTerminateResult(Kernel::HLERequestContext& ctx);
|
||||||
|
void GetDisplayVersion(Kernel::HLERequestContext& ctx);
|
||||||
void GetDesiredLanguage(Kernel::HLERequestContext& ctx);
|
void GetDesiredLanguage(Kernel::HLERequestContext& ctx);
|
||||||
void InitializeGamePlayRecording(Kernel::HLERequestContext& ctx);
|
void InitializeGamePlayRecording(Kernel::HLERequestContext& ctx);
|
||||||
void SetGamePlayRecordingState(Kernel::HLERequestContext& ctx);
|
void SetGamePlayRecordingState(Kernel::HLERequestContext& ctx);
|
||||||
|
Loading…
Reference in New Issue
Block a user