From 282af3f6fc0ef3220d53c6f9bc0d124a3d184873 Mon Sep 17 00:00:00 2001 From: XargonWan <6771419+XargonWan@users.noreply.github.com> Date: Sat, 6 May 2023 17:56:42 +0200 Subject: [PATCH] MELONDS: patching hotkeys --- rd-submodules/melonds/hotkeys.patch | 18 ++++++++++++++++++ rd-submodules/retroarch | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 rd-submodules/melonds/hotkeys.patch diff --git a/rd-submodules/melonds/hotkeys.patch b/rd-submodules/melonds/hotkeys.patch new file mode 100644 index 00000000..8a90570c --- /dev/null +++ b/rd-submodules/melonds/hotkeys.patch @@ -0,0 +1,18 @@ +diff -au1r melonDS/src/frontend/qt_sdl/main.cpp melonDS/src/frontend/qt_sdl/main.cpp +--- melonDS/src/frontend/qt_sdl/main.cpp 2023-05-06 17:27:24.822375255 +0200 ++++ melonDS/src/frontend/qt_sdl/main.cpp 2023-05-06 17:47:19.587498189 +0200 +@@ -1467,3 +1467,3 @@ + actSaveState[0] = submenu->addAction("File..."); +- actSaveState[0]->setShortcut(QKeySequence(Qt::ShiftModifier | Qt::Key_F9)); ++ actSaveState[0]->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_S)); + actSaveState[0]->setData(QVariant(0)); +@@ -1483,3 +1483,3 @@ + actLoadState[0] = submenu->addAction("File..."); +- actLoadState[0]->setShortcut(QKeySequence(Qt::Key_F9)); ++ actLoadState[0]->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_A)); + actLoadState[0]->setData(QVariant(0)); +@@ -1489,3 +1489,3 @@ + actUndoStateLoad = menu->addAction("Undo state load"); +- actUndoStateLoad->setShortcut(QKeySequence(Qt::Key_F12)); ++ actUndoStateLoad->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_8)); + connect(actUndoStateLoad, &QAction::triggered, this, &MainWindow::onUndoStateLoad); diff --git a/rd-submodules/retroarch b/rd-submodules/retroarch index 0b1cfb79..717b7809 160000 --- a/rd-submodules/retroarch +++ b/rd-submodules/retroarch @@ -1 +1 @@ -Subproject commit 0b1cfb79e591e10488a3262d6b38db843c39a409 +Subproject commit 717b78093797270877ec416e58082f1c71d435d8