fix gp2x build and some obvious menu glitches

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@665 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-03-15 21:02:40 +00:00
parent 74f5e726ba
commit abfc7703da
5 changed files with 27 additions and 15 deletions

View file

@ -35,6 +35,7 @@
#include "../linux/sndout_oss.h"
#include "../common/arm_utils.h"
#include "../common/arm_linux.h"
#include "../common/emu.h"
volatile unsigned short *gp2x_memregs;
//static
@ -196,7 +197,6 @@ void gp2x_pd_clone_buffer2(void)
unsigned long gp2x_joystick_read(int unused)
{
int i;
unsigned long value=(gp2x_memregs[0x1198>>1] & 0x00FF); // GPIO M
if(value==0xFD) value=0xFA;
if(value==0xF7) value=0xEB;