libretro: Cheat support
This commit is contained in:
@ -79,12 +79,14 @@ RETRO_API bool retro_unserialize(const void* data, size_t size)
|
||||
|
||||
RETRO_API void retro_cheat_reset(void)
|
||||
{
|
||||
Log_ErrorPrintf("retro_cheat_reset()");
|
||||
Log_InfoPrint("retro_cheat_reset()");
|
||||
g_libretro_host_interface.retro_cheat_reset();
|
||||
}
|
||||
|
||||
RETRO_API void retro_cheat_set(unsigned index, bool enabled, const char* code)
|
||||
{
|
||||
Log_ErrorPrintf("retro_cheat_set(%u, %u, %s)", index, enabled, code);
|
||||
Log_InfoPrintf("retro_cheat_set(%u, %u, %s)", index, enabled, code);
|
||||
g_libretro_host_interface.retro_cheat_set(index, enabled, code);
|
||||
}
|
||||
|
||||
RETRO_API bool retro_load_game(const struct retro_game_info* game)
|
||||
|
||||
Reference in New Issue
Block a user