mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Mac: Restart the app when changing rendering backend.
This commit is contained in:
parent
c81d996475
commit
048ccc9b79
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
#include "GPU/GPUInterface.h"
|
||||
#include "Common/File/Path.h"
|
||||
#include "Common/System/System.h"
|
||||
#include "Common/System/Request.h"
|
||||
#include "Common/System/NativeApp.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Common/Data/Text/I18n.h"
|
||||
|
@ -551,6 +552,10 @@ TOGGLE_METHOD(ShowDebugStats, g_Config.bShowDebugStats, NativeMessageReceived("c
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Use same command line params as the previous startup?
|
||||
// Note that this does a clean shutdown, so the config will be saved automatically.
|
||||
System_RestartApp("");
|
||||
}
|
||||
|
||||
-(NSControlStateValue) controlStateForBool: (BOOL)boolValue {
|
||||
|
|
Loading…
Add table
Reference in a new issue