// if (!rom_loaded)\r
// menu_darken_bg(gp2x_screen, 320*240, 0);\r
\r
- darken_ptr = (short *)g_screen_ptr + g_screen_width * max_cnt/2 * 10;\r
- menu_darken_bg(darken_ptr, darken_ptr, g_screen_width * 8, 0);\r
+ darken_ptr = (short *)g_screen_ptr + g_screen_width * max_cnt/2 * me_sfont_h;\r
+ menu_darken_bg(darken_ptr, darken_ptr, g_screen_width * me_sfont_h * 8 / 10, 0);\r
\r
x = 5 + me_mfont_w + 1;\r
if (start - 2 >= 0)\r
{\r
mee_onoff("32X enabled", MA_32XOPT_ENABLE_32X, PicoOpt, POPT_EN_32X),\r
mee_onoff("PWM sound", MA_32XOPT_PWM, PicoOpt, POPT_EN_PWM),\r
+ mee_end,\r
};\r
\r
static int menu_loop_32x_options(menu_id id, int keys)\r
gp2x_memset_all_buffers(0, 0, 320*240*2);
- // use buffer2 for menubg (using only buffers 0, 1 in menu)
+ // use buffer2 for menubg to save mem (using only buffers 0, 1 in menu)
g_menubg_ptr = gp2x_screens[2];
// snd
}
}
- // calculate buffer size. We one to fit 1 frame worth of sound data.
+ // calculate buffer size. We want to fit 1 frame worth of sound data.
// Also ignore mono because both GP2X and Wiz mixes mono to stereo anyway.
bsize = frame_samples << 2;