summaryrefslogtreecommitdiff
path: root/include/f_ap
diff options
context:
space:
mode:
authorMattias Blum <142374929+mattias-blum@users.noreply.github.com>2025-04-11 16:37:42 -0400
committerGitHub <noreply@github.com>2025-04-11 16:37:42 -0400
commit5f287fcaeebc6b728e5a94f7039b2d03ffc88c99 (patch)
tree2febd80425758cdb261ce2ae2fdf0a740e6c7a93 /include/f_ap
parent6aeaaef643db58fd2ed26d78eada3a33666f6a3b (diff)
d_camera 28% (#732)
* initial progress * more progress * more progress * more progress * more progress * more progress * more progress * more progress * more progress * more progress * more progress * more progress * fix outdated member names * more progress * more progress * more progress * more progress * more progress * more progress * fixed deprecated member references * more progress * more progress * more progress * fix deprecated member references * more progress * more progress * more progress * more progress * more progress * check in for review * remove comment * initial PR changes * more PR changes * more PR changes * added anonymous struct as class member * reverted changes to `stage_camera2_data_class` * added `dCamera_event_data`, `dCamera_monitoring_things` and `dCamera_DMC_system` from debug maps * more progress * more progress * realmatch for `camera_draw` * PR changes * fix broken merge * formatting * Reverted change to `camSphChkdata` that caused `sph_chk_callback` match to regress * Reverted change to `BG` struct that caused ctor and dtor match to regress
Diffstat (limited to 'include/f_ap')
-rw-r--r--include/f_ap/f_ap_game.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/f_ap/f_ap_game.h b/include/f_ap/f_ap_game.h
index daf4ccae..c50bcdc5 100644
--- a/include/f_ap/f_ap_game.h
+++ b/include/f_ap/f_ap_game.h
@@ -24,7 +24,7 @@ public:
/* 0x09 */ u8 field_0x09;
/* 0x0A */ u8 field_0x0a;
/* 0x0B */ u8 field_0x0b;
- /* 0x0C */ f32 field_0x0c;
+ /* 0x0C */ f32 mAspectRatio;
/* 0x10 */ u8 field_0x10;
/* 0x11 */ u8 field_0x11;
/* 0x12 */ u8 field_0x12;
@@ -77,5 +77,6 @@ inline bool fapGmHIO_isMenu() { return !!(g_HIO.mDisplayFlag & 0x02); }
inline bool fapGmHIO_getMeter() { return g_HIO.mDisplayMeter; }
inline s16 fapGmHIO_getFbWidth() { return g_HIO.mFbWidth; }
inline s16 fapGmHIO_getEfbHeight() { return g_HIO.mEfbHeight; }
+inline f32 fapGmHIO_getAspectRatio() { return g_HIO.mAspectRatio; }
#endif /* F_AP_GAME_H */