Support for Libretro
Compare changes
Files
2+ 138
− 7
@@ -19,7 +27,10 @@ const REGION_NTSC: u32 = 0;
@@ -30,6 +41,83 @@ static mut INPUT_STATE_CALLBACK: Option<
@@ -76,7 +164,7 @@ pub unsafe extern "C" fn retro_init() {
@@ -120,8 +208,8 @@ pub unsafe extern "C" fn retro_get_system_av_info(info: *mut RetroSystemAvInfo)
@@ -218,8 +306,30 @@ pub extern "C" fn retro_run() {
@@ -243,8 +353,15 @@ pub extern "C" fn retro_get_region() -> u32 {
@@ -290,3 +407,17 @@ pub extern "C" fn retro_cheat_reset() {