From: notaz Date: Sat, 2 Jun 2007 23:05:22 +0000 (+0000) Subject: minor adjustments X-Git-Tag: r1~34 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03497cf8eeda7f6d0ad91286819ed613e8d8f648;p=fceu.git minor adjustments git-svn-id: file:///home/notaz/opt/svn/fceu@148 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/drivers/gp2x/asmutils.h b/drivers/gp2x/asmutils.h index 7fce5ee..aa1c87f 100644 --- a/drivers/gp2x/asmutils.h +++ b/drivers/gp2x/asmutils.h @@ -1,4 +1,4 @@ -void flushcache(unsigned int beginning_addr, unsigned int end_addr, unsigned int flags); +void flushcache(void *beginning_addr, void *end_addr, unsigned int flags); void block_or(void *src, size_t n, int pat); void block_and(void *src, size_t n, int pat); void block_andor(void *src, size_t n, int andpat, int orpat); diff --git a/drivers/gp2x/input.c b/drivers/gp2x/input.c index 7c33a96..43da4b3 100644 --- a/drivers/gp2x/input.c +++ b/drivers/gp2x/input.c @@ -374,6 +374,6 @@ static void PrepareOtherInput(void) } } - printf("generated combo_acts: %08x, combo_keys: %08x\n", combo_acts, combo_keys); + // printf("generated combo_acts: %08x, combo_keys: %08x\n", combo_acts, combo_keys); } diff --git a/drivers/gp2x/menu.c b/drivers/gp2x/menu.c index db0d9d1..86aff23 100644 --- a/drivers/gp2x/menu.c +++ b/drivers/gp2x/menu.c @@ -1227,11 +1227,11 @@ static void draw_menu_root(int menu_sel) gp2x_fceu_darken_reset(); // error / version - if (menuErrorMsg[0]) gp2x_text_out15(1, 230, menuErrorMsg); + if (menuErrorMsg[0]) gp2x_text_out15(1, 229, menuErrorMsg); else { char vstr[16]; sprintf(vstr, "v" GP2X_PORT_VERSION " r%i", GP2X_PORT_REV); - gp2x_text_out15(320-strlen(vstr)*8-1, 230, vstr); + gp2x_text_out15(320-strlen(vstr)*8-1, 229, vstr); } gp2x_fceu_darken_text_bg(); gp2x_video_flip();