mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
new faster sprite priority and sh/hi hadling
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@486 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
b13a934cb8
commit
838a5b02ee
1 changed files with 2 additions and 2 deletions
|
@ -201,12 +201,12 @@ void gp2x_pd_clone_buffer2(void)
|
|||
unsigned long gp2x_joystick_read(int allow_usb_joy)
|
||||
{
|
||||
int i;
|
||||
unsigned long value=(gp2x_memregs[0x1198>>1] & 0x00FF);
|
||||
unsigned long value=(gp2x_memregs[0x1198>>1] & 0x00FF); // GPIO M
|
||||
if(value==0xFD) value=0xFA;
|
||||
if(value==0xF7) value=0xEB;
|
||||
if(value==0xDF) value=0xAF;
|
||||
if(value==0x7F) value=0xBE;
|
||||
value = ~((gp2x_memregs[0x1184>>1] & 0xFF00) | value | (gp2x_memregs[0x1186>>1] << 16));
|
||||
value = ~((gp2x_memregs[0x1184>>1] & 0xFF00) | value | (gp2x_memregs[0x1186>>1] << 16)); // C D
|
||||
|
||||
if (allow_usb_joy && num_of_joys > 0) {
|
||||
// check the usb joy as well..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue