mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
In Qt, use mobile UI for anything non-Linux due to threads issue. So, Windows Qt UI runs fine now.
This commit is contained in:
parent
6673a938da
commit
f56c397c48
3 changed files with 6 additions and 6 deletions
|
@ -45,9 +45,7 @@ SOURCES += ../android/jni/EmuScreen.cpp \
|
|||
INCLUDEPATH += .. ../Common ../native
|
||||
|
||||
# Temporarily only use new UI for Linux desktop
|
||||
mobile_platform {
|
||||
SOURCES += ../android/jni/NativeApp.cpp
|
||||
} else {
|
||||
linux:!mobile_platform {
|
||||
MOC_DIR = moc
|
||||
UI_DIR = ui
|
||||
RCC_DIR = rcc
|
||||
|
@ -56,6 +54,8 @@ mobile_platform {
|
|||
FORMS += *.ui
|
||||
RESOURCES += resources.qrc
|
||||
INCLUDEPATH += ../Qt
|
||||
} else {
|
||||
SOURCES += ../android/jni/NativeApp.cpp
|
||||
}
|
||||
|
||||
# Translations
|
||||
|
|
|
@ -246,7 +246,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
|
|||
if (g_Config.currentDirectory == "") {
|
||||
#if defined(ANDROID)
|
||||
g_Config.currentDirectory = external_directory;
|
||||
#elif defined(BLACKBERRY) || defined(__SYMBIAN32__) || defined(IOS)
|
||||
#elif defined(BLACKBERRY) || defined(__SYMBIAN32__) || defined(IOS) || defined(_WIN32)
|
||||
g_Config.currentDirectory = savegame_directory;
|
||||
#else
|
||||
g_Config.currentDirectory = getenv("HOME");
|
||||
|
@ -259,7 +259,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
|
|||
// most sense.
|
||||
g_Config.memCardDirectory = std::string(external_directory) + "/";
|
||||
g_Config.flashDirectory = std::string(external_directory)+"/flash/";
|
||||
#elif defined(BLACKBERRY) || defined(__SYMBIAN32__) || defined(IOS)
|
||||
#elif defined(BLACKBERRY) || defined(__SYMBIAN32__) || defined(IOS) || defined(_WIN32)
|
||||
g_Config.memCardDirectory = user_data_path;
|
||||
#ifdef BLACKBERRY
|
||||
g_Config.flashDirectory = "app/native/assets/flash/";
|
||||
|
|
2
native
2
native
|
@ -1 +1 @@
|
|||
Subproject commit a0f4674f0bc86199865315d88bfe647a297d1b0e
|
||||
Subproject commit 3c160ecb5a848d67e2be5a165ae3a81ff8401fae
|
Loading…
Add table
Reference in a new issue