mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
ntsc-beta: Get lib .text segment matching excluding pointers
This commit is contained in:
1 parent
99ec60b22d
commit
5d3682ef17
49 files changed
+13086
-861
No files matched your search
@@ -5,8 +5,16 @@
|
||||
#define VERSION_PAL_FINAL 4
|
||||
#define VERSION_JPN_FINAL 5
|
||||
|
||||
#include "gamefiles.inc"
|
||||
#include "libfiles.inc"
|
||||
#if VERSION == VERSION_NTSC_BETA
|
||||
#include "gamefiles.ntsc-beta.inc"
|
||||
#include "libfiles.ntsc-beta.inc"
|
||||
#elif VERSION == VERSION_PAL_FINAL
|
||||
#include "gamefiles.pal-final.inc"
|
||||
#include "libfiles.pal-final.inc"
|
||||
#else
|
||||
#include "gamefiles.ntsc-final.inc"
|
||||
#include "libfiles.ntsc-final.inc"
|
||||
#endif
|
||||
|
||||
#define BEGIN_SEG(name) \
|
||||
_##name##SegmentStart = ADDR(.name); \
|
||||
@@ -225,7 +233,7 @@ SECTIONS
|
||||
__rompos = 0x02000000;
|
||||
__rampos = 0x70001000;
|
||||
|
||||
BEGIN_SEG(lib)
|
||||
BEGIN_SEG(lib) SUBALIGN(16)
|
||||
{
|
||||
LIBFILES(.text)
|
||||
LIBFILES(.rodata)
|
||||
|
||||
Reference in new issue
Block a user