mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 15:27:46 +00:00
SCP, VIDEO: Properly reject SCREENSHOT command when no devices use sim_video.
This commit is contained in:
parent
78399f10cb
commit
23e552e9fc
5
scp.c
5
scp.c
@ -2605,7 +2605,12 @@ t_stat screenshot_cmd (int32 flag, char *cptr)
|
||||
{
|
||||
if ((cptr == NULL) || (strlen (cptr) == 0))
|
||||
return SCPE_ARG;
|
||||
#if defined (USE_SIM_VIDEO)
|
||||
return vid_screenshot (cptr);
|
||||
#else
|
||||
sim_printf ("No video device\n");
|
||||
return SCPE_UNK|SCPE_NOMESSAGE;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Echo command */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user