diff options
author | Nebuleon Fumika | 2013-03-29 05:45:39 -0400 |
---|---|---|
committer | Nebuleon Fumika | 2013-03-29 05:45:39 -0400 |
commit | efe43d2f628b636679297e3b3693f778bdbdcccf (patch) | |
tree | 9c8564d7dc9a12743f5c681fc2db4d0f59811bce /source/nds/draw.h | |
parent | 9a08a7ea4a2b4e36b753367717ddf96f9aaa15ed (diff) | |
download | snes9x2005-efe43d2f628b636679297e3b3693f778bdbdcccf.tar.gz snes9x2005-efe43d2f628b636679297e3b3693f778bdbdcccf.tar.bz2 snes9x2005-efe43d2f628b636679297e3b3693f778bdbdcccf.zip |
Stop the odd disappearing text when moving between files in recently played games.
Diffstat (limited to 'source/nds/draw.h')
-rw-r--r-- | source/nds/draw.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/nds/draw.h b/source/nds/draw.h index dc34bf7..b81328a 100644 --- a/source/nds/draw.h +++ b/source/nds/draw.h @@ -161,7 +161,9 @@ extern void draw_message(void* screen_address, u16 *screen_bg, u32 sx, u32 sy, u extern void draw_string_vcenter(void* screen_address, u32 sx, u32 sy, u32 width, u32 color_fg, char *string); -#define MAX_SCROLL_STRING 8 +#define MAX_SCROLL_STRING 16 +extern u32 hscroll_init(void* screen_address, u32 sx, u32 sy, u32 width, + u32 color_bg, u32 color_fg, char *string); extern u32 draw_hscroll_init(void* screen_address, u32 sx, u32 sy, u32 width, u32 color_bg, u32 color_fg, char *string); extern u32 draw_hscroll(u32 index, s32 scroll_val); |