all repos — mgba @ 39e4a8a156fb5fd35a89f81cc7b63caea2a8edb3

mGBA Game Boy Advance Emulator

Qt: Disable Replace ROM option when no game loaded
Vicki Pfau vi@endrift.com
Wed, 19 Feb 2020 23:12:26 -0800
commit

39e4a8a156fb5fd35a89f81cc7b63caea2a8edb3

parent

1cf03b435a47d3d01792f52ecbd6f5f4d464aa1a

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -22,6 +22,7 @@ - FFmpeg: Add looping option for GIF/APNG

- Qt: Renderer can be changed while a game is running - Qt: Add hex index to palette view - Qt: Add transformation matrix info to sprite view + - Qt: Disable Replace ROM option when no game loaded 0.8.1: (2020-02-16) Emulation fixes:
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -1124,7 +1124,7 @@ setController(m_manager->loadBIOS(PLATFORM_GBA, m_config->getOption("gba.bios")), QString());

}, "file"); #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 Action* scanCard = addGameAction(tr("Scan e-Reader dotcode..."), "scanCard", this, &Window::scanCard, "file"); m_platformActions.insert(PLATFORM_GBA, scanCard);