Updated uxncli to match uxnemu

This commit is contained in:
Andrew Alderwick 2021-06-28 06:46:04 +01:00
parent 2aaf936573
commit e309ebf6e8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}