Qt: Enable ROM preloading by default
This commit is contained in:
parent
daf01b03d5
commit
6221cd2d06
1
CHANGES
1
CHANGES
@ -60,6 +60,7 @@ Misc:
|
|||||||
- Qt: Allow passing multiple games on command line for multiplayer (closes mgba.io/i/3061)
|
- Qt: Allow passing multiple games on command line for multiplayer (closes mgba.io/i/3061)
|
||||||
- Qt: Support building against Qt 6
|
- Qt: Support building against Qt 6
|
||||||
- Qt: Add shortcuts to increment fast forward speed (mgba.io/i/2903)
|
- Qt: Add shortcuts to increment fast forward speed (mgba.io/i/2903)
|
||||||
|
- Qt: Enable ROM preloading by default
|
||||||
- Res: Port hq2x and OmniScale shaders from SameBoy
|
- Res: Port hq2x and OmniScale shaders from SameBoy
|
||||||
- Res: Port NSO-gba-colors shader (closes mgba.io/i/2834)
|
- Res: Port NSO-gba-colors shader (closes mgba.io/i/2834)
|
||||||
- Res: Update gba-colors shader (closes mgba.io/i/2976)
|
- Res: Update gba-colors shader (closes mgba.io/i/2976)
|
||||||
|
@ -149,6 +149,7 @@ ConfigController::ConfigController(QObject* parent)
|
|||||||
mCoreConfigSetDefaultIntValue(&m_config, "sgb.borders", 1);
|
mCoreConfigSetDefaultIntValue(&m_config, "sgb.borders", 1);
|
||||||
mCoreConfigSetDefaultIntValue(&m_config, "gb.colors", GB_COLORS_CGB);
|
mCoreConfigSetDefaultIntValue(&m_config, "gb.colors", GB_COLORS_CGB);
|
||||||
#endif
|
#endif
|
||||||
|
mCoreConfigSetDefaultIntValue(&m_config, "preload", true);
|
||||||
mCoreConfigMap(&m_config, &m_opts);
|
mCoreConfigMap(&m_config, &m_opts);
|
||||||
|
|
||||||
mSubParserGraphicsInit(&m_subparsers[0], &m_graphicsOpts);
|
mSubParserGraphicsInit(&m_subparsers[0], &m_graphicsOpts);
|
||||||
|
@ -305,7 +305,7 @@ void CoreController::loadConfig(ConfigController* config) {
|
|||||||
m_fastForwardMute = config->getOption("fastForwardMute", -1).toInt();
|
m_fastForwardMute = config->getOption("fastForwardMute", -1).toInt();
|
||||||
mCoreConfigCopyValue(&m_threadContext.core->config, config->config(), "volume");
|
mCoreConfigCopyValue(&m_threadContext.core->config, config->config(), "volume");
|
||||||
mCoreConfigCopyValue(&m_threadContext.core->config, config->config(), "mute");
|
mCoreConfigCopyValue(&m_threadContext.core->config, config->config(), "mute");
|
||||||
m_preload = config->getOption("preload").toInt();
|
m_preload = config->getOption("preload", true).toInt();
|
||||||
|
|
||||||
QSize sizeBefore = screenDimensions();
|
QSize sizeBefore = screenDimensions();
|
||||||
m_activeBuffer.resize(256 * 224 * sizeof(mColor));
|
m_activeBuffer.resize(256 * 224 * sizeof(mColor));
|
||||||
|
@ -263,7 +263,7 @@ private:
|
|||||||
QString m_savePath;
|
QString m_savePath;
|
||||||
|
|
||||||
bool m_patched = false;
|
bool m_patched = false;
|
||||||
bool m_preload = false;
|
bool m_preload = true;
|
||||||
bool m_saveBlocked = false;
|
bool m_saveBlocked = false;
|
||||||
|
|
||||||
uint32_t m_crc32;
|
uint32_t m_crc32;
|
||||||
|
@ -36,7 +36,7 @@ signals:
|
|||||||
private:
|
private:
|
||||||
const mCoreConfig* m_config = nullptr;
|
const mCoreConfig* m_config = nullptr;
|
||||||
MultiplayerController* m_multiplayer = nullptr;
|
MultiplayerController* m_multiplayer = nullptr;
|
||||||
bool m_preload = false;
|
bool m_preload = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -747,7 +747,7 @@ void SettingsView::reloadConfig() {
|
|||||||
loadSetting("patchPath", m_ui.patchPath);
|
loadSetting("patchPath", m_ui.patchPath);
|
||||||
loadSetting("cheatsPath", m_ui.cheatsPath);
|
loadSetting("cheatsPath", m_ui.cheatsPath);
|
||||||
loadSetting("showLibrary", m_ui.showLibrary);
|
loadSetting("showLibrary", m_ui.showLibrary);
|
||||||
loadSetting("preload", m_ui.preload);
|
loadSetting("preload", m_ui.preload, true);
|
||||||
loadSetting("showFps", m_ui.showFps, true);
|
loadSetting("showFps", m_ui.showFps, true);
|
||||||
loadSetting("cheatAutoload", m_ui.cheatAutoload, true);
|
loadSetting("cheatAutoload", m_ui.cheatAutoload, true);
|
||||||
loadSetting("cheatAutosave", m_ui.cheatAutosave, true);
|
loadSetting("cheatAutosave", m_ui.cheatAutosave, true);
|
||||||
|
@ -1263,6 +1263,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Preload entire ROM into memory</string>
|
<string>Preload entire ROM into memory</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="10" column="1">
|
<item row="10" column="1">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user