From 01f05327ce4ae7f091c2c7a432ad4c44865f3784 Mon Sep 17 00:00:00 2001 From: Cuyler36 Date: Wed, 20 Aug 2025 18:08:05 -0400 Subject: [PATCH] Really fix build --- src/static/Famicom/ks_nes_core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static/Famicom/ks_nes_core.cpp b/src/static/Famicom/ks_nes_core.cpp index 27a8ae0d..646156b2 100644 --- a/src/static/Famicom/ks_nes_core.cpp +++ b/src/static/Famicom/ks_nes_core.cpp @@ -2673,7 +2673,7 @@ int ksNesReset(ksNesCommonWorkObj* wp, ksNesStateObj* sp, u32 flags, u8* chrramp if (flags & 1) { // temporarily save the work ram state. - memcpy(&wp->work_priv.wram, &sp->wram, KS_NES_WRAM_SIZE); + memcpy(&wp->work_priv._0000, &sp->wram, KS_NES_WRAM_SIZE); } // zero out the state struct. @@ -2681,7 +2681,7 @@ int ksNesReset(ksNesCommonWorkObj* wp, ksNesStateObj* sp, u32 flags, u8* chrramp if (flags & 1) { // restore the previously saved work ram state. - memcpy(&sp->wram, &wp->work_priv.wram, KS_NES_WRAM_SIZE); + memcpy(&sp->wram, &wp->work_priv._0000, KS_NES_WRAM_SIZE); } else { // fill ram with a predetermined pattern.