summaryrefslogtreecommitdiff
path: root/src/d/d_file_sel_info.cpp
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-08-24 02:52:08 -0400
committerGitHub <noreply@github.com>2025-08-24 09:52:08 +0300
commit513816ce5c055be898b80dfa3b7048bcaca876a7 (patch)
tree85ac5e0383eb1ef1e4442c95f7c63c2c146098ae /src/d/d_file_sel_info.cpp
parent8a30030dc73931727bd3d6327c1a37255a295f3f (diff)
Add a precompiled header for RELs (#2597)
Diffstat (limited to 'src/d/d_file_sel_info.cpp')
-rw-r--r--src/d/d_file_sel_info.cpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/d/d_file_sel_info.cpp b/src/d/d_file_sel_info.cpp
index 3295f392b3..5c5dbf57f8 100644
--- a/src/d/d_file_sel_info.cpp
+++ b/src/d/d_file_sel_info.cpp
@@ -3,7 +3,7 @@
* File Select Screen File Info
*/
-#define NO_INLINE_DLSTBASE_DRAW
+#include "d/dolzel.h"
#include "d/d_file_sel_info.h"
#include "JSystem/J2DGraph/J2DScreen.h"
@@ -13,26 +13,6 @@
#include "d/d_pane_class_alpha.h"
#include "stdio.h"
-// Need 0xC bytes of padding with no symbol between dFile_info_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;
-};
-class dummy_child_class : dummy_abstract_class {
- virtual void virt_func_0();
-};
-static dummy_child_class dummy() {
- dummy_child_class temp;
- return temp;
-}
-
-/* 803BB498-803BB4A8 0185B8 000C+04 1/1 0/0 0/0 .data cNullVec__6Z2Calc */
-static u8 cNullVec__6Z2Calc[] = {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-};
-
/* 80192434-801924A0 18CD74 006C+00 0/0 3/3 0/0 .text __ct__12dFile_info_cFP10JKRArchiveUc */
dFile_info_c::dFile_info_c(JKRArchive* i_archive, u8 param_1) {
mArchive = i_archive;