MCPcopy Create free account
hub / github.com/doldecomp/mkdd / appendMapFile

Method appendMapFile

libs/JSystem/JUtility/JUTException.cpp:905–923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

903}
904
905void JUTException::appendMapFile(const char *path)
906{
907 if (!path)
908 {
909 return;
910 }
911
912 JSUListIterator<JUTExMapFile> iterator;
913 for (iterator = sMapFileList.getFirst(); iterator != sMapFileList.getEnd(); ++iterator)
914 {
915 if (strcmp(path, iterator->mFileName) == 0)
916 {
917 return;
918 }
919 }
920
921 JUTExMapFile *mapFile = new JUTExMapFile((char *)path);
922 sMapFileList.append(&mapFile->mLink);
923}
924
925bool JUTException::queryMapAddress(char *mapPath, u32 address, s32 section_id, u32 *out_addr, u32 *out_size, char *out_line, u32 line_length, bool print, bool begin_with_newline)
926{

Callers

nothing calls this directly

Calls 4

strcmpFunction · 0.85
getFirstMethod · 0.45
getEndMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected