Skip to content

Commit 14d7c07

Browse files
committed
Holy crap! Did I forget to add a break statement!? OOPS!
1 parent d9c2659 commit 14d7c07

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/coreLib/ScreenData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void ScreenData::readData(uint32_t* out)
4848
}
4949
else
5050
{
51-
DEBUG_PRINT("FAULT: failed to set screen data\n");
51+
DEBUG_PRINT("FAULT: failed to properly read screen data\n");
5252
}
5353
// Allow this to happen, even if locking failed
5454
memcpy(out, mScreenData, sizeof(mScreenData));

src/coreLib/peripherals/DreamcastStorage.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ int32_t DreamcastStorage::read(uint8_t blockNum,
9999
buffer8 += 4;
100100
}
101101
numRead = copyLen;
102+
break;
102103
}
103104
}
104105

0 commit comments

Comments
 (0)