From c528a96215784f79b371f7765945c610ac4c7d70 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 13 Oct 2022 22:17:23 +1000 Subject: [PATCH] RegTest: Disable fast boot and game settings --- scripts/run_regression_tests.py | 4 ++-- src/duckstation-regtest/regtest_host.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/run_regression_tests.py b/scripts/run_regression_tests.py index f9b8dbec3..ec7ec7341 100644 --- a/scripts/run_regression_tests.py +++ b/scripts/run_regression_tests.py @@ -58,8 +58,8 @@ if __name__ == "__main__": parser.add_argument("-runner", action="store", required=True, help="Path to DuckStation regression test runner") parser.add_argument("-gamedir", action="store", required=True, help="Directory containing game images") parser.add_argument("-destdir", action="store", required=True, help="Base directory to dump frames to") - parser.add_argument("-dumpinterval", action="store", type=int, required=True, help="Interval to dump frames at") - parser.add_argument("-frames", action="store", type=int, default=3600, help="Number of frames to run") + parser.add_argument("-dumpinterval", action="store", type=int, default=600, help="Interval to dump frames at") + parser.add_argument("-frames", action="store", type=int, default=36000, help="Number of frames to run") parser.add_argument("-parallel", action="store", type=int, default=1, help="Number of proceeses to run") args = parser.parse_args() diff --git a/src/duckstation-regtest/regtest_host.cpp b/src/duckstation-regtest/regtest_host.cpp index bea83f91a..c7df9f0d4 100644 --- a/src/duckstation-regtest/regtest_host.cpp +++ b/src/duckstation-regtest/regtest_host.cpp @@ -94,6 +94,8 @@ bool RegTestHost::InitializeConfig() si.SetStringValue("Audio", "Backend", Settings::GetAudioBackendName(AudioBackend::Null)); si.SetStringValue("Logging", "LogLevel", Settings::GetLogLevelName(LOGLEVEL_VERBOSE)); si.SetBoolValue("Logging", "LogToConsole", true); + si.SetBoolValue("Main", "ApplyGameSettings", false); // don't want game settings interfering + si.SetBoolValue("BIOS", "PatchFastBoot", true); // no point validating the bios intro.. // disable all sources for (u32 i = 0; i < static_cast(InputSourceType::Count); i++)