VRC2/4: added a missing return statement

This commit is contained in:
NewRisingSun
2025-12-25 03:35:55 +01:00
parent 0caa462190
commit 9a4beeadfa

View File

@@ -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