diff options
| author | Erin Moon <erin@hecke.rs> | 2020-12-25 19:59:52 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-25 20:59:52 -0500 |
| commit | 58fc83c4f804e72019dc9ccbcc389affe7a9f3ed (patch) | |
| tree | d287ca8be8511f1a826b1d62aa6461ab1a76fcf4 /include/JSystem | |
| parent | 22bda03652efbecd77e1fa3597dfdecee768ec06 (diff) | |
m_Do_Reset: OK (#35)
* m_Do_Reset: split and (some) decomp
decompiles:
- my_OSCancelAlarmAll()
- destroyVideo()
* mDoRst::reset(): decompile, plus some supporting code
* split DVD* functions to dvd.h
* mDoRst::resetCallBack(): decompile
Diffstat (limited to 'include/JSystem')
| -rw-r--r-- | include/JSystem/JKernel/JKRDvdFile/JKRDvdFile.h | 1 | ||||
| -rw-r--r-- | include/JSystem/JUtility/JUTXfb/JUTXfb.h | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/include/JSystem/JKernel/JKRDvdFile/JKRDvdFile.h b/include/JSystem/JKernel/JKRDvdFile/JKRDvdFile.h index bca06b8e06..6d9b7384e3 100644 --- a/include/JSystem/JKernel/JKRDvdFile/JKRDvdFile.h +++ b/include/JSystem/JKernel/JKRDvdFile/JKRDvdFile.h @@ -3,6 +3,7 @@ #include "dolphin/types.h" #include "JSystem/JKernel/JKRFile/JKRFile.h" +#include "dvd/dvd.h" #include "global.h" class DVDFileInfo; diff --git a/include/JSystem/JUtility/JUTXfb/JUTXfb.h b/include/JSystem/JUtility/JUTXfb/JUTXfb.h new file mode 100644 index 0000000000..3cf89bc431 --- /dev/null +++ b/include/JSystem/JUtility/JUTXfb/JUTXfb.h @@ -0,0 +1,21 @@ +#ifndef __JUTILITY_JUTXFB_JUTXFB_H__ +#define __JUTILITY_JUTXFB_JUTXFB_H__ + +#include "dolphin/types.h" + +class JUTXfb { +public: + void clearIndex(); +private: + void * xfb_buffer[3]; + bool is_xfb_allocated[3]; + u8 padding_1; + s32 num_xfbs; + s16 active_xfb_index; + s16 last_drawn_xfb_index; + s16 next_xfb_buffer; + u8 padding_2[2]; + s32 field_0x1c; +}; + +#endif
\ No newline at end of file |
