jpn-final: Introduce support for gcc
This commit is contained in:
parent
637cc2d823
commit
259fab6a6d
1
Makefile
1
Makefile
|
@ -461,6 +461,7 @@ else ifeq ($(COMPILER), gcc)
|
|||
-fno-merge-constants \
|
||||
-fno-strict-aliasing \
|
||||
-fno-zero-initialized-in-bss \
|
||||
-funsigned-char \
|
||||
-fwrapv \
|
||||
-Wall \
|
||||
-Werror \
|
||||
|
|
|
@ -10,7 +10,7 @@ To build the project, you must already have a Perfect Dark ROM. The project can
|
|||
|
||||
See the [Perfect Dark Decompilation Status Page](https://ryandwyer.gitlab.io/pdstatus/).
|
||||
|
||||
With the exception of jpn-final, all other versions are fully decompiled but a small handful of functions are not yet byte-matching even though they are functionally the same. The status page doesn't show these as 100% because it counts matching functions only.
|
||||
All versions of the game are fully decompiled but a small handful of functions are not yet byte-matching even though they are functionally the same. The status page doesn't show these as 100% because it counts matching functions only.
|
||||
|
||||
## Installation Requirements
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "game/utils.h"
|
||||
#include "bss.h"
|
||||
#include "lib/dma.h"
|
||||
#include "lib/main.h"
|
||||
#include "data.h"
|
||||
#include "types.h"
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "game/tex.h"
|
||||
#include "game/inv.h"
|
||||
#include "game/playermgr.h"
|
||||
#include "game/game_006900.h"
|
||||
#include "game/gfxmemory.h"
|
||||
#include "game/credits.h"
|
||||
#include "game/bondview.h"
|
||||
|
|
|
@ -20,5 +20,6 @@ void langClearBank(s32 bank);
|
|||
char *langGet(s32 textid);
|
||||
void langReload(void);
|
||||
void langSetEuropean(u32 arg0);
|
||||
void langSetJpnEnabled(bool enable);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
#include <rcp.h>
|
||||
#include "controller.h"
|
||||
#include "siint.h"
|
||||
#include "constants.h"
|
||||
|
||||
OSPifRam __osEepPifRam;
|
||||
ALIGNED16 OSPifRam __osEepPifRam;
|
||||
|
||||
#if VERSION >= VERSION_JPN_FINAL
|
||||
u32 var8009d010pf[4];
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#include <os_internal.h>
|
||||
#include "controller.h"
|
||||
#include "siint.h"
|
||||
#include "constants.h"
|
||||
|
||||
OSPifRam osPifBuffers[MAXCONTROLLERS];
|
||||
ALIGNED16 OSPifRam osPifBuffers[MAXCONTROLLERS];
|
||||
|
||||
s32 __osMotorAccess(OSPfs *pfs, s32 vibrate)
|
||||
{
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
#include <os_internal.h>
|
||||
#include "controller.h"
|
||||
#include "siint.h"
|
||||
#include "constants.h"
|
||||
|
||||
OSPifRam __osPfsPifRam;
|
||||
ALIGNED16 OSPifRam __osPfsPifRam;
|
||||
|
||||
void __osPfsRequestData(u8 cmd);
|
||||
void __osPfsGetInitData(u8 *pattern, OSContStatus *data);
|
||||
|
|
Loading…
Reference in New Issue