pad mapping fix

This commit is contained in:
dborth 2009-10-28 00:11:43 +00:00
parent 16ec3c3e95
commit 8f52b71abc
2 changed files with 4 additions and 10 deletions

View File

@ -282,15 +282,9 @@ int main(int argc, char *argv[])
#endif
MountAllFAT(); // Initialize libFAT for SD and USB
DefaultSettings(); // Set defaults
// Audio
InitialiseAudio();
// Initialize font system
InitFreeType((u8*)font_ttf, font_ttf_size);
InitFreeType((u8*)font_ttf, font_ttf_size); // Initialize font system
InitGUIThreads();
// allocate memory to store rom

View File

@ -357,9 +357,9 @@ static unsigned char DecodeJoy(unsigned short chan)
unsigned char J = 0;
#ifdef HW_RVL
s8 wm_ax = userInput[0].WPAD_StickX(0);
s8 wm_ay = userInput[0].WPAD_StickY(0);
u32 wp = userInput[0].wpad->btns_h;
s8 wm_ax = userInput[chan].WPAD_StickX(0);
s8 wm_ay = userInput[chan].WPAD_StickY(0);
u32 wp = userInput[chan].wpad->btns_h;
u32 exp_type;
if ( WPAD_Probe(chan, &exp_type) != 0 ) exp_type = WPAD_EXP_NONE;