From af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8 Mon Sep 17 00:00:00 2001 From: bigbossbro08 Date: Sun, 10 May 2020 19:54:37 +0600 Subject: defined out asserts. --- src/core/CdStream.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/CdStream.cpp') diff --git a/src/core/CdStream.cpp b/src/core/CdStream.cpp index ea79fb9a..3b9eaac5 100644 --- a/src/core/CdStream.cpp +++ b/src/core/CdStream.cpp @@ -22,7 +22,10 @@ struct CdReadInfo HANDLE hFile; OVERLAPPED Overlapped; }; + +#ifdef CHECK_STRUCT_SIZES VALIDATE_SIZE(CdReadInfo, 0x30); +#endif char gCdImageNames[MAX_CDIMAGES+1][64]; int32 gNumImages; -- cgit v1.2.3 From c798e1bacdaabaf140ff3904948fd7cec46c09bb Mon Sep 17 00:00:00 2001 From: bigbossbro08 Date: Sun, 10 May 2020 21:49:33 +0600 Subject: Fixed typos and made all assert functions optional --- src/core/CdStream.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core/CdStream.cpp') diff --git a/src/core/CdStream.cpp b/src/core/CdStream.cpp index 3b9eaac5..666041e1 100644 --- a/src/core/CdStream.cpp +++ b/src/core/CdStream.cpp @@ -23,9 +23,7 @@ struct CdReadInfo OVERLAPPED Overlapped; }; -#ifdef CHECK_STRUCT_SIZES VALIDATE_SIZE(CdReadInfo, 0x30); -#endif char gCdImageNames[MAX_CDIMAGES+1][64]; int32 gNumImages; -- cgit v1.2.3