all repos — mgba @ 9f1b2e9d1dd3387741a995de88056c8c1dfd969a

mGBA Game Boy Advance Emulator

Core: Finish removing rewindSave option
Vicki Pfau vi@endrift.com
Thu, 20 Sep 2018 11:27:57 -0700
commit

9f1b2e9d1dd3387741a995de88056c8c1dfd969a

parent

51f9a76ab212514ba8035a85b60af4b963fabc11

3 files changed, 0 insertions(+), 4 deletions(-)

jump to
M include/mgba/core/config.hinclude/mgba/core/config.h

@@ -33,7 +33,6 @@ int logLevel;

int frameskip; bool rewindEnable; int rewindBufferCapacity; - bool rewindSave; float fpsTarget; size_t audioBuffers; unsigned sampleRate;
M src/core/config.csrc/core/config.c

@@ -331,7 +331,6 @@ _lookupIntValue(config, "logLevel", &opts->logLevel);

_lookupIntValue(config, "frameskip", &opts->frameskip); _lookupIntValue(config, "volume", &opts->volume); _lookupIntValue(config, "rewindBufferCapacity", &opts->rewindBufferCapacity); - _lookupIntValue(config, "rewindSave", &opts->rewindSave); _lookupFloatValue(config, "fpsTarget", &opts->fpsTarget); unsigned audioBuffers; if (_lookupUIntValue(config, "audioBuffers", &audioBuffers)) {

@@ -391,7 +390,6 @@ ConfigurationSetIntValue(&config->defaultsTable, 0, "logLevel", opts->logLevel);

ConfigurationSetIntValue(&config->defaultsTable, 0, "frameskip", opts->frameskip); ConfigurationSetIntValue(&config->defaultsTable, 0, "rewindEnable", opts->rewindEnable); ConfigurationSetIntValue(&config->defaultsTable, 0, "rewindBufferCapacity", opts->rewindBufferCapacity); - ConfigurationSetIntValue(&config->defaultsTable, 0, "rewindSave", opts->rewindSave); ConfigurationSetFloatValue(&config->defaultsTable, 0, "fpsTarget", opts->fpsTarget); ConfigurationSetUIntValue(&config->defaultsTable, 0, "audioBuffers", opts->audioBuffers); ConfigurationSetUIntValue(&config->defaultsTable, 0, "sampleRate", opts->sampleRate);
M src/platform/sdl/main.csrc/platform/sdl/main.c

@@ -57,7 +57,6 @@ struct mCoreOptions opts = {

.useBios = true, .rewindEnable = true, .rewindBufferCapacity = 600, - .rewindSave = true, .audioBuffers = 1024, .videoSync = false, .audioSync = true,