diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-02 15:48:16 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-02 15:48:16 -0400 |
commit | 8ebe60d2452889cd9699dfc742fe45ab38e2b0fd (patch) | |
tree | 634e10488e04ad3daf3c672e2eac3fb10e6b7025 /src/Dolphin/dvd | |
parent | ffa984539251676304b1d2365f1e5643a89ddf6c (diff) |
sdk: Add the rest of Dolphin SDK to object file list
Diffstat (limited to 'src/Dolphin/dvd')
-rw-r--r-- | src/Dolphin/dvd/dvd.c | 8 | ||||
-rw-r--r-- | src/Dolphin/dvd/dvdlow.c | 41 |
2 files changed, 46 insertions, 3 deletions
diff --git a/src/Dolphin/dvd/dvd.c b/src/Dolphin/dvd/dvd.c index 65c67f6..176ee49 100644 --- a/src/Dolphin/dvd/dvd.c +++ b/src/Dolphin/dvd/dvd.c @@ -4,7 +4,7 @@ #include <dolphin/os.h> #include <dolphin/os/OSBootInfo.h> -const char* __DVDVersion = "<< Dolphin SDK - DVD\trelease build: Sep 5 2002 05:34:06 (0x2301) >>"; +//const char* __DVDVersion = "<< Dolphin SDK - DVD\trelease build: Sep 5 2002 05:34:06 (0x2301) >>"; typedef void (*stateFunc)(DVDCommandBlock* block); stateFunc LastState; @@ -84,7 +84,7 @@ void DVDInit() { return; } - OSRegisterVersion(__DVDVersion); + //OSRegisterVersion(__DVDVersion); DVDInitialized = TRUE; __DVDFSInit(); __DVDClearWaitingQueue(); @@ -97,10 +97,14 @@ void DVDInit() { __DIRegs[0] = 0x2a; __DIRegs[1] = 0; if (bootInfo->magic == 0xE5207C22) { + OSReport("app booted via JTAG\n"); OSReport("load fst\n"); __fstLoad(); } else if (bootInfo->magic != 0xD15EA5E) { FirstTimeInBootrom = TRUE; + OSReport("bootrom\n"); + } else { + OSReport("app booted from bootrom\n"); } } diff --git a/src/Dolphin/dvd/dvdlow.c b/src/Dolphin/dvd/dvdlow.c index 1a939ba..037bd47 100644 --- a/src/Dolphin/dvd/dvdlow.c +++ b/src/Dolphin/dvd/dvdlow.c @@ -76,7 +76,7 @@ static void AlarmHandlerForTimeout(OSAlarm* alarm, OSContext* context) { } static void Read(u32 tmp1, u32 tmp2, u32 tmp3, DVDLowCallback tmp4) { - + } static void SeekTwiceBeforeRead() { @@ -99,6 +99,45 @@ BOOL DVDLowWaitCoverClose(DVDLowCallback callback) { return TRUE; } +void DVDLowStopMotor() { + +} + +void DVDLowRequestAudioStatus() { + +} + +void DVDLowAudioStream() { + +} + +void DVDLowAudioBufferConfig() { + +} + +void DVDLowInquiry() { + +} + +void DVDLowReadDiskID() { + +} + +void DVDLowBreak() { + +} + +DVDLowCallback DVDLowClearCallback() { + +} + +void DVDLowRequestError() { + +} + +void DVDLowReset() { + +} void __DVDLowSetWAType(u32 type, u32 location) { BOOL enabled; |