From 8ebe60d2452889cd9699dfc742fe45ab38e2b0fd Mon Sep 17 00:00:00 2001
From: mrb0nk500 <b0nk@b0nk.xyz>
Date: Thu, 2 Feb 2023 15:48:16 -0400
Subject: sdk: Add the rest of Dolphin SDK to object file list

---
 src/Dolphin/dvd/dvd.c    |  8 ++++++--
 src/Dolphin/dvd/dvdlow.c | 41 ++++++++++++++++++++++++++++++++++++++++-
 src/Dolphin/os/OSFont.c  |  2 +-
 3 files changed, 47 insertions(+), 4 deletions(-)

(limited to 'src/Dolphin')

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;
diff --git a/src/Dolphin/os/OSFont.c b/src/Dolphin/os/OSFont.c
index 34224bf..e309603 100644
--- a/src/Dolphin/os/OSFont.c
+++ b/src/Dolphin/os/OSFont.c
@@ -1,4 +1,4 @@
-#include <OS.h>
+#include <os.h>
 #include <gx.h>
 #include <vi.h>
 
-- 
cgit v1.2.3-13-gbd6f