Set default to GL to fix screenshot issues.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -9s

This commit is contained in:
Willem Cazander 2024-06-30 01:20:22 +02:00
parent d666e3e80e
commit f5554b818f
3 changed files with 6 additions and 2 deletions

View file

@ -62,6 +62,10 @@ When you want to see whats happening do a debug run;
time MB_OPENMSX_HEADLESS=off MB_OPENMSX_THROTTLE=on MB_OPENMSX_SPEED=100 make assert-all
real 2m37.379s
debug run with screenshot on exit; (Segfaults if using (old) SDL, or/and black screens without throttle)
time MB_OPENMSX_HEADLESS=off MB_OPENMSX_THROTTLE=on MB_FLIGHT_SCREEN=on make -s assert-all
real 1m14.043s
debug run with video recorder and merge to one video file;
time MB_OPENMSX_HEADLESS=off MB_FLIGHT_VIDEO=on make -s assert-all-video
real 0m7.136s

View file

@ -11,7 +11,7 @@ MB_OPENMSX_HDD_SIZE ?= 4m
MB_OPENMSX_SCALE_FACTOR ?= 3
MB_OPENMSX_THROTTLE ?= off
MB_OPENMSX_HEADLESS ?= on
MB_OPENMSX_RENDERER ?= SDL
MB_OPENMSX_RENDERER ?= SDLGL-PP
MB_OPENMSX_CTLCACHE ?= $(MB_CACHE)/msxbuild/omsxctl
define mb_openmsx_setup

View file

@ -32,7 +32,7 @@ proc save_flight_screenshot {{prefix_id 0}} {
} else {
set file_prefix "$save_flight_prefix$save_flight_seperator"
}
after time 1 "screenshot -prefix $file_prefix"
screenshot -prefix $file_prefix
return "Flight screenshot saved"
}