SCP, VIDEO: Properly reject SCREENSHOT command when no devices use sim_video.
This commit is contained in:
parent
78399f10cb
commit
23e552e9fc
1 changed files with 5 additions and 0 deletions
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…
Add table
Reference in a new issue