mirror of https://github.com/mgba-emu/mgba.git
Qt: Refresh rewind defaults
This commit is contained in:
parent
3a834d564d
commit
fff0e9b83c
|
@ -112,7 +112,7 @@ ConfigController::ConfigController(QObject* parent)
|
|||
m_opts.volume = 0x100;
|
||||
m_opts.logLevel = mLOG_WARN | mLOG_ERROR | mLOG_FATAL;
|
||||
m_opts.rewindEnable = false;
|
||||
m_opts.rewindBufferCapacity = 60;
|
||||
m_opts.rewindBufferCapacity = 300;
|
||||
m_opts.useBios = true;
|
||||
m_opts.suspendScreensaver = true;
|
||||
mCoreConfigLoad(&m_config);
|
||||
|
|
|
@ -1097,10 +1097,10 @@ void Window::setupMenu(QMenuBar* menubar) {
|
|||
m_controller->startRewinding();
|
||||
}, [this]() {
|
||||
m_controller->stopRewinding();
|
||||
}, QKeySequence("~"), tr("Rewind (held)"), "holdRewind");
|
||||
}, QKeySequence("`"), tr("Rewind (held)"), "holdRewind");
|
||||
|
||||
QAction* rewind = new QAction(tr("Re&wind"), emulationMenu);
|
||||
rewind->setShortcut(tr("`"));
|
||||
rewind->setShortcut(tr("~"));
|
||||
connect(rewind, SIGNAL(triggered()), m_controller, SLOT(rewind()));
|
||||
m_gameActions.append(rewind);
|
||||
m_nonMpActions.append(rewind);
|
||||
|
|
Loading…
Reference in New Issue