Match OSReboot.c and some of TRK + port mstory3Dll (#541)

* Match OSReboot.c and match some of TRK

* Port mstory3Dll
This commit is contained in:
dbalatoni13 2025-01-19 21:54:38 +01:00 committed by GitHub
parent edacd76015
commit 6575f573f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 1438 additions and 1287 deletions

View file

@ -89,6 +89,7 @@ void DVDInit();
BOOL DVDClose(DVDFileInfo* f);
BOOL DVDSetAutoFatalMessaging(BOOL);
void DVDReset();
int DVDSetAutoInvalidation(int autoInval);
s32 DVDCancel(DVDCommandBlock* block);
BOOL DVDOpen(char* fileName, DVDFileInfo* fileInfo);
BOOL DVDFastOpen(s32 entrynum, DVDFileInfo* fileInfo);

View file

@ -45,6 +45,6 @@ typedef struct BI2Debug {
#define OS_DVD_MAGIC_NINTENDO 0xC2339F3D
#define OS_THREAD_STACK_MAGIC 0xDEADBABE
#define OS_BOOTROM_ADDR 0x81300000
#define OS_BOOTROM_ADDR ((void*)0x81300000)
#endif // _DOLPHIN_OSBOOTINFO

View file

@ -40,6 +40,9 @@ __OSExceptionHandler __OSGetExceptionHandler(__OSException exception);
OSTime __OSGetSystemTime();
OSTime __OSTimeToSystemTime(OSTime);
// OSReset.c
void __OSDoHotReset(s32);
// OSReboot
void __OSReboot(u32 resetCode, u32 bootDol);