From: Paul Cercueil Date: Fri, 3 Nov 2023 19:12:18 +0000 (+0100) Subject: lightrec: Update prototypes of memory write callbacks X-Git-Tag: r24l~74^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=909bfa63d2b065893bfaf2fa2e4491eb1410db9d;p=pcsx_rearmed.git lightrec: Update prototypes of memory write callbacks They now take an u32 instead of u8/u16. Signed-off-by: Paul Cercueil --- 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);