Skip to content

Commit

Permalink
libretro: implement retro_reset().
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
  • Loading branch information
audetto committed Nov 28, 2021
1 parent 7037e20 commit 30dbfad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/frontends/libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "Video.h"
#include "Interface.h"
#include "Memory.h"
#include "Utilities.h"
#include "Debugger/DebugDefs.h"

#include "linux/version.h"
Expand Down Expand Up @@ -352,6 +353,7 @@ unsigned retro_get_region(void)
void retro_reset(void)
{
ra2::log_cb(RETRO_LOG_INFO, "RA2: %s\n", __FUNCTION__);
ResetMachineState();
}

bool retro_load_game_special(unsigned type, const struct retro_game_info *info, size_t num)
Expand Down

0 comments on commit 30dbfad

Please sign in to comment.