jgadget debug improvements (#3000)

This commit is contained in:
TakaRikka
2025-12-27 14:24:27 -08:00
committed by GitHub
parent 5fcfa49f3b
commit 4a75dc3736
37 changed files with 1016 additions and 87 deletions
+3 -3
View File
@@ -35,9 +35,9 @@ char* JSUInputStream::read(char* str) {
}
s32 JSUInputStream::skip(s32 count) {
u8 buffer;
s32 skipCount = 0;
for (; skipCount < count; skipCount++) {
s32 skipCount;
for (skipCount = 0; skipCount < count; skipCount++) {
u8 buffer;
if (readData(&buffer, sizeof(buffer)) != sizeof(buffer)) {
setState(IOS_STATE_1);
break;