From 9128b4e516438301cfcfa7f400d9a4b46bac73ac Mon Sep 17 00:00:00 2001 From: neonloop Date: Mon, 16 Jan 2023 23:15:21 +0000 Subject: Adds fake-08 core Includes resume state patch from shauninman, thanks! https://github.com/shauninman/picoarch/blob/miniui-miyoomini/patches/fake-08/001-fix-resume-state.patch --- core.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'core.c') diff --git a/core.c b/core.c index 57ad0d3..058236d 100644 --- a/core.c +++ b/core.c @@ -26,7 +26,6 @@ double frame_rate; double aspect_ratio; unsigned audio_buffer_size_override; int state_slot; -int resume_slot = -1; static char config_dir[MAX_PATH]; static char save_dir[MAX_PATH]; @@ -221,16 +220,6 @@ error: return ret; } -int state_resume(void) { - int ret = 0; - if (resume_slot != -1) { - state_slot = resume_slot; - ret = state_read(); - resume_slot = -1; - } - return ret; -} - unsigned disc_get_count(void) { if (disk_control_ext.get_num_images) return disk_control_ext.get_num_images(); -- cgit v1.2.3