mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
Initial support for title switching + better Wii U menu compatibility (#907)
This commit is contained in:
parent
bfbeeae6f6
commit
2200cc0ddf
95 changed files with 2549 additions and 746 deletions
|
@ -203,6 +203,11 @@ namespace save
|
|||
return ConvertACPToSaveStatus(status);
|
||||
}
|
||||
|
||||
SAVEStatus SAVEUnmountSaveDir()
|
||||
{
|
||||
return ConvertACPToSaveStatus(acp::ACPUnmountSaveDir());
|
||||
}
|
||||
|
||||
void _CheckAndMoveLegacySaves()
|
||||
{
|
||||
const uint64 titleId = CafeSystem::GetForegroundTitleId();
|
||||
|
@ -1518,6 +1523,8 @@ namespace save
|
|||
|
||||
void load()
|
||||
{
|
||||
|
||||
|
||||
osLib_addFunction("nn_save", "SAVEInit", export_SAVEInit);
|
||||
osLib_addFunction("nn_save", "SAVEInitSaveDir", export_SAVEInitSaveDir);
|
||||
osLib_addFunction("nn_save", "SAVEGetSharedDataTitlePath", export_SAVEGetSharedDataTitlePath);
|
||||
|
@ -1570,5 +1577,15 @@ namespace save
|
|||
osLib_addFunction("nn_save", "SAVEOpenDirOtherNormalApplicationAsync", export_SAVEOpenDirOtherNormalApplicationAsync);
|
||||
osLib_addFunction("nn_save", "SAVEOpenDirOtherNormalApplicationVariationAsync", export_SAVEOpenDirOtherNormalApplicationVariationAsync);
|
||||
}
|
||||
|
||||
void ResetToDefaultState()
|
||||
{
|
||||
if(g_nn_save->initialized)
|
||||
{
|
||||
SAVEUnmountSaveDir();
|
||||
g_nn_save->initialized = false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue