From 9a4beeadfada4f95038cfcbd09d17adaed36412e Mon Sep 17 00:00:00 2001 From: NewRisingSun <8vytz1+dhp372pv94ebg@sharklasers.com> Date: Thu, 25 Dec 2025 03:35:55 +0100 Subject: [PATCH] VRC2/4: added a missing return statement --- src/boards/asic_vrc2and4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boards/asic_vrc2and4.c b/src/boards/asic_vrc2and4.c index 3e0cc22..a0472e7 100644 --- a/src/boards/asic_vrc2and4.c +++ b/src/boards/asic_vrc2and4.c @@ -113,7 +113,7 @@ DECLFR (VRC24_readWRAM) { return VRC24_cbReadWRAM(A); else if (WRAMSize) - CartBR(((A -0x6000) &(WRAMSize -1)) +0x6000); + return CartBR(((A -0x6000) &(WRAMSize -1)) +0x6000); else return A >>8; } else