RegTest: Disable fast boot and game settings

This commit is contained in:
Connor McLaughlin 2022-10-13 22:17:23 +10:00
parent c9d13c028e
commit c528a96215
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -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<u32>(InputSourceType::Count); i++)