mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-09 17:14:47 -06:00
Stub MCP_DemoGetRemainder to 99
This commit is contained in:
parent
a8bd6f84f7
commit
b84a941fba
@ -421,6 +421,15 @@ namespace coreinit
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32 MCP_DemoLaunchGetRemainder(MCPHANDLE mcpHandle, uint32 ukn_r4, uint32 inputA, uint32 inputB, uint32be* outRemainder)
|
||||
{
|
||||
// stub to always return 99 uses remaining for game demos.
|
||||
// used by drmapp.rpl to determine remaining uses for game demos
|
||||
if (outRemainder)
|
||||
*outRemainder = 99;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void InitializeMCP()
|
||||
{
|
||||
osLib_addFunction("coreinit", "MCP_Open", coreinitExport_MCP_Open);
|
||||
@ -450,6 +459,7 @@ namespace coreinit
|
||||
cafeExportRegister("coreinit", MCP_GetEcoSettings, LogType::Placeholder);
|
||||
|
||||
cafeExportRegister("coreinit", MCP_GetTitleId, LogType::Placeholder);
|
||||
cafeExportRegister("coreinit", MCP_DemoLaunchGetRemainder, LogType::Placeholder);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user