Merge origin/CTR-Netplay into integrate/game-codegen-hooks-into-rollback

Keep both psx_bss.h (BSS rings) and nd_intro_ot.h from CTR-Netplay.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alex Vanderveen
2026-08-08 22:53:34 -04:00
10 changed files with 922 additions and 34 deletions
+24
View File
@@ -0,0 +1,24 @@
/* nd_intro_ot.h — CTR Naughty Dog intro OT helpers (debug / accuracy shims). */
#ifndef PSXRECOMP_ND_INTRO_OT_H
#define PSXRECOMP_ND_INTRO_OT_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Last WoodEmit batch OT base (model+228). Prefer digit-rain tags. */
void psx_nd_note_wood_batch_ot(uint32_t base);
void psx_nd_note_wood_batch_ot_tagged(uint32_t base, uint32_t tag);
uint32_t psx_nd_wood_batch_ot(void);
/* Sibling-scene bump hint at s4+0xb4 (captured at NdIntroSiblingRtptEmit). */
void psx_nd_note_sibling_ot_hint(uint32_t base);
uint32_t psx_nd_sibling_ot_hint(void);
#ifdef __cplusplus
}
#endif
#endif