mirror of
https://git.minecraftlegacy.com/backups/LCEMP.git
synced 2026-12-02 11:21:31 +00:00
fix: settings saving and debug settings fixes
This commit is contained in:
1 parent
07a5881796
commit
5fe555f4d6
3 files changed
+88
-8
No files matched your search
@@ -1113,9 +1113,19 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
app.NavigateToScene(XUSER_INDEX_ANY,eUIScene_Intro,&initData);
|
||||
#endif
|
||||
|
||||
// Set the default sound levels
|
||||
pMinecraft->options->set(Options::Option::MUSIC,1.0f);
|
||||
pMinecraft->options->set(Options::Option::SOUND,1.0f);
|
||||
app.ApplyGameSettingsChanged(ProfileManager.GetPrimaryPad());
|
||||
|
||||
#ifdef _DEBUG_MENUS_ENABLED
|
||||
if(app.DebugSettingsOn())
|
||||
{
|
||||
app.ActionDebugMask(ProfileManager.GetPrimaryPad());
|
||||
}
|
||||
else
|
||||
{
|
||||
// force debug mask off
|
||||
app.ActionDebugMask(ProfileManager.GetPrimaryPad(),true);
|
||||
}
|
||||
#endif
|
||||
|
||||
//app.TemporaryCreateGameStart();
|
||||
|
||||
|
||||
Reference in new issue
Block a user