summaryrefslogtreecommitdiff
path: root/src/d/d_map_path.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-12-26 19:20:21 -0500
committerGitHub <noreply@github.com>2025-12-26 16:20:21 -0800
commit09280ae00bf6e457aa4694dbcb3f8388f702f3b9 (patch)
tree05a1146271664c2d81756eaa162f11b4823ae1d0 /src/d/d_map_path.cpp
parent4ebf9fac9f21ffb7a0c9f33317001e83e82a39ac (diff)
Fix optimization flag for Shield (#3004)
* Fix optimization flag for Shield * Minor debug work * Fix NULL asserts
Diffstat (limited to 'src/d/d_map_path.cpp')
-rw-r--r--src/d/d_map_path.cpp2
1 files changed, 1 insertions, 1 deletions
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);