mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-11-25 16:34:00 +00:00
indexing error in basic
This commit is contained in:
parent
75a43ee2e2
commit
de59d9ae29
@ -554,7 +554,7 @@ public class ApplesoftBasicProgram extends BasicProgram
|
||||
boolean inRemark = false; // can only go false -> true
|
||||
byte b;
|
||||
|
||||
while ((b = buffer[ptr++]) != 0)
|
||||
while (ptr < buffer.length && (b = buffer[ptr++]) != 0)
|
||||
{
|
||||
if (inRemark) // cannot terminate a REM
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user