Browse code

Updated uxncli to match uxnemu

Andrew Alderwick authored on 28/06/2021 05:46:04
Showing 1 changed files
... ...
@@ -113,7 +113,7 @@ start(Uxn *u)
113 113
 	if(!evaluxn(u, PAGE_PROGRAM))
114 114
 		return error("Reset", "Failed");
115 115
 	while(mempeek16(devconsole->dat, 0))
116
-		while(read(0, &devconsole->dat[0x8], 1) > 0)
116
+		while(read(0, &devconsole->dat[0x2], 1) > 0)
117 117
 			evaluxn(u, mempeek16(devconsole->dat, 0));
118 118
 	return 1;
119 119
 }