Qt: Refresh rewind defaults

This commit is contained in:
Jeffrey Pfau 2016-09-07 11:06:26 -07:00
parent 3a834d564d
commit fff0e9b83c
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);