mirror of https://github.com/mgba-emu/mgba.git
Qt: Move Replace ROM option to Emulation menu
This commit is contained in:
parent
b8a9baa474
commit
baf5d71f93
|
@ -1322,7 +1322,6 @@ void Window::setupMenu(QMenuBar* menubar) {
|
||||||
m_actions.addAction(tr("Boot BIOS"), "bootBIOS", this, &Window::bootBIOS, "file");
|
m_actions.addAction(tr("Boot BIOS"), "bootBIOS", this, &Window::bootBIOS, "file");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
addGameAction(tr("Replace ROM..."), "replaceROM", this, &Window::replaceROM, "file");
|
|
||||||
#ifdef M_CORE_GBA
|
#ifdef M_CORE_GBA
|
||||||
Action* scanCard = addGameAction(tr("Scan e-Reader dotcodes..."), "scanCard", this, &Window::scanCard, "file");
|
Action* scanCard = addGameAction(tr("Scan e-Reader dotcodes..."), "scanCard", this, &Window::scanCard, "file");
|
||||||
m_platformActions.insert(mPLATFORM_GBA, scanCard);
|
m_platformActions.insert(mPLATFORM_GBA, scanCard);
|
||||||
|
@ -1412,8 +1411,10 @@ void Window::setupMenu(QMenuBar* menubar) {
|
||||||
m_actions.addMenu(tr("&Emulation"), "emu");
|
m_actions.addMenu(tr("&Emulation"), "emu");
|
||||||
addGameAction(tr("&Reset"), "reset", &CoreController::reset, "emu", QKeySequence("Ctrl+R"));
|
addGameAction(tr("&Reset"), "reset", &CoreController::reset, "emu", QKeySequence("Ctrl+R"));
|
||||||
addGameAction(tr("Sh&utdown"), "shutdown", &CoreController::stop, "emu");
|
addGameAction(tr("Sh&utdown"), "shutdown", &CoreController::stop, "emu");
|
||||||
addGameAction(tr("Yank game pak"), "yank", &CoreController::yankPak, "emu");
|
m_actions.addSeparator("emu");
|
||||||
|
|
||||||
|
addGameAction(tr("Replace ROM..."), "replaceROM", this, &Window::replaceROM, "emu");
|
||||||
|
addGameAction(tr("Yank game pak"), "yank", &CoreController::yankPak, "emu");
|
||||||
m_actions.addSeparator("emu");
|
m_actions.addSeparator("emu");
|
||||||
|
|
||||||
Action* pause = m_actions.addBooleanAction(tr("&Pause"), "pause", [this](bool paused) {
|
Action* pause = m_actions.addBooleanAction(tr("&Pause"), "pause", [this](bool paused) {
|
||||||
|
|
Loading…
Reference in New Issue