GP2X: low volume and fast forward
[libpicofe.git] / gp2x / menu.c
index 8b4968c..ef54ed6 100644 (file)
@@ -155,11 +155,12 @@ static void cdload_progress_cb(int percent)
 \r
        smalltext_out16(1, 3*10, "Processing CD image / MP3s", 0xffff);\r
        smalltext_out16_lim(1, 4*10, romFileName, 0xffff, 80);\r
-       dst += 30;\r
+       dst += 320*30;\r
 \r
        if (len > 320) len = 320;\r
        for (ln = 8; ln > 0; ln--, dst += 320)\r
                memset(dst, 0xff, len*2);\r
+       menu_flip();\r
        cdload_called = 1;\r
 }\r
 \r
@@ -182,7 +183,7 @@ void menu_romload_prepare(const char *rom_name)
 \r
 void menu_romload_end(void)\r
 {\r
-       PicoCartLoadProgressCB = NULL;\r
+       PicoCartLoadProgressCB = PicoCDLoadProgressCB = NULL;\r
        smalltext_out16(1, cdload_called ? 60 : 30, "Starting emulation...", 0xffff);\r
        menu_flip();\r
 }\r
@@ -837,6 +838,7 @@ static bind_action_t emuctrl_actions[] =
        { "Switch Renderer", 1<<26 },\r
        { "Volume Down    ", 1<<30 },\r
        { "Volume Up      ", 1<<29 },\r
+       { "Fast forward   ", 1<<22 },\r
        { "Enter Menu     ", 1<<23 },\r
 };\r
 \r