Skip to content

Commit

Permalink
Match the rest of mcardGCN.c (#179)
Browse files Browse the repository at this point in the history
* Match mcard read/write functions

* Match mcard read/write asynch functions

* Match a few more

* Match remaining mcard functions

* Match data

* Fix merge
  • Loading branch information
cadmic authored Sep 19, 2024
1 parent 8d833dc commit a095e73
Show file tree
Hide file tree
Showing 4 changed files with 1,809 additions and 156 deletions.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def LinkedFor(*versions):
Object(Linked, "emulator/THPDraw.c", cflags=cflags_base),
Object(Linked, "emulator/THPRead.c"),
Object(Linked, "emulator/THPVideoDecode.c", cflags=cflags_base),
Object(LinkedFor("ce-j"), "emulator/mcardGCN.c", asm_processor=True),
Object(LinkedFor("ce-j"), "emulator/mcardGCN.c"),
Object(Linked, "emulator/codeGCN.c"),
Object(Linked, "emulator/soundGCN.c"),
Object(LinkedFor("ce-j"), "emulator/frame.c", asm_processor=True),
Expand Down
2 changes: 2 additions & 0 deletions include/emulator/simGCN.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ typedef enum SimulatorArgumentType {

extern bool gDVDResetToggle;
extern bool gbDisplayedError;
extern bool gButtonDownToggle;

extern void* gpFrame;
extern void* gpSound;
Expand Down Expand Up @@ -164,6 +165,7 @@ bool simulatorDetectController(s32 channel);
bool simulatorReadPak(s32 channel, u16 address, u8* data);
bool simulatorWritePak(s32 channel, u16 address, u8* data);
bool simulatorSetControllerMap(u32* mapData, s32 channel);
void simulatorReset(bool IPL, bool forceMenu);
void simulatorResetAndPlayMovie(void);
bool simulatorDrawErrorMessage(SimulatorMessage simulatorErrorMessage, bool drawBar, s32 percent);
bool simulatorDVDShowError(s32 nStatus, void*, s32, u32);
Expand Down
Loading

0 comments on commit a095e73

Please sign in to comment.