all repos — mgba @ 9caa6f19edc638a2f7ed403cb37de2f3da92605c

mGBA Game Boy Advance Emulator

Qt: Partially fix booting BIOS
Jeffrey Pfau jeffrey@endrift.com
Sat, 30 Apr 2016 20:38:15 -0700
commit

9caa6f19edc638a2f7ed403cb37de2f3da92605c

parent

d6fce03fa3b89ff6efa09055c824e5d39162500f

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

jump to
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -233,6 +233,7 @@ m_mruFiles = m_config->getMRU();

updateMRU(); m_inputController.setConfiguration(m_config); + m_controller->setUseBIOS(opts->useBios); } void Window::reloadConfig() {

@@ -1274,7 +1275,7 @@ }, this);

ConfigOption* useBios = m_config->addOption("useBios"); useBios->connect([this](const QVariant& value) { - reloadConfig(); + m_controller->setUseBIOS(value.toBool()); }, this); ConfigOption* buffers = m_config->addOption("audioBuffers");