mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
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:
parent
74f5e726ba
commit
abfc7703da
5 changed files with 27 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue