commit e309ebf6e88b460a838a2229dd7ab55714ca80e9
parent 2aaf936573bdbc6a6708f56516dfcc9ff9d778d5
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Mon, 28 Jun 2021 06:46:04 +0100
Updated uxncli to match uxnemu
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/uxncli.c b/src/uxncli.c
@@ -113,7 +113,7 @@ start(Uxn *u)
if(!evaluxn(u, PAGE_PROGRAM))
return error("Reset", "Failed");
while(mempeek16(devconsole->dat, 0))
- while(read(0, &devconsole->dat[0x8], 1) > 0)
+ while(read(0, &devconsole->dat[0x2], 1) > 0)
evaluxn(u, mempeek16(devconsole->dat, 0));
return 1;
}