Update dsd to v0.12.0; dsprot OK (#135)

* `Actor::mType` field

* Remove fake symbol `data_027e0254`

* `dsd format`

* eur: Enable dsprot decomp

* jp: Enable dsprot decomp

* dsprot OK

* `dsd format`

* Use new `weak` attribute

* Add relocations for exception table link-time constants

* Add exception table symbols

* Bump dsd to v0.12.0

* `#define FALSE 1` ???
Why did I make it 1?

* Truncate `data_ov001_020c27a8`
That data belongs to dsprot
This commit is contained in:
Aetias
2026-08-15 01:07:14 +02:00
committed by GitHub
parent ce24ddfc4e
commit 521100caed
104 changed files with 4547 additions and 2014 deletions
@@ -20,8 +20,7 @@ extern "C" void *func_ov000_02066294();
static const s16 data_ov001_020c27a8[] = {
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E,
0x000F, 0x0010, 0x0011, 0x0012, 0x0014, 0x0015, 0x0018, 0x001C, 0x0019, 0x001A, 0x001D, 0x001E, 0x001F,
0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, 0x0017, 0x0028, 0x003C, 0x0000, 0x0114,
0xEBAA, 0x4EB7, 0x4006, 0x3696, 0x5F01, 0x1F83, 0xE521, 0x335B, 0xE7EF, 0x197C, 0xE84B,
0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, 0x0017, 0x0028, 0x003C, 0x0000,
};
static const s16 data_ov001_020c276c[] = {
@@ -3,8 +3,8 @@
#include "Unknown/UnkStruct_027e09a4.hpp"
#include "Unknown/UnkStruct_027e0cec.hpp"
#include <nitro/dc.h>
#include <nitro/mi.h>
#include <nitro/os.h>
extern "C" void *func_02001308(void *, size_t, u32);
extern "C" UnkStruct_027e0cec_18_04 *func_ov000_02054690(void *, unk32, unk32, unk32, unk32, unk32);
-1
View File
@@ -10,7 +10,6 @@
#include "Unknown/UnkStruct_ov000_020b4ec4.hpp"
#include "Unknown/UnkStruct_ov000_020b50c0.hpp"
#include <nitro/dc.h>
#include <nitro/gx.h>
#include <nitro/os.h>
#include <nitro/reg.h>
+1 -1
View File
@@ -4,8 +4,8 @@
#include "Unknown/UnkStruct_0204af1c.hpp"
#include "global.h"
#include <nitro/dc.h>
#include <nitro/g2.h>
#include <nitro/os.h>
extern "C" {
void func_0200a7b0(unk32 param1, void *param2, void *param3, void *param4, unk32 param5, unk32 param6, unk32 param7,
@@ -27,8 +27,8 @@
#include "Unknown/UnkStruct_ov031_02118fa4.hpp"
#include "versions.h"
#include <nitro/dc.h>
#include <nitro/g2.h>
#include <nitro/os.h>
extern "C" {
void func_02019b3c();
@@ -7,8 +7,8 @@
#include "Unknown/UnkStruct_ov017_020c3f70.hpp"
#include <nitro/mi.h>
#include <nitro/dc.h>
#include <nitro/gx.h>
#include <nitro/os.h>
extern "C" {
void func_ov000_0205a950(u8 bgType, bool isTopScreen, bool);
@@ -397,7 +397,7 @@ bool AdventureModeManager_1B8_Base::func_ov024_020d0df8(unk32 param1, unk32 para
}
void AdventureModeManager_1B8_Base::func_ov024_020d0e64(void *ptr, u32 size) {
DC_func_0004(ptr, size * 2);
DC_FlushRange(ptr, size * 2);
GXS_BeginLoadBGExtPltt();
GXS_LoadBGExtPltt(ptr, 0x4000, size * 2);
GXS_EndLoadBGExtPltt();
@@ -2,7 +2,7 @@
#include "Unknown/UnkStruct_027e0d08.hpp"
#include "Unknown/UnkStruct_ov000_020b50c0.hpp"
#include <nitro/dc.h>
#include <nitro/os.h>
#include <nitro/snd.h>
extern "C" BOOL func_0200169c(void *, int, int, int, int, void *, int);
@@ -193,8 +193,8 @@ void UnkStruct_027e0d08::func_ov024_020d5fe4(s16 *param1, s16 *param2, u32 param
this->mUnk_14 -= 0x1000;
}
DC_func_0004(param1, param3);
DC_func_0004(param2, param3);
DC_FlushRange(param1, param3);
DC_FlushRange(param2, param3);
}
DECL_INSTANCE(UnkStruct_027e0d08, data_027e0d08);