diff options
| author | elijah-thomas774 <elijahthomas774@gmail.com> | 2025-09-16 22:26:16 -0400 |
|---|---|---|
| committer | elijah-thomas774 <elijahthomas774@gmail.com> | 2025-09-16 22:32:07 -0400 |
| commit | e3b5103cbe6bca291e05d0f0e84340b81f088c37 (patch) | |
| tree | 06c25c4fb0fbf2e9a10c2bb59082caf4226074fa /src/nw4r | |
| parent | 0a2b38da2b07cc983fbc13cdbadf6d6345ad5d89 (diff) | |
remove address comments
Diffstat (limited to 'src/nw4r')
| -rw-r--r-- | src/nw4r/db/db_exception.cpp | 5 | ||||
| -rw-r--r-- | src/nw4r/db/db_mapFile.cpp | 10 | ||||
| -rw-r--r-- | src/nw4r/lyt/lyt_pane.cpp | 2 | ||||
| -rw-r--r-- | src/nw4r/ut/ut_LinkList.cpp | 5 | ||||
| -rw-r--r-- | src/nw4r/ut/ut_binaryFileFormat.cpp | 1 |
5 files changed, 4 insertions, 19 deletions
diff --git a/src/nw4r/db/db_exception.cpp b/src/nw4r/db/db_exception.cpp index 69f1d567..d9e61dd0 100644 --- a/src/nw4r/db/db_exception.cpp +++ b/src/nw4r/db/db_exception.cpp @@ -2,11 +2,11 @@ #include "nw4r/db/db_directPrint.h" #include "nw4r/db/db_mapFile.h" -#include "rvl/GX.h" // IWYU pragma: export -#include "rvl/VI.h" // IWYU pragma: export #include "rvl/OS/OSError.h" #include "string.h" +#include "rvl/GX.h" // IWYU pragma: export +#include "rvl/VI.h" // IWYU pragma: export namespace nw4r { namespace db { @@ -383,7 +383,6 @@ void ShowSRR0Map_(const OSContext *ctx) { } } -// 804ca0e4 extern "C" int __fpclassifyf(float val); static void ShowFloatSub_(s32 reg, f32 val); diff --git a/src/nw4r/db/db_mapFile.cpp b/src/nw4r/db/db_mapFile.cpp index 2e3c2f41..f21b4e7f 100644 --- a/src/nw4r/db/db_mapFile.cpp +++ b/src/nw4r/db/db_mapFile.cpp @@ -1,9 +1,9 @@ #include "nw4r/db/db_mapFile.h" -#include "rvl/DVD.h" // IWYU pragma: export -#include "rvl/OS.h" // IWYU pragma: export #include "stdio.h" +#include "rvl/DVD.h" // IWYU pragma: export +#include "rvl/OS.h" // IWYU pragma: export namespace nw4r { namespace db { @@ -34,7 +34,6 @@ static void MapFile_Append_(MapFile *file) { } } -/** 80436a50 */ MapFileHandle MapFile_RegistOnDvd(void *buf, const char *path, const OSModuleInfo *info) { MapFile *file = (MapFile *)buf; file->mapBuf = nullptr; @@ -46,7 +45,6 @@ MapFileHandle MapFile_RegistOnDvd(void *buf, const char *path, const OSModuleInf return file; } -/** 80436ae0 */ void MapFile_Unregist(MapFileHandle file) { if (file == sMapFileList) { sMapFileList = sMapFileList->next; @@ -62,17 +60,14 @@ void MapFile_Unregist(MapFileHandle file) { } } -/** 80436b30 */ void MapFile_UnregistAll() { sMapFileList = nullptr; } -/** 80436b40 */ static u8 GetCharOnMem_(const u8 *arg) { return *arg; } -/** 80436b50 */ static u8 GetCharOnDvd_(const u8 *buf) { s32 address = (u32)buf & 0x7fffffff; s32 offset = address - sMapBufOffset; @@ -264,7 +259,6 @@ bool QuerySymbolToMapFile_(u8 *buf, const OSModuleInfo *moduleInfo, u32 address, } // No idea, doesn't appear in the DWARF -/** 804370d0 */ bool UnkFunction_(const OSModuleInfo *moduleInfo, u32 address, u8 *strBuf, u32 strBufSize) { if (moduleInfo == nullptr) { if (address < (u32)_stack_end) { diff --git a/src/nw4r/lyt/lyt_pane.cpp b/src/nw4r/lyt/lyt_pane.cpp index 96761454..91888914 100644 --- a/src/nw4r/lyt/lyt_pane.cpp +++ b/src/nw4r/lyt/lyt_pane.cpp @@ -8,7 +8,6 @@ #include "nw4r/ut/ut_RuntimeTypeInfo.h" #include "nw4r/ut/ut_list.h" - // ReverseYAxis__22@unnamed@lyt_pane_cpp@FPQ34nw4r4math5MTX34 namespace nw4r { @@ -47,7 +46,6 @@ Pane::Pane() : mChildList(), mAnimList(), mSize() { // __dt__Q34nw4r2ut28LinkList<Q34nw4r3lyt4Pane,4>Fv -// 80486a70 // __ct__Q34nw4r3lyt4PaneFPCQ44nw4r3lyt3res4Pane Pane::Pane(const res::Pane *pBlock) : mChildList(), mAnimList(), mSize() { this->mpParent = nullptr; diff --git a/src/nw4r/ut/ut_LinkList.cpp b/src/nw4r/ut/ut_LinkList.cpp index 687243a6..5df5be9f 100644 --- a/src/nw4r/ut/ut_LinkList.cpp +++ b/src/nw4r/ut/ut_LinkList.cpp @@ -4,23 +4,19 @@ namespace nw4r { namespace ut { namespace detail { -/* 8042a850 */ LinkListImpl::~LinkListImpl() { Clear(); } -/* 8042a8e0 */ LinkListImpl::Iterator LinkListImpl::Erase(LinkListImpl::Iterator it) { Iterator copy(it); return Erase(it, ++copy); } -/* 8042a930 */ void LinkListImpl::Clear() { Erase(GetBeginIter(), GetEndIter()); } -/* 8042a980 */ LinkListImpl::Iterator LinkListImpl::Insert(Iterator it, LinkListNode *p) { LinkListNode *next = it.mNode; LinkListNode *prev = next->mPrev; @@ -37,7 +33,6 @@ LinkListImpl::Iterator LinkListImpl::Insert(Iterator it, LinkListNode *p) { return Iterator(p); } -/* 8042a9b0 */ LinkListImpl::Iterator LinkListImpl::Erase(LinkListNode *p) { LinkListNode *next = p->mNext; LinkListNode *prev = p->mPrev; diff --git a/src/nw4r/ut/ut_binaryFileFormat.cpp b/src/nw4r/ut/ut_binaryFileFormat.cpp index 9b5f9181..c27c2867 100644 --- a/src/nw4r/ut/ut_binaryFileFormat.cpp +++ b/src/nw4r/ut/ut_binaryFileFormat.cpp @@ -3,7 +3,6 @@ namespace nw4r { namespace ut { -/* 8042a9e0 */ bool IsValidBinaryFile(const BinaryFileHeader *header, u32 magic, u16 version, u16 numBlocks) { if (header->signature != magic) { return false; |
