mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +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.
|
# 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.
|
# 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.
|
# Rewinding buffer size in megabytes. Bigger rewinding buffer means you can rewind longer.
|
||||||
# The buffer should be approx. 20MB per minute of buffer time.
|
# 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)
|
static bool ps3_key_pressed(void *data, int key)
|
||||||
{
|
{
|
||||||
(void)data;
|
(void)data;
|
||||||
(void)key;
|
if (key == SSNES_FAST_FORWARD_HOLD_KEY)
|
||||||
return false; // Dummy for now.
|
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 = {
|
const input_driver_t input_ps3 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user