From 09280ae00bf6e457aa4694dbcb3f8388f702f3b9 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Fri, 26 Dec 2025 19:20:21 -0500 Subject: Fix optimization flag for Shield (#3004) * Fix optimization flag for Shield * Minor debug work * Fix NULL asserts --- src/d/d_map_path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/d/d_map_path.cpp') diff --git a/src/d/d_map_path.cpp b/src/d/d_map_path.cpp index afba0654ff..d34b981e89 100644 --- a/src/d/d_map_path.cpp +++ b/src/d/d_map_path.cpp @@ -173,7 +173,7 @@ bool dMpath_HIO_file_base_c::readBinaryFile(const char* param_1) { if (file.open(JORFile::EFlags_READ, r26, NULL, NULL, NULL)) { s32 r28 = file.getFileSize(); char* buf = new char[r28]; - JUT_ASSERT(855, buf != 0); + JUT_ASSERT(855, buf != NULL); file.readData(buf, r28); copyReadBufToData(buf, r28); OSReport("write read success!::%6d\n", r28); -- cgit v1.2.3