adjust dol sightDL address based on version

This commit is contained in:
madeline
2026-04-06 23:20:58 -07:00
parent 1ec2357b7d
commit fd244d268c
+18 -1
View File
@@ -369,7 +369,24 @@ JKRHeap* daPy_anmHeap_c::setAnimeHeap() {
#if !PLATFORM_WII
#if TARGET_PC
#include "dusk/dvd_asset.hpp"
static const u8* l_sightDL_get() { static u8 buf[0x89]; static bool _ = (dusk::LoadDolAsset(buf, 0x803BA0C0, 0x89), true); return buf; }
static const u8* l_sightDL_get() {
static u8 buf[0x89];
static bool _ = (
dusk::LoadDolAsset(
buf,
#if VERSION_GCN_PAL
0x803BBDA0,
#elif VERSION_GCN_JPN
0x803B4220,
#elif VERSION_GCN_USA
0x803BA0C0,
#endif
0x89
),
true
);
return buf;
}
#define l_sightDL (l_sightDL_get())
#else
#include "assets/l_sightDL__d_a_player.h"