summaryrefslogtreecommitdiff
path: root/include/d
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-07-18 21:31:38 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-07-18 21:31:38 -0400
commit9f18a6f34c4d96e54e52abdbcf287a7bfcf6c8e4 (patch)
treeb5505fcebb21dba76eb7f3d7f5458496b6340a81 /include/d
parentdb61d3102208a949d7941f4491706eba16ba2686 (diff)
d_picture_box closer to matching for other versions
Diffstat (limited to 'include/d')
-rw-r--r--include/d/d_picture_box.h13
-rw-r--r--include/d/d_save.h1
2 files changed, 10 insertions, 4 deletions
diff --git a/include/d/d_picture_box.h b/include/d/d_picture_box.h
index 290f45f7..e3cb0259 100644
--- a/include/d/d_picture_box.h
+++ b/include/d/d_picture_box.h
@@ -55,11 +55,16 @@ void dPb_erasePicture();
class dJle_Pb_c : public dDlst_base_c {
public:
+ u8 getStatus() { return mExecState; }
+ void getMemory(void* buffer, int idx) {
+ mPhotoBuffer[idx] = (dPbPhotoSlotData*)buffer;
+ }
+ void setTextArea(char* buffer, int idx) {
+ mMsgTextBuffer[idx] = buffer;
+ }
+
void alphaChange(fopMsgM_pane_alpha_class*, f32) {}
void alphaChange(fopMsgM_pane_class*, f32) {}
- void getMemory(void*, int) {}
- void getStatus() {}
- void setTextArea(char*, int) {}
void screenSet();
void screenSet2();
@@ -112,7 +117,7 @@ public:
void draw();
void _delete(JKRExpHeap*);
-public:
+private:
/* 0x004 */ J2DScreen* scrn;
/* 0x008 */ J2DScreen* scrn1;
/* 0x00C */ J2DScreen* scrn2;
diff --git a/include/d/d_save.h b/include/d/d_save.h
index 5b5d252a..4159cff5 100644
--- a/include/d/d_save.h
+++ b/include/d/d_save.h
@@ -489,6 +489,7 @@ public:
u8 getVibration() { return mVibration; }
void setVibration(u8 vib) { mVibration = vib; }
+private:
/* 0x0 */ u8 mRuby;
/* 0x1 */ u8 mSoundMode;
/* 0x2 */ u8 mAttentionType;