mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Path code cleanup, move some UI code (#21037)
* Move a bunch of path logic into Core/Util/PathUtil.cpp/h . * Move GameImageView out from SaveDataScreen * More cleanup, add a translation string
This commit is contained in:
+1
-10
@@ -111,6 +111,7 @@
|
||||
#include "Core/Util/PortManager.h"
|
||||
#include "Core/Util/AudioFormat.h"
|
||||
#include "Core/Util/RecentFiles.h"
|
||||
#include "Core/Util/PathUtil.h"
|
||||
#include "Core/WebServer.h"
|
||||
#include "Core/TiltEventProcessor.h"
|
||||
|
||||
@@ -257,16 +258,6 @@ void PostLoadConfig() {
|
||||
#endif
|
||||
}
|
||||
|
||||
static Path GetFailedBackendsDir() {
|
||||
Path failedBackendsDir;
|
||||
if (System_GetPropertyBool(SYSPROP_SUPPORTS_PERMISSIONS)) {
|
||||
failedBackendsDir = GetSysDirectory(DIRECTORY_APP_CACHE);
|
||||
} else {
|
||||
failedBackendsDir = GetSysDirectory(DIRECTORY_SYSTEM);
|
||||
}
|
||||
return failedBackendsDir;
|
||||
}
|
||||
|
||||
static void CheckFailedGPUBackends() {
|
||||
#ifdef _DEBUG
|
||||
// If you're in debug mode, you probably don't want a fallback. If you're in release mode, use IGNORE below.
|
||||
|
||||
Reference in New Issue
Block a user