mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-08 23:30:43 +00:00
Debugger: videoinfo cmd: return feedback on success
This commit is contained in:
parent
604aff4bbb
commit
f9a1ef04f7
@ -6814,7 +6814,7 @@ Update_t CmdVideoScannerInfo(int nArgs)
|
||||
{
|
||||
if (nArgs != 1)
|
||||
{
|
||||
Help_Arg_1(CMD_VIDEO_SCANNER_INFO);
|
||||
return Help_Arg_1(CMD_VIDEO_SCANNER_INFO);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -6827,9 +6827,11 @@ Update_t CmdVideoScannerInfo(int nArgs)
|
||||
else if (strcmp(g_aArgs[1].sArg, "apple") == 0)
|
||||
g_videoScannerDisplayInfo.isHorzReal = false;
|
||||
else
|
||||
Help_Arg_1(CMD_VIDEO_SCANNER_INFO);
|
||||
return Help_Arg_1(CMD_VIDEO_SCANNER_INFO);
|
||||
}
|
||||
|
||||
TCHAR sText[CONSOLE_WIDTH];
|
||||
ConsoleBufferPushFormat(sText, "Video-scanner display updated: %s", g_aArgs[1].sArg);
|
||||
ConsoleBufferToDisplay();
|
||||
|
||||
return UPDATE_ALL;
|
||||
|
@ -1407,8 +1407,8 @@ Update_t CmdHelpSpecific (int nArgs)
|
||||
ConsoleBufferPush(" <dec|hex> changes output to dec/hex");
|
||||
ConsoleBufferPush(" <real|apple> alters horz value to hbl-l,visible,hbl-r or hbl-r+l,visible");
|
||||
{
|
||||
char sText[CONSOLE_WIDTH];
|
||||
ConsolePrintFormat(sText, " %sRed%s=invisible (hbl or vbl active) / %sGreen%s=visible"
|
||||
char sText2[CONSOLE_WIDTH];
|
||||
ConsolePrintFormat(sText2, " %sRed%s=invisible (hbl or vbl active) / %sGreen%s=visible"
|
||||
,CHC_KEY , CHC_DEFAULT // red
|
||||
,CHC_COMMAND, CHC_DEFAULT // green
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user