diff options
| author | Max Roncace <me@caseif.net> | 2025-08-24 02:52:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-24 09:52:08 +0300 |
| commit | 513816ce5c055be898b80dfa3b7048bcaca876a7 (patch) | |
| tree | 85ac5e0383eb1ef1e4442c95f7c63c2c146098ae /src/d/d_bright_check.cpp | |
| parent | 8a30030dc73931727bd3d6327c1a37255a295f3f (diff) | |
Add a precompiled header for RELs (#2597)
Diffstat (limited to 'src/d/d_bright_check.cpp')
| -rw-r--r-- | src/d/d_bright_check.cpp | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/d/d_bright_check.cpp b/src/d/d_bright_check.cpp index aca8c8690c..7f65b3d7ef 100644 --- a/src/d/d_bright_check.cpp +++ b/src/d/d_bright_check.cpp @@ -3,7 +3,7 @@ * */ -#define NO_INLINE_DLSTBASE_DRAW +#include "d/dolzel.h" #include "d/d_bright_check.h" #include "JSystem/J2DGraph/J2DScreen.h" @@ -11,28 +11,6 @@ #include "d/d_msg_string.h" #include "m_Do/m_Do_controller_pad.h" -// Need 0x10 bytes of padding with no symbol between dBrightCheck_c::__vtable and the end of .data -// This is likely caused by the vtable of an abstract base class getting put there and then stripped out. -// Not sure which abstract base class could go there though, so we simulate it with some dummy classes for now. -class dummy_abstract_class { -public: - virtual void virt_func_0() = 0; - virtual void virt_func_1() = 0; -}; -class dummy_child_class : dummy_abstract_class { - virtual void virt_func_0(); - virtual void virt_func_1(); -}; -static dummy_child_class dummy() { - dummy_child_class temp; - return temp; -} - -/* 803BB5B0-803BB5BC 0186D0 000C+00 1/1 0/0 0/0 .data cNullVec__6Z2Calc */ -static u8 cNullVec__6Z2Calc[12] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -}; - /* 80192F10-80192F98 18D850 0088+00 0/0 1/1 0/0 .text __ct__14dBrightCheck_cFP10JKRArchive */ dBrightCheck_c::dBrightCheck_c(JKRArchive* i_archive) { mArchive = i_archive; |
