cleanup and try to give unk vars a name

(roughly based on DWARF)
sMapBufMaxSize -> guess
sMapBuf -> why is this split??
This commit is contained in:
elijah-thomas774
2024-05-24 18:10:55 -04:00
parent b2d728089e
commit 101f014078
5 changed files with 45 additions and 36 deletions
+5 -9
View File
@@ -1,16 +1,12 @@
#ifndef DB_ASSERT_H
#define DB_ASSERT_H
#ifndef NW4R_DB_ASSERT_H
#define NW4R_DB_ASSERT_H
#include <nw4r/db/db_console.h>
namespace nw4r {
namespace db {
namespace detail {
struct ConsoleHead {
};
}
typedef detail::ConsoleHead* ConsoleHandle;
typedef detail::ConsoleHead *ConsoleHandle;
ConsoleHandle Assertion_SetConsole(ConsoleHandle handle);
+14
View File
@@ -0,0 +1,14 @@
#ifndef NW4R_DB_CONSOLE_H
#define NW4R_DB_CONSOLE_H
namespace nw4r {
namespace db {
namespace detail {
struct ConsoleHead {};
} // namespace detail
} // namespace db
} // namespace nw4r
#endif
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef DB_DIRECT_PRINT_H
#define DB_DIRECT_PRINT_H
#ifndef NW4R_DB_DIRECT_PRINT_H
#define NW4R_DB_DIRECT_PRINT_H
#include <Runtime.PPCEABI.H/__va_arg.h>
#include <common.h>
+4 -4
View File
@@ -1,5 +1,5 @@
#ifndef DB_MAPFILE_H
#define DB_MAPFILE_H
#ifndef NW4R_DB_MAPFILE_H
#define NW4R_DB_MAPFILE_H
#include <rvl/OS.h>
@@ -13,9 +13,9 @@ typedef struct MapFile {
MapFile *next;
} MapFile;
typedef MapFile* MapFileHandle;
typedef MapFile *MapFileHandle;
MapFileHandle MapFile_RegistOnDvd(void*, const char*, const OSModuleInfo*);
MapFileHandle MapFile_RegistOnDvd(void *, const char *, const OSModuleInfo *);
void MapFile_Unregist(MapFileHandle);
void MapFile_UnregistAll();
bool MapFile_QuerySymbol(u32 address, u8 *strBuf, u32 strBufSize);