From 9dcf860d39631d2fb9bc3d9e1f48435254bbedb5 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Thu, 7 Jul 2022 21:24:09 -0600 Subject: [PATCH] update core --- mupen64plus-core/src/device/pif/pif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mupen64plus-core/src/device/pif/pif.c b/mupen64plus-core/src/device/pif/pif.c index 8dd0e86..40e3d92 100644 --- a/mupen64plus-core/src/device/pif/pif.c +++ b/mupen64plus-core/src/device/pif/pif.c @@ -144,7 +144,6 @@ void init_pif(struct pif* pif, pif->r4300 = r4300; pif->si = si; - pif->update_counter = 0; } void reset_pif(struct pif* pif, unsigned int reset_type) @@ -280,6 +279,7 @@ static void process_cic_challenge(struct pif* pif) void poweron_pif(struct pif* pif) { memset(pif->ram, 0, PIF_RAM_SIZE); + pif->update_counter = 0; reset_pif(pif, 0); /* cold reset */ }