From dff35aab6c6c886cca610e7832874c8cc37da558 Mon Sep 17 00:00:00 2001 From: offtkp Date: Sun, 3 Sep 2023 22:19:21 +0300 Subject: [PATCH] =?UTF-8?q?=E3=80=90rcheevos=E3=80=91RA=20memory=20read=20?= =?UTF-8?q?function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index f0a7ebe90..7ea00178c 100644 --- a/src/main.c +++ b/src/main.c @@ -1295,7 +1295,22 @@ void se_draw_emu_stats(){ } #ifdef ENABLE_RETRO_ACHIEVEMENTS static uint32_t se_ra_read_memory_callback(uint32_t address, uint8_t* buffer, uint32_t num_bytes, rc_client_t* client){ - // TODO: handle reading from consoles + if(emu_state.system==SYSTEM_GB){ + for(uint32_t i=0;i