1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

VIDEO: Reject attempts to take screen shots when no display is active

This commit is contained in:
Mark Pizzolato 2025-10-10 17:48:22 -10:00
parent 6825288a94
commit a074ebae8c

View File

@ -2758,6 +2758,8 @@ t_stat vid_screenshot (const char *filename)
{
SDL_Event user_event;
if (!vid_active)
return sim_messagef (SCPE_UDIS , "No video display is active\n");
_screenshot_stat = -1;
_screenshot_filename = filename;