Skip to content

Commit

Permalink
Fix mising include
Browse files Browse the repository at this point in the history
  • Loading branch information
fishcu committed Feb 16, 2025
1 parent f04c6ac commit 7006761
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions location/drivers/android.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/

#include "../../command.h"
#include "../../location_driver.h"
#include "../../retroarch.h"

Expand Down Expand Up @@ -140,9 +141,7 @@ static void android_location_stop(void *data)
return;

settings_t* settings = config_get_ptr();
bool auto_save_state = settings->bools.auto_save_state;

if (auto_save_state)
if (settings->bools.auto_save_state)
{
/* Make a save state */
command_event(CMD_EVENT_SAVE_STATE, NULL);
Expand Down

0 comments on commit 7006761

Please sign in to comment.