NTSC-U and NTSC-J support (#326)

* add ntsc-u and ntsc-j support

Co-authored-by: DarthMDev <mgracer48@yahoo.com>
Co-authored-by: rooklz <rookieb@muzo-works.com>

* hash inc files and require project for shards

* port remaining stale rr us hooks

* drop map report generation

* drop one-off region porters

---------

Co-authored-by: DarthMDev <mgracer48@yahoo.com>
Co-authored-by: rooklz <rookieb@muzo-works.com>
This commit is contained in:
patchzyy
2026-10-21 17:37:44 +02:00
committed by GitHub
parent ad95c5c7da
commit e9f1fdd77c
95 changed files with 64733 additions and 646 deletions
+12 -12
View File
@@ -24,29 +24,29 @@ uint32_t g_lastEggWidth169 = 0;
// EGG::Screen's static canvas records (PAL). See gx_dynamic_aspect.h for the
// record layout and the anamorphic presentation model.
constexpr uint32_t kEggScreenRecord43 = 0x802A3EE8u;
constexpr uint32_t kEggScreenRecord169 = 0x802A3EF4u;
constexpr uint32_t kEggActiveScreenPtr = 0x80386F14u;
const uint32_t kEggScreenRecord43 = MKW_GADDR(802A3EE8);
const uint32_t kEggScreenRecord169 = MKW_GADDR(802A3EF4);
const uint32_t kEggActiveScreenPtr = MKW_GADDR(80386F14);
constexpr uint32_t kEggScreenProjScaleX = 0x80386F20u;
constexpr uint32_t kEggScreenProjScaleY = 0x80386F24u;
const uint32_t kEggScreenProjScaleX = MKW_GADDR(80386F20);
const uint32_t kEggScreenProjScaleY = MKW_GADDR(80386F24);
constexpr uint32_t kEggScreenAspectHandler = 0x8023E53Cu;
const uint32_t kEggScreenAspectHandler = MKW_GADDR(8023E53C);
constexpr uint32_t kMkwUpdateAllScreens = 0x805653D0u;
constexpr uint32_t kMkwGfxDrawList = 0x809C1830u;
constexpr uint32_t kSystemManagerInstance = 0x80386000u;
const uint32_t kMkwUpdateAllScreens = MKW_GADDR(805653D0);
const uint32_t kMkwGfxDrawList = MKW_GADDR(809C1830);
const uint32_t kSystemManagerInstance = MKW_GADDR(80386000);
// The draw list is an nw4r::ut::List: +0x00 head, +0x04 tail, +0x08 u16 count,
// +0x0A u16 link offset, with next = *(node + linkOffset + 4) (List_GetNext,
// 0x800AF180).
constexpr uint32_t kMkwGfxDrawListLinkOffset = 0x0Au;
constexpr uint32_t kMkwGfxOffscreenList = 0x809C183Cu;
const uint32_t kMkwGfxOffscreenList = MKW_GADDR(809C183C);
constexpr uint32_t kMkwGfxOffscreenNodeScreenSlot = 0x10u;
constexpr uint32_t kEggScreenVTableOffset = 0x38u;
constexpr uint32_t kEggScreenVTable = 0x802A3F0Cu;
constexpr uint32_t kMkwScreenVTable = 0x808B4C20u;
const uint32_t kEggScreenVTable = MKW_GADDR(802A3F0C);
const uint32_t kMkwScreenVTable = MKW_GADDR(808B4C20);
constexpr uint32_t kEggScreenFlagsOffset = 0x34u;
constexpr uint16_t kEggScreenFlagFramebufferCanvas = 0x0008u;
constexpr uint16_t kEggScreenFlagKeepFrustumScale = 0x0040u;