diff options
author | Nebuleon Fumika | 2013-03-28 04:03:46 -0400 |
---|---|---|
committer | Nebuleon Fumika | 2013-03-28 04:03:46 -0400 |
commit | f27122724a4073cd99f082bb9be7934ee034e1e7 (patch) | |
tree | b908ccc6760f05b24d514b0da527c03ed0f98fd5 /source | |
parent | 8d1854d8a25b4966736c88e4f692e0591650eaf6 (diff) | |
download | snesemu-f27122724a4073cd99f082bb9be7934ee034e1e7.tar.gz snesemu-f27122724a4073cd99f082bb9be7934ee034e1e7.tar.bz2 snesemu-f27122724a4073cd99f082bb9be7934ee034e1e7.zip |
Fix overlapping text (screenshot creation OK/failed) in message boxes.
Diffstat (limited to 'source')
-rw-r--r-- | source/nds/gui.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c index eeaad95..0cb4dd9 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -2753,10 +2753,14 @@ u32 menu(u16 *screen, bool8 FirstInvocation) { draw_string_vcenter(down_screen_addr, MESSAGE_BOX_TEXT_X, MESSAGE_BOX_TEXT_Y, MESSAGE_BOX_TEXT_SX, COLOR_MSSG, msg[MSG_PROGRESS_SCREENSHOT_CREATING]); ds2_flipScreen(DOWN_SCREEN, DOWN_SCREEN_UPDATE_METHOD); - if(save_ss_bmp(screen)) + if(save_ss_bmp(screen)) { + draw_message(down_screen_addr, bg_screenp, 28, 31, 227, 165, bg_screenp_color); draw_string_vcenter(down_screen_addr, MESSAGE_BOX_TEXT_X, MESSAGE_BOX_TEXT_Y, MESSAGE_BOX_TEXT_SX, COLOR_MSSG, msg[MSG_PROGRESS_SCREENSHOT_CREATION_SUCCEEDED]); - else + } + else { + draw_message(down_screen_addr, bg_screenp, 28, 31, 227, 165, bg_screenp_color); draw_string_vcenter(down_screen_addr, MESSAGE_BOX_TEXT_X, MESSAGE_BOX_TEXT_Y, MESSAGE_BOX_TEXT_SX, COLOR_MSSG, msg[MSG_PROGRESS_SCREENSHOT_CREATION_FAILED]); + } ds2_flipScreen(DOWN_SCREEN, DOWN_SCREEN_UPDATE_METHOD); mdelay(500); } |