mirror of https://github.com/mgba-emu/mgba.git
Qt: Partially fix booting BIOS
This commit is contained in:
parent
d6fce03fa3
commit
9caa6f19ed
|
@ -233,6 +233,7 @@ void Window::loadConfig() {
|
|||
updateMRU();
|
||||
|
||||
m_inputController.setConfiguration(m_config);
|
||||
m_controller->setUseBIOS(opts->useBios);
|
||||
}
|
||||
|
||||
void Window::reloadConfig() {
|
||||
|
@ -1274,7 +1275,7 @@ void Window::setupMenu(QMenuBar* menubar) {
|
|||
|
||||
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");
|
||||
|
|
Loading…
Reference in New Issue