retro_cheat_set

Function retro_cheat_set 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn retro_cheat_set( index: c_uint, enabled: bool, code: *const c_char, )
Expand description

Called by the frontend whenever a cheat should be applied.

The format is core-specific but this function lacks a return value, so a Core can’t tell the frontend if it failed to parse a code.