mirror of https://github.com/mgba-emu/mgba.git
Qt: Enable -b for Boot BIOS menu option (fixes #2074)
This commit is contained in:
parent
73efec2a02
commit
e2040146ea
1
CHANGES
1
CHANGES
|
@ -46,6 +46,7 @@ Misc:
|
||||||
- Qt: Add optional frame counter to OSD (closes mgba.io/i/1728)
|
- Qt: Add optional frame counter to OSD (closes mgba.io/i/1728)
|
||||||
- Qt: Add optional emulation-related information on reset (closes mgba.io/i/1780)
|
- Qt: Add optional emulation-related information on reset (closes mgba.io/i/1780)
|
||||||
- Qt: Add QOpenGLWidget cross-thread codepath for macOS (fixes mgba.io/i/1754)
|
- Qt: Add QOpenGLWidget cross-thread codepath for macOS (fixes mgba.io/i/1754)
|
||||||
|
- Qt: Enable -b for Boot BIOS menu option (fixes mgba.io/i/2074)
|
||||||
- Windows: Attach to console if present
|
- Windows: Attach to console if present
|
||||||
|
|
||||||
0.9.3: (2021-12-17)
|
0.9.3: (2021-12-17)
|
||||||
|
|
|
@ -348,7 +348,11 @@ void Window::selectROM() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::bootBIOS() {
|
void Window::bootBIOS() {
|
||||||
setController(m_manager->loadBIOS(mPLATFORM_GBA, m_config->getOption("gba.bios")), QString());
|
QString bios(m_config->getOption("gba.bios"));
|
||||||
|
if (bios.isEmpty()) {
|
||||||
|
bios = m_config->getOption("bios");
|
||||||
|
}
|
||||||
|
setController(m_manager->loadBIOS(mPLATFORM_GBA, bios), QString());
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_SQLITE3
|
#ifdef USE_SQLITE3
|
||||||
|
|
Loading…
Reference in New Issue