aboutsummaryrefslogtreecommitdiff
path: root/source/nds
diff options
context:
space:
mode:
authorNebuleon Fumika2013-03-29 05:52:12 -0400
committerNebuleon Fumika2013-03-29 05:52:12 -0400
commit2113821e237995b9a749c367dc9db5db2fffd378 (patch)
tree7c32d354831ad03dce5114b88d9e7593b40165c4 /source/nds
parentefe43d2f628b636679297e3b3693f778bdbdcccf (diff)
downloadsnes9x2005-2113821e237995b9a749c367dc9db5db2fffd378.tar.gz
snes9x2005-2113821e237995b9a749c367dc9db5db2fffd378.tar.bz2
snes9x2005-2113821e237995b9a749c367dc9db5db2fffd378.zip
Fix scrollers in file selectors after the previous commit.
Diffstat (limited to 'source/nds')
-rw-r--r--source/nds/draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nds/draw.c b/source/nds/draw.c
index 56d5051..479d5e6 100644
--- a/source/nds/draw.c
+++ b/source/nds/draw.c
@@ -505,7 +505,7 @@ u32 draw_hscroll_init(void* screen_addr, u32 sx, u32 sy, u32 width,
{
u32 ret = hscroll_init(screen_addr, sx, sy, width, color_bg, color_fg, string);
- draw_hscroll(index, 0 /* stay on the left */);
+ draw_hscroll(ret, 0 /* stay on the left */);
return ret;
}