mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-07 14:28:18 +01:00
pad mapping fix
This commit is contained in:
parent
16ec3c3e95
commit
8f52b71abc
@ -282,15 +282,9 @@ int main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
MountAllFAT(); // Initialize libFAT for SD and USB
|
MountAllFAT(); // Initialize libFAT for SD and USB
|
||||||
|
|
||||||
DefaultSettings(); // Set defaults
|
DefaultSettings(); // Set defaults
|
||||||
|
|
||||||
// Audio
|
|
||||||
InitialiseAudio();
|
InitialiseAudio();
|
||||||
|
InitFreeType((u8*)font_ttf, font_ttf_size); // Initialize font system
|
||||||
// Initialize font system
|
|
||||||
InitFreeType((u8*)font_ttf, font_ttf_size);
|
|
||||||
|
|
||||||
InitGUIThreads();
|
InitGUIThreads();
|
||||||
|
|
||||||
// allocate memory to store rom
|
// allocate memory to store rom
|
||||||
|
@ -357,9 +357,9 @@ static unsigned char DecodeJoy(unsigned short chan)
|
|||||||
unsigned char J = 0;
|
unsigned char J = 0;
|
||||||
|
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
s8 wm_ax = userInput[0].WPAD_StickX(0);
|
s8 wm_ax = userInput[chan].WPAD_StickX(0);
|
||||||
s8 wm_ay = userInput[0].WPAD_StickY(0);
|
s8 wm_ay = userInput[chan].WPAD_StickY(0);
|
||||||
u32 wp = userInput[0].wpad->btns_h;
|
u32 wp = userInput[chan].wpad->btns_h;
|
||||||
|
|
||||||
u32 exp_type;
|
u32 exp_type;
|
||||||
if ( WPAD_Probe(chan, &exp_type) != 0 ) exp_type = WPAD_EXP_NONE;
|
if ( WPAD_Probe(chan, &exp_type) != 0 ) exp_type = WPAD_EXP_NONE;
|
||||||
|
Loading…
Reference in New Issue
Block a user