Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/libretro-fceumm/libretro.c b/libretro-fceumm/libretro.c
- index 342ffe6..99740b3 100644
- --- a/libretro-fceumm/libretro.c
- +++ b/libretro-fceumm/libretro.c
- @@ -398,13 +398,8 @@ void retro_init(void)
- static void emulator_set_input(void)
- {
- // ?!?!?!?! Why does this matter?!
- -#if defined(__CELLOS_LV2__) || defined(_XBOX) || defined(GEKKO) // <-- big endian
- FCEUI_SetInput(0, SI_GAMEPAD, &JSReturn[0], 0);
- FCEUI_SetInput(1, SI_GAMEPAD, &JSReturn[0], 0);
- -#else
- - FCEUI_SetInput(0, SI_GAMEPAD, &JSReturn[0], 0);
- - FCEUI_SetInput(1, SI_GAMEPAD, &JSReturn[1], 0);
- -#endif
- }
- static void emulator_set_custom_palette (void)
- @@ -487,13 +482,7 @@ static void update_input(void)
- pad[1] |= input_cb(1, RETRO_DEVICE_JOYPAD, 0, bindmap[i].retro) ? bindmap[i].nes : 0;
- }
- - // This shouldn't matter. Why? Something very weird is going on.
- -#if defined(__CELLOS_LV2__) || defined(_XBOX360) || defined(GEKKO) // <-- big endian
- JSReturn[0] = pad[0] | (pad[1] << 8);
- -#else
- - JSReturn[0] = pad[0];
- - JSReturn[1] = pad[1];
- -#endif
- }
Add Comment
Please, Sign In to add comment