mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
adjustments, fix for 'save accept switcher renderer'
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@413 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
339be61dd3
commit
30d5518a0b
3 changed files with 9 additions and 7 deletions
|
@ -232,7 +232,7 @@ $(error need VER)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
rel: PicoDrive.gpe code940/pico940_v2.bin readme.txt PicoDrive.man.txt PicoDrive.png game_def.cfg
|
rel: PicoDrive.gpe code940/pico940_v2.bin readme.txt PicoDrive.man.txt PicoDrive.png ../game_def.cfg
|
||||||
zip -9 -j ../../PicoDrive_$(VER).zip $^ mmuhack.o
|
zip -9 -j ../../PicoDrive_$(VER).zip $^ mmuhack.o
|
||||||
zip -9 -r ../../PicoDrive_$(VER).zip skin -i \*.png -i \*.txt
|
zip -9 -r ../../PicoDrive_$(VER).zip skin -i \*.png -i \*.txt
|
||||||
|
|
||||||
|
|
|
@ -468,6 +468,8 @@ static void RunEvents(unsigned int which)
|
||||||
while ( !((keys = gp2x_joystick_read(1)) & (GP2X_X|GP2X_Y)) )
|
while ( !((keys = gp2x_joystick_read(1)) & (GP2X_X|GP2X_Y)) )
|
||||||
usleep(50*1024);
|
usleep(50*1024);
|
||||||
if (keys & GP2X_X) do_it = 0;
|
if (keys & GP2X_X) do_it = 0;
|
||||||
|
while ( gp2x_joystick_read(1) & (GP2X_X|GP2X_Y) ) // wait for release
|
||||||
|
usleep(50*1024);
|
||||||
clearArea(0);
|
clearArea(0);
|
||||||
}
|
}
|
||||||
if (do_it) {
|
if (do_it) {
|
||||||
|
|
10
gp2x/menu.c
10
gp2x/menu.c
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
extern int mmuhack_status;
|
extern int mmuhack_status;
|
||||||
|
|
||||||
const char *keyNames[] = {
|
const char * const keyNames[] = {
|
||||||
"UP", "???", "LEFT", "???", "DOWN", "???", "RIGHT", "???",
|
"UP", "???", "LEFT", "???", "DOWN", "???", "RIGHT", "???",
|
||||||
"START", "SELECT", "L", "R", "A", "B", "X", "Y",
|
"START", "SELECT", "L", "R", "A", "B", "X", "Y",
|
||||||
"???", "???", "???", "???", "???", "???", "VOL DOWN", "VOL UP",
|
"???", "???", "???", "???", "???", "???", "VOL DOWN", "VOL UP",
|
||||||
|
@ -918,8 +918,8 @@ menu_entry cdopt_entries[] =
|
||||||
{ "done", MB_NONE, MA_CDOPT_DONE, NULL, 0, 0, 0, 1, 0 },
|
{ "done", MB_NONE, MA_CDOPT_DONE, NULL, 0, 0, 0, 1, 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
const int cdopt_entry_count = (sizeof(cdopt_entries) / sizeof(cdopt_entries[0]));
|
|
||||||
#define CDOPT_ENTRY_COUNT (sizeof(cdopt_entries) / sizeof(cdopt_entries[0]))
|
#define CDOPT_ENTRY_COUNT (sizeof(cdopt_entries) / sizeof(cdopt_entries[0]))
|
||||||
|
const int cdopt_entry_count = CDOPT_ENTRY_COUNT;
|
||||||
|
|
||||||
|
|
||||||
struct bios_names_t
|
struct bios_names_t
|
||||||
|
@ -1059,10 +1059,10 @@ menu_entry opt2_entries[] =
|
||||||
{ NULL, MB_NONE, MA_OPT2_GAMMA, NULL, 0, 0, 0, 1, 1 },
|
{ NULL, MB_NONE, MA_OPT2_GAMMA, NULL, 0, 0, 0, 1, 1 },
|
||||||
{ "A_SN's gamma curve", MB_ONOFF, MA_OPT2_A_SN_GAMMA, ¤tConfig.EmuOpt, 0x1000, 0, 0, 1, 1 },
|
{ "A_SN's gamma curve", MB_ONOFF, MA_OPT2_A_SN_GAMMA, ¤tConfig.EmuOpt, 0x1000, 0, 0, 1, 1 },
|
||||||
{ "Perfect vsync", MB_ONOFF, MA_OPT2_VSYNC, ¤tConfig.EmuOpt, 0x2000, 0, 0, 1, 1 },
|
{ "Perfect vsync", MB_ONOFF, MA_OPT2_VSYNC, ¤tConfig.EmuOpt, 0x2000, 0, 0, 1, 1 },
|
||||||
|
{ "Disable sprite limit", MB_ONOFF, MA_OPT2_NO_SPRITE_LIM, &PicoOpt, 0x40000, 0, 0, 1, 1 },
|
||||||
{ "Emulate Z80", MB_ONOFF, MA_OPT2_ENABLE_Z80, &PicoOpt, 0x00004, 0, 0, 1, 1 },
|
{ "Emulate Z80", MB_ONOFF, MA_OPT2_ENABLE_Z80, &PicoOpt, 0x00004, 0, 0, 1, 1 },
|
||||||
{ "Emulate YM2612 (FM)", MB_ONOFF, MA_OPT2_ENABLE_YM2612, &PicoOpt, 0x00001, 0, 0, 1, 1 },
|
{ "Emulate YM2612 (FM)", MB_ONOFF, MA_OPT2_ENABLE_YM2612, &PicoOpt, 0x00001, 0, 0, 1, 1 },
|
||||||
{ "Emulate SN76496 (PSG)", MB_ONOFF, MA_OPT2_ENABLE_SN76496,&PicoOpt, 0x00002, 0, 0, 1, 1 },
|
{ "Emulate SN76496 (PSG)", MB_ONOFF, MA_OPT2_ENABLE_SN76496,&PicoOpt, 0x00002, 0, 0, 1, 1 },
|
||||||
{ "Disable sprite limit", MB_ONOFF, MA_OPT2_NO_SPRITE_LIM, &PicoOpt, 0x40000, 0, 0, 1, 1 },
|
|
||||||
{ "gzip savestates", MB_ONOFF, MA_OPT2_GZIP_STATES, ¤tConfig.EmuOpt, 0x0008, 0, 0, 1, 1 },
|
{ "gzip savestates", MB_ONOFF, MA_OPT2_GZIP_STATES, ¤tConfig.EmuOpt, 0x0008, 0, 0, 1, 1 },
|
||||||
{ "Don't save last used ROM", MB_ONOFF, MA_OPT2_NO_LAST_ROM, ¤tConfig.EmuOpt, 0x0020, 0, 0, 1, 1 },
|
{ "Don't save last used ROM", MB_ONOFF, MA_OPT2_NO_LAST_ROM, ¤tConfig.EmuOpt, 0x0020, 0, 0, 1, 1 },
|
||||||
{ "needs restart:", MB_NONE, MA_NONE, NULL, 0, 0, 0, 1, 0 },
|
{ "needs restart:", MB_NONE, MA_NONE, NULL, 0, 0, 0, 1, 0 },
|
||||||
|
@ -1073,7 +1073,7 @@ menu_entry opt2_entries[] =
|
||||||
};
|
};
|
||||||
|
|
||||||
#define OPT2_ENTRY_COUNT (sizeof(opt2_entries) / sizeof(opt2_entries[0]))
|
#define OPT2_ENTRY_COUNT (sizeof(opt2_entries) / sizeof(opt2_entries[0]))
|
||||||
const int opt2_entry_count = (sizeof(opt2_entries) / sizeof(opt2_entries[0]));
|
const int opt2_entry_count = OPT2_ENTRY_COUNT;
|
||||||
|
|
||||||
static void menu_opt2_cust_draw(const menu_entry *entry, int x, int y, void *param)
|
static void menu_opt2_cust_draw(const menu_entry *entry, int x, int y, void *param)
|
||||||
{
|
{
|
||||||
|
@ -1425,7 +1425,7 @@ static void draw_menu_credits(void)
|
||||||
int tl_x = 15, tl_y = 64, y;
|
int tl_x = 15, tl_y = 64, y;
|
||||||
gp2x_pd_clone_buffer2();
|
gp2x_pd_clone_buffer2();
|
||||||
|
|
||||||
text_out16(tl_x, 20, "PicoDrive v" VERSION " (c) notaz, 2006,2007");
|
text_out16(tl_x, 20, "PicoDrive v" VERSION " (c) notaz, 2006-2008");
|
||||||
y = tl_y;
|
y = tl_y;
|
||||||
text_out16(tl_x, y, "Credits:");
|
text_out16(tl_x, y, "Credits:");
|
||||||
text_out16(tl_x, (y+=10), "fDave: Cyclone 68000 core,");
|
text_out16(tl_x, (y+=10), "fDave: Cyclone 68000 core,");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue