Skip to content

Commit

Permalink
Fixes from @jdgleaver
Browse files Browse the repository at this point in the history
  • Loading branch information
bhamiltoncx committed Sep 23, 2021
1 parent eb657d1 commit 53c8d94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions input/input_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <string/stdstring.h>
#include <encodings/utf.h>
#include <clamping.h>
#include <retro_assert.h>

#include "input_driver.h"
#include "input_keymaps.h"
Expand Down Expand Up @@ -463,6 +464,9 @@ bool input_driver_button_combo(
retro_time_t current_time,
input_bits_t* p_input)
{
retro_assert(input_driver_state != NULL);
retro_assert(p_input != NULL);

switch (mode)
{
case INPUT_COMBO_DOWN_Y_L_R:
Expand Down
4 changes: 2 additions & 2 deletions retroarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -28158,7 +28158,7 @@ static enum runloop_state runloop_check_state(
if (
((menu_toggle_gamepad_combo != INPUT_COMBO_NONE) &&
input_driver_button_combo(
&(p_rarch->input_driver_state),
input_driver_st,
menu_toggle_gamepad_combo,
current_time,
&last_input)))
Expand Down Expand Up @@ -28331,7 +28331,7 @@ static enum runloop_state runloop_check_state(
if (!trig_quit_key &&
((quit_gamepad_combo != INPUT_COMBO_NONE) &&
input_driver_button_combo(
&(p_rarch->input_driver_state),
input_driver_st,
quit_gamepad_combo,
current_time,
&current_bits)))
Expand Down

0 comments on commit 53c8d94

Please sign in to comment.