mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 17:10:12 +00:00
Fixes.
This commit is contained in:
parent
38ae262d85
commit
4daa48783e
2
config.h
2
config.h
@ -39,7 +39,7 @@
|
||||
|
||||
// Chooses which video and audio subsystem to use. Remember to update config.mk if you change these.
|
||||
#define VIDEO_DRIVER VIDEO_GL
|
||||
#define AUDIO_DRIVER AUDIO_ALSA
|
||||
#define AUDIO_DRIVER AUDIO_RSOUND
|
||||
|
||||
|
||||
////////////////
|
||||
|
@ -2,9 +2,9 @@
|
||||
BUILD_OPENGL = 1
|
||||
BUILD_FILTER = 0
|
||||
|
||||
BUILD_RSOUND = 0
|
||||
BUILD_RSOUND = 1
|
||||
BUILD_OSS = 0
|
||||
BUILD_ALSA = 1
|
||||
BUILD_ALSA = 0
|
||||
|
||||
|
||||
PREFIX = /usr/local
|
||||
|
8
gl.c
8
gl.c
@ -73,8 +73,12 @@ static int16_t glfw_input_state(void *data, const struct snes_keybind *snes_keyb
|
||||
{
|
||||
if ( snes_keybinds[i].id == SNES_FAST_FORWARD_KEY )
|
||||
{
|
||||
if ( snes_keybinds[i].joykey < joypad_buttons )
|
||||
set_fast_forward_button(buttons[snes_keybinds[i].joykey] == GLFW_PRESS);
|
||||
bool pressed = false;
|
||||
if ( glfwGetKey(snes_keybinds[i].key) )
|
||||
pressed = true;
|
||||
else if ( snes_keybinds[i].joykey < joypad_buttons && buttons[snes_keybinds[i].joykey] == GLFW_PRESS )
|
||||
pressed = true;
|
||||
set_fast_forward_button(pressed);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user