mirror of https://github.com/PCSX2/pcsx2.git
GSRunner: Default to window but surfaceless when scripted
This commit is contained in:
parent
9efdeae3ac
commit
ac02bcbe33
|
@ -285,7 +285,7 @@ void Host::ReleaseHostDisplay(bool clear_state)
|
|||
|
||||
HostDisplay::PresentResult Host::BeginPresentFrame(bool frame_skip)
|
||||
{
|
||||
if (s_loop_number == 0)
|
||||
if (s_loop_number == 0 && !s_output_prefix.empty())
|
||||
{
|
||||
// when we wrap around, don't race other files
|
||||
GSJoinSnapshotThreads();
|
||||
|
@ -680,7 +680,7 @@ int main(int argc, char* argv[])
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (s_use_window.value_or(false) && !GSRunner::CreatePlatformWindow())
|
||||
if (s_use_window.value_or(true) && !GSRunner::CreatePlatformWindow())
|
||||
{
|
||||
Console.Error("Failed to create window.");
|
||||
return EXIT_FAILURE;
|
||||
|
|
|
@ -46,6 +46,9 @@ def run_regression_test(runner, dumpdir, renderer, upscale, renderhacks, paralle
|
|||
if parallel > 1:
|
||||
args.append("-noshadercache")
|
||||
|
||||
# run surfaceless, we don't want tons of windows popping up
|
||||
args.append("-surfaceless");
|
||||
|
||||
# disable output console entirely
|
||||
environ = os.environ.copy()
|
||||
environ["PCSX2_NOCONSOLE"] = "1"
|
||||
|
|
Loading…
Reference in New Issue