mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 08:48:13 +00:00
DREAMWEB: Cleanup searchForFiles()
This commit is contained in:
parent
1b11f48a35
commit
2ca00bc3c6
@ -515,14 +515,15 @@ void DreamGenContext::signOn() {
|
||||
}
|
||||
|
||||
void DreamGenContext::searchForFiles() {
|
||||
bx = kTextstart;
|
||||
uint16 offset = kTextstart;
|
||||
byte curChar;
|
||||
|
||||
while (true) {
|
||||
al = es.byte(bx);
|
||||
bx++;
|
||||
if (al == '*')
|
||||
curChar = es.byte(offset);
|
||||
offset++;
|
||||
if (curChar == '*')
|
||||
return; // "endofdir"
|
||||
if (al == 34)
|
||||
if (curChar == 34)
|
||||
monPrint();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user