mirror of
https://github.com/zeldaret/ss
synced 2026-05-24 07:10:53 -04:00
Fix link error with d_lib.cpp & mark as matching
This commit is contained in:
@@ -135,7 +135,7 @@ _bss_init_info = .init:0x800066FC; // type:object size:0x20 scope:global data:4b
|
||||
@eti_80006BD8 = extabindex:0x80006BD8; // type:object size:0xC scope:local hidden
|
||||
@eti_80006BE4 = extabindex:0x80006BE4; // type:object size:0xC scope:local hidden
|
||||
_eti_init_info = extabindex:0x80006BF0; // type:object size:0x20 scope:global
|
||||
unknownStub__4dLibFv = .text:0x80006C20; // type:function size:0x4
|
||||
unknownStub = .text:0x80006C20; // type:function size:0x4
|
||||
strequals = .text:0x80006C30; // type:function size:0x90
|
||||
findSMA2 = .text:0x80006CC0; // type:function size:0x10
|
||||
findSMA3 = .text:0x80006CD0; // type:function size:0x10
|
||||
@@ -39716,7 +39716,7 @@ jumptable_805713B0 = .data:0x805713B0; // type:object size:0x1C scope:local
|
||||
jumptable_805713CC = .data:0x805713CC; // type:object size:0x1C scope:local
|
||||
@stringBase0 = .data:0x805713E8; // type:object size:0x30 scope:local data:string_table
|
||||
gTRKExceptionStatus = .data:0x80571418; // type:object size:0x10 scope:local data:4byte
|
||||
@811 = .sdata:0x80571440; // type:object size:0x8
|
||||
@813 = .sdata:0x80571440; // type:object size:0x8
|
||||
@813 = .sdata:0x80571448; // type:object size:0x8 data:string
|
||||
@5820 = .sdata:0x80571450; // type:object size:0x3 scope:local data:string
|
||||
@5822 = .sdata:0x80571454; // type:object size:0x4 scope:local data:string
|
||||
@@ -44980,7 +44980,7 @@ lbl_805779E0 = .sdata2:0x805779E0; // type:object size:0x4 align:4 data:float
|
||||
@808 = .sdata2:0x80579118; // type:object size:0x8 scope:local data:string
|
||||
@809 = .sdata2:0x80579120; // type:object size:0x8 scope:local data:string
|
||||
@810 = .sdata2:0x80579128; // type:object size:0x8 scope:local data:string
|
||||
@811 = .sdata2:0x80579130; // type:object size:0x8 scope:local data:string
|
||||
@813 = .sdata2:0x80579130; // type:object size:0x8 scope:local data:string
|
||||
@812 = .sdata2:0x80579138; // type:object size:0x8 scope:local data:string
|
||||
@813 = .sdata2:0x80579140; // type:object size:0x7 scope:local data:string
|
||||
@814 = .sdata2:0x80579148; // type:object size:0x7 scope:local data:string
|
||||
|
||||
+1
-1
@@ -410,7 +410,7 @@ config.libs = [
|
||||
"scratch_preset_id": 169,
|
||||
"progress_category": "game",
|
||||
"objects": [
|
||||
Object(NonMatching, "toBeSorted/d_lib.cpp"),
|
||||
Object(Matching, "toBeSorted/d_lib.cpp"),
|
||||
Object(NonMatching, "toBeSorted/unk_sorajima_list.cpp"),
|
||||
Object(Matching, "toBeSorted/mpls.cpp"),
|
||||
Object(NonMatching, "toBeSorted/mdl_base.cpp"),
|
||||
|
||||
@@ -1,11 +1,20 @@
|
||||
#ifndef D_LIB_H
|
||||
#define D_LIB_H
|
||||
|
||||
namespace dLib {
|
||||
#include "common.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern u32 lbl_80574FA0;
|
||||
extern u32 lbl_80574FA4;
|
||||
|
||||
void unknownStub();
|
||||
bool strequals(const char *str1, const char *str2);
|
||||
bool strequals(const char *lhs, const char *rhs);
|
||||
|
||||
}; // namespace dLib
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // D_LIB_H
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ static OSThread MAIN_THREAD;
|
||||
void main(int argc, char **argv) {
|
||||
u8 pStackBase[STACK_SIZE] __attribute__((aligned(32)));
|
||||
|
||||
dLib::unknownStub();
|
||||
unknownStub();
|
||||
dMain::g_InitialTime = OSGetTime();
|
||||
dSystem::fixHeaps();
|
||||
|
||||
|
||||
@@ -2,9 +2,12 @@
|
||||
|
||||
#include <cstring>
|
||||
|
||||
void dLib::unknownStub() {}
|
||||
u32 lbl_80574FA0;
|
||||
u32 lbl_80574FA4;
|
||||
|
||||
bool dLib::strequals(const char *lhs, const char *rhs) {
|
||||
void unknownStub() {}
|
||||
|
||||
bool strequals(const char *lhs, const char *rhs) {
|
||||
if (!rhs) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user