aboutsummaryrefslogtreecommitdiffstats
path: root/games-emulation/simple64-gui/files
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/simple64-gui/files')
-rw-r--r--games-emulation/simple64-gui/files/fix-paths.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/games-emulation/simple64-gui/files/fix-paths.patch b/games-emulation/simple64-gui/files/fix-paths.patch
deleted file mode 100644
index f282667..0000000
--- a/games-emulation/simple64-gui/files/fix-paths.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 39bc5e9..4c0b672 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -12,6 +12,13 @@ include_directories(../mupen64plus-core/src/api)
-
- add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x0602ff -DNETPLAY_VER=17)
-
-+if(DEFINED PLUGIN_DIR_PATH)
-+ add_definitions(-DPLUGIN_DIR_PATH="${PLUGIN_DIR_PATH}")
-+endif()
-+if(DEFINED CORE_LIBRARY_PATH)
-+ add_definitions(-DCORE_LIBRARY_PATH="${CORE_LIBRARY_PATH}")
-+endif()
-+
- if(DEFINED ENV{NETPLAY_AUTH_CODE})
- add_definitions(-DNETPLAY_AUTH_CODE="$ENV{NETPLAY_AUTH_CODE}")
- else()
-diff --git a/cheats.cpp b/cheats.cpp
-index 600efdd..83efb0a 100644
---- a/cheats.cpp
-+++ b/cheats.cpp
-@@ -229,7 +229,7 @@ QString getCheatGameName()
-
- QJsonObject loadCheatData(QString gameName)
- {
-- QString cheats_path = QDir(QCoreApplication::applicationDirPath()).filePath("cheats.json");
-+ QString cheats_path = QDir(QStringLiteral(u"/usr/share/mupen64plus")).filePath("cheats.json");
- QFile file(cheats_path);
- file.open(QIODevice::ReadOnly | QIODevice::Text);
-
-diff --git a/mainwindow.cpp b/mainwindow.cpp
-index 9a577a5..da29d54 100644
---- a/mainwindow.cpp
-+++ b/mainwindow.cpp
-@@ -353,7 +353,7 @@ void MainWindow::updateApp()
-
- void MainWindow::setupDiscord()
- {
-- QLibrary *discordLib = new QLibrary((QDir(QCoreApplication::applicationDirPath()).filePath("discord_game_sdk")), this);
-+ QLibrary *discordLib = new QLibrary(QStringLiteral("discord_game_sdk"), this);
-
- memset(&discord_app, 0, sizeof(discord_app));
-