diff options
| author | robojumper <robojumper@gmail.com> | 2024-05-24 16:41:33 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2024-05-24 16:41:33 +0200 |
| commit | b2d728089e500e463d7596867ba11e34cf6586f0 (patch) | |
| tree | 918261d4590eed4b09ee63258dc59abeef8a82ed /src/egg/prim/eggAssert.cpp | |
| parent | d711118601dad11244eb8a2de79727ae9756cf9f (diff) | |
db_mapFile
Diffstat (limited to 'src/egg/prim/eggAssert.cpp')
| -rw-r--r-- | src/egg/prim/eggAssert.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/egg/prim/eggAssert.cpp b/src/egg/prim/eggAssert.cpp index dc9e44a3..bde46ca9 100644 --- a/src/egg/prim/eggAssert.cpp +++ b/src/egg/prim/eggAssert.cpp @@ -3,18 +3,11 @@ #include <egg/core/eggXfbManager.h> #include <egg/prim/eggAssert.h> #include <nw4r/db/db_directPrint.h> +#include <nw4r/db/db_mapFile.h> #include <rvl/OS.h> #include <rvl/VI.h> #include <MSL_C/string.h> - -namespace nw4r { -namespace db { -// TODO -extern s32 MapFile_QuerySymbol(void *arg, char *buf, u32 buf_size); -} // namespace db -} // namespace nw4r - namespace EGG { namespace Assert { @@ -62,7 +55,7 @@ bool sAssertOccurred; /* 80674c60 */ char buf[260]; /* 8049c100 */ const char *getMapSymbol(void *arg) { - u32 success = nw4r::db::MapFile_QuerySymbol(arg, buf, sizeof(buf)); + bool success = nw4r::db::MapFile_QuerySymbol((u32)arg, (u8*)buf, sizeof(buf)); return success ? buf : nullptr; } |
