all repos — mgba @ fff0e9b83cbab7934ecaf0f0e6376677b9109495

mGBA Game Boy Advance Emulator

Qt: Refresh rewind defaults
Jeffrey Pfau jeffrey@endrift.com
Wed, 07 Sep 2016 11:06:26 -0700
commit

fff0e9b83cbab7934ecaf0f0e6376677b9109495

parent

3a834d564daeee9f3b1671efcef3b189e3d9aab5

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

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

@@ -112,7 +112,7 @@ m_opts.sampleRate = 44100;

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);
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -1097,10 +1097,10 @@ m_shortcutController->addFunctions(emulationMenu, [this]() {

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