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.
|
* 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..
|
* Returns: true if libretro frame is one-shot, otherwise false..
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
static inline bool check_is_oneshot(bool oneshot_pressed, bool rewind_pressed)
|
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);
|
return (oneshot_pressed | rewind_pressed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue