diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2021-06-12 13:53:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-12 13:53:58 -0400 |
commit | 5bf6a89e8ed480b72f901e3523b7ff7b4d695249 (patch) | |
tree | 15b33c4b5bb0b4bf2ae3822643222c3e56513088 /arm9/lib/include/gx.h | |
parent | 643dedac9ca72af14b2d3c74a18022e216e3f7c3 (diff) | |
parent | 4b1053c21cf22b9eca6f556139f52414b91f523b (diff) |
Merge pull request #406 from PikalaxALT/pikalax_work
Decompile overlay 19
Diffstat (limited to 'arm9/lib/include/gx.h')
-rw-r--r-- | arm9/lib/include/gx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arm9/lib/include/gx.h b/arm9/lib/include/gx.h index cce14e57..7e6606fa 100644 --- a/arm9/lib/include/gx.h +++ b/arm9/lib/include/gx.h @@ -226,4 +226,9 @@ static inline void GXS_SetVisibleWnd(int window) reg_GXS_DB_DISPCNT = (u32)((reg_GXS_DB_DISPCNT & ~(REG_GXS_DB_DISPCNT_W0_MASK | REG_GXS_DB_DISPCNT_W1_MASK | REG_GXS_DB_DISPCNT_OW_MASK)) | (window << REG_GXS_DB_DISPCNT_W0_SHIFT)); } +static inline void GXS_SetOBJVRamModeChar(GXOBJVRamModeChar mode) +{ + reg_GXS_DB_DISPCNT = (u32)(reg_GXS_DB_DISPCNT & ~(REG_GXS_DB_DISPCNT_EXOBJ_CH_MASK | REG_GXS_DB_DISPCNT_OBJMAP_CH_MASK) | mode); +} + #endif //GUARD_GX_H |