mirror of
https://github.com/simh/simh.git
synced 2026-01-29 05:01:25 +00:00
VIDEO: Reject attempts to take screen shots when no display is active
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user