mirror of https://github.com/mgba-emu/mgba.git
Qt: Disable Replace ROM option when no game loaded
This commit is contained in:
parent
1cf03b435a
commit
39e4a8a156
1
CHANGES
1
CHANGES
|
@ -22,6 +22,7 @@ Misc:
|
||||||
- Qt: Renderer can be changed while a game is running
|
- Qt: Renderer can be changed while a game is running
|
||||||
- Qt: Add hex index to palette view
|
- Qt: Add hex index to palette view
|
||||||
- Qt: Add transformation matrix info to sprite view
|
- Qt: Add transformation matrix info to sprite view
|
||||||
|
- Qt: Disable Replace ROM option when no game loaded
|
||||||
|
|
||||||
0.8.1: (2020-02-16)
|
0.8.1: (2020-02-16)
|
||||||
Emulation fixes:
|
Emulation fixes:
|
||||||
|
|
|
@ -1124,7 +1124,7 @@ void Window::setupMenu(QMenuBar* menubar) {
|
||||||
}, "file");
|
}, "file");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m_actions.addAction(tr("Replace ROM..."), "replaceROM", this, &Window::replaceROM, "file");
|
addGameAction(tr("Replace ROM..."), "replaceROM", this, &Window::replaceROM, "file");
|
||||||
#ifdef M_CORE_GBA
|
#ifdef M_CORE_GBA
|
||||||
Action* scanCard = addGameAction(tr("Scan e-Reader dotcode..."), "scanCard", this, &Window::scanCard, "file");
|
Action* scanCard = addGameAction(tr("Scan e-Reader dotcode..."), "scanCard", this, &Window::scanCard, "file");
|
||||||
m_platformActions.insert(PLATFORM_GBA, scanCard);
|
m_platformActions.insert(PLATFORM_GBA, scanCard);
|
||||||
|
|
Loading…
Reference in New Issue