notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psp snd output improved
[picodrive.git]
/
platform
/
gizmondo
/
menu.c
diff --git
a/platform/gizmondo/menu.c
b/platform/gizmondo/menu.c
index
eb50f9c
..
6e501a8
100644
(file)
--- a/
platform/gizmondo/menu.c
+++ b/
platform/gizmondo/menu.c
@@
-45,7
+45,6
@@
static void menu_darken_bg(void *dst, const void *src, int pixels, int darker);
static void menu_prepare_bg(int use_game_bg);
\r
\r
static unsigned int inp_prev = 0;
\r
static void menu_prepare_bg(int use_game_bg);
\r
\r
static unsigned int inp_prev = 0;
\r
-static int inp_prevjoy = 0;
\r
\r
static unsigned long wait_for_input(unsigned int interesting)
\r
{
\r
\r
static unsigned long wait_for_input(unsigned int interesting)
\r
{
\r
@@
-71,7
+70,6
@@
static unsigned long wait_for_input(unsigned int interesting)
wait = 50;
\r
}
\r
inp_prev = ret;
\r
wait = 50;
\r
}
\r
inp_prev = ret;
\r
- inp_prevjoy = 0;
\r
\r
// we don't need diagonals in menus
\r
if ((ret&BTN_UP) && (ret&BTN_LEFT)) ret &= ~BTN_LEFT;
\r
\r
// we don't need diagonals in menus
\r
if ((ret&BTN_UP) && (ret&BTN_LEFT)) ret &= ~BTN_LEFT;
\r
@@
-264,10
+262,10
@@
static int my_scandir(const char *dir, struct my_dirent ***namelist_out,
BOOL bRet;
\r
\r
wdir = malloc(sizeof(wdir[0]) * MAX_PATH);
\r
BOOL bRet;
\r
\r
wdir = malloc(sizeof(wdir[0]) * MAX_PATH);
\r
- if (wdir == NULL) { lprintf_al("%s:%
s
: OOM\n", __FILE__, __LINE__); goto fail; }
\r
+ if (wdir == NULL) { lprintf_al("%s:%
i
: OOM\n", __FILE__, __LINE__); goto fail; }
\r
\r
namelist = malloc(sizeof(*namelist) * name_alloc);
\r
\r
namelist = malloc(sizeof(*namelist) * name_alloc);
\r
- if (namelist == NULL) { lprintf_al("%s:%
s
: OOM\n", __FILE__, __LINE__); goto fail; }
\r
+ if (namelist == NULL) { lprintf_al("%s:%
i
: OOM\n", __FILE__, __LINE__); goto fail; }
\r
\r
// try to read first..
\r
len = cstr2wstr(wdir, dir);
\r
\r
// try to read first..
\r
len = cstr2wstr(wdir, dir);
\r
@@
-312,7
+310,7
@@
static int my_scandir(const char *dir, struct my_dirent ***namelist_out,
void *tmp;
\r
name_alloc *= 2;
\r
tmp = realloc(namelist, sizeof(*namelist) * name_alloc);
\r
void *tmp;
\r
name_alloc *= 2;
\r
tmp = realloc(namelist, sizeof(*namelist) * name_alloc);
\r
- if (tmp == NULL) { lprintf_al("%s:%
s
: OOM\n", __FILE__, __LINE__); goto fail; }
\r
+ if (tmp == NULL) { lprintf_al("%s:%
i
: OOM\n", __FILE__, __LINE__); goto fail; }
\r
namelist = tmp;
\r
}
\r
\r
namelist = tmp;
\r
}
\r
\r
@@
-1356,7
+1354,7
@@
static void draw_menu_credits(void)
menu_draw_begin(1);
\r
\r
text_out16(tl_x, 20, "PicoDrive v" VERSION " (c) notaz, 2006,2007");
\r
menu_draw_begin(1);
\r
\r
text_out16(tl_x, 20, "PicoDrive v" VERSION " (c) notaz, 2006,2007");
\r
-text_out16(tl_x, 30, "rc1");
\r
+
\r
y = tl_y;
\r
text_out16(tl_x, y, "Credits:");
\r
text_out16(tl_x, (y+=10), "Dave: Cyclone 68000 core,");
\r
y = tl_y;
\r
text_out16(tl_x, y, "Credits:");
\r
text_out16(tl_x, (y+=10), "Dave: Cyclone 68000 core,");
\r