diff options
| author | 1024x2 | 2026-08-19 17:11:38 +0100 |
|---|---|---|
| committer | 1024x2 | 2026-08-19 17:11:38 +0100 |
| commit | 6b009b941eb6eefd0d0f90f23e9b26ab0699082e (patch) | |
| tree | 6fe6daf64a597b6463fd22f0eb6d4f48e1c98694 /games-emulation/simple64-gui/files/fix-paths.patch | |
| parent | a6b8abf9975998b488ea85824616282d0fff31db (diff) | |
Use games-emulation/rmg instead.
Diffstat (limited to 'games-emulation/simple64-gui/files/fix-paths.patch')
| -rw-r--r-- | games-emulation/simple64-gui/files/fix-paths.patch | 44 |
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)); - |
