From 909bfa63d2b065893bfaf2fa2e4491eb1410db9d Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Fri, 3 Nov 2023 20:12:18 +0100 Subject: [PATCH] lightrec: Update prototypes of memory write callbacks They now take an u32 instead of u8/u16. Signed-off-by: Paul Cercueil --- libpcsxcore/lightrec/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpcsxcore/lightrec/plugin.c b/libpcsxcore/lightrec/plugin.c index 703726e3..22342fef 100644 --- a/libpcsxcore/lightrec/plugin.c +++ b/libpcsxcore/lightrec/plugin.c @@ -163,7 +163,7 @@ static void lightrec_tansition_from_pcsx(struct lightrec_state *state) } static void hw_write_byte(struct lightrec_state *state, - u32 op, void *host, u32 mem, u8 val) + u32 op, void *host, u32 mem, u32 val) { lightrec_tansition_to_pcsx(state); @@ -173,7 +173,7 @@ static void hw_write_byte(struct lightrec_state *state, } static void hw_write_half(struct lightrec_state *state, - u32 op, void *host, u32 mem, u16 val) + u32 op, void *host, u32 mem, u32 val) { lightrec_tansition_to_pcsx(state); -- 2.39.5