summaryrefslogtreecommitdiff
path: root/include/d/d_dvd_drive_error.h
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-05-13 19:11:43 +0200
committerrobojumper <robojumper@gmail.com>2025-05-14 21:20:12 +0200
commit46117f72a69a718b8f64aee4acd25b7e00a41669 (patch)
tree39d062473e4fd67f07f7b22dcd5b05b6fb3bbba1 /include/d/d_dvd_drive_error.h
parent912cc30b60f064623e9b8f2d968998254da182a7 (diff)
d_dvd_drive_error OK
Diffstat (limited to 'include/d/d_dvd_drive_error.h')
-rw-r--r--include/d/d_dvd_drive_error.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/d/d_dvd_drive_error.h b/include/d/d_dvd_drive_error.h
new file mode 100644
index 00000000..9c950315
--- /dev/null
+++ b/include/d/d_dvd_drive_error.h
@@ -0,0 +1,26 @@
+#ifndef D_DVD_DRIVE_ERROR_H
+#define D_DVD_DRIVE_ERROR_H
+
+#include "common.h"
+#include "egg/core/eggHeap.h"
+
+class dDvdDriveError_c {
+public:
+ static void create(EGG::Heap *heap);
+ void draw();
+ void execute();
+ void init();
+ bool isError() const;
+
+ static dDvdDriveError_c *GetInstance() {
+ return sInstance;
+ }
+
+private:
+ static dDvdDriveError_c *sInstance;
+
+ /* 0x00 */ s32 mDvdDriveStatus;
+ /* 0x04 */ bool mIsError;
+};
+
+#endif