mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 18:50:29 +00:00
(PS3) Implemented rewind/fast forward hooks
This commit is contained in:
parent
278f314c03
commit
a63ccbbdab
@ -257,7 +257,7 @@
|
||||
|
||||
# Enable rewinding. This will take a performance hit when playing, so it is disabled by default.
|
||||
# Do note that rewinding will only work properly when using bSNES libsnes core atm.
|
||||
# rewind_enable = false
|
||||
# rewind_enable = true
|
||||
|
||||
# Rewinding buffer size in megabytes. Bigger rewinding buffer means you can rewind longer.
|
||||
# The buffer should be approx. 20MB per minute of buffer time.
|
||||
|
@ -112,8 +112,12 @@ static void* ps3_input_init(void)
|
||||
static bool ps3_key_pressed(void *data, int key)
|
||||
{
|
||||
(void)data;
|
||||
(void)key;
|
||||
return false; // Dummy for now.
|
||||
if (key == SSNES_FAST_FORWARD_HOLD_KEY)
|
||||
return CTRL_RSTICK_UP(state[0]);
|
||||
else if (key == SSNES_REWIND)
|
||||
return CTRL_RSTICK_DOWN(state[0]);
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
const input_driver_t input_ps3 = {
|
||||
|
Loading…
Reference in New Issue
Block a user