From 4e68c5a24e78b0781e94d21938bfccff6a879051 Mon Sep 17 00:00:00 2001 From: Daniel Loffgren Date: Mon, 8 Feb 2016 09:54:35 +0000 Subject: [PATCH] Also updated the commented implementation of being able to query and separately set nonstop mode git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@86 64f78de7-aa59-e511-a0e8-0002a5492df0 --- apple1/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apple1/main.c b/apple1/main.c index a9ee560..714aade 100644 --- a/apple1/main.c +++ b/apple1/main.c @@ -197,9 +197,9 @@ int main(int argc, const char * argv[]) v6502_read(cpu->memory, 0x2B, NO));// MODE } else if (v6502_compareDebuggerCommand(command, commandLen, "nonstop")) { -// command = trimheadtospc(command, commandLen); +// char *trimmedCommand = trimheadtospc(command, commandLen); // -// if(command[0]) { +// if(trimmedCommand[0]) { printf("Nonstop mode %d -> %d\n", continuousMode, !continuousMode); continuousMode = !continuousMode; // }