Remove category from _assert_msg_ functions. We don't filter these by category anyway.

Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
This commit is contained in:
Henrik Rydgård
2020-07-19 20:33:25 +02:00
parent 31fada55e6
commit c5e0b799d9
99 changed files with 1007 additions and 1015 deletions
+3 -1
View File
@@ -535,7 +535,9 @@ size_t ISOFileSystem::ReadFile(u32 handle, u8 *pointer, s64 size, int &usec) {
u32 secNum = (u32)(positionOnIso / 2048);
u8 theSector[2048];
_dbg_assert_msg_(FILESYS, (middleSize & 2047) == 0, "Remaining size should be aligned");
if ((middleSize & 2047) != 0) {
ERROR_LOG(FILESYS, "Remaining size should be aligned");
}
const u8 *const start = pointer;
if (firstBlockSize > 0) {