mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-02 23:14:34 +00:00
Nit/cleanup
This commit is contained in:
parent
1c25daf578
commit
42b990fd09
@ -104,13 +104,14 @@ static bool check_pause(bool pressed, bool frameadvance_pressed)
|
||||
*
|
||||
* Checks if the current frame is one-shot frame type.
|
||||
*
|
||||
* Rewind buttons works like FRAMEREWIND when paused.
|
||||
* We will one-shot in that case.
|
||||
*
|
||||
* Returns: true if libretro frame is one-shot, otherwise false..
|
||||
*
|
||||
**/
|
||||
static inline bool check_is_oneshot(bool oneshot_pressed, bool rewind_pressed)
|
||||
{
|
||||
/* Rewind buttons works like FRAMEREWIND when paused.
|
||||
* We will one-shot in that case. */
|
||||
return (oneshot_pressed | rewind_pressed);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user