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:
parent
6825288a94
commit
a074ebae8c
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user