diff options
| author | Max Roncace <me@caseif.net> | 2026-04-11 02:43:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-10 23:43:37 -0700 |
| commit | d7c34741e23297863254089125ed9ab56617dc5b (patch) | |
| tree | 6165df2b21a161a4349dd9c62440283a1909a9c1 /include/m_Do | |
| parent | dabd6961a674f23ec0df8f2b4d16ba12e1e090e5 (diff) | |
Replace magic constants derived from framebuffer size (#3144)
Diffstat (limited to 'include/m_Do')
| -rw-r--r-- | include/m_Do/m_Do_graphic.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/m_Do/m_Do_graphic.h b/include/m_Do/m_Do_graphic.h index a00d62dbe8..123326c207 100644 --- a/include/m_Do/m_Do_graphic.h +++ b/include/m_Do/m_Do_graphic.h @@ -5,12 +5,14 @@ #include "m_Do/m_Do_mtx.h" #include "global.h" +#define FB_WIDTH_BASE (608) +#define FB_HEIGHT_BASE (448) #if WIDESCREEN_SUPPORT #define FB_WIDTH (640) #define FB_HEIGHT (456) #else -#define FB_WIDTH (608) -#define FB_HEIGHT (448) +#define FB_WIDTH FB_WIDTH_BASE +#define FB_HEIGHT FB_HEIGHT_BASE #endif int mDoGph_Create(); |
