MMC3: Make sure to free any allocated memory when using MMC3 as an external module.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#include "mapinc.h"
|
||||
#include "mmc3.h"
|
||||
|
||||
static uint8 lut[4] = { 0x00, 0x02, 0x02, 0x03 };
|
||||
static const uint8 lut[4] = { 0x00, 0x02, 0x02, 0x03 };
|
||||
|
||||
static DECLFW(UNL6035052ProtWrite) {
|
||||
EXPREGS[0] = lut[V & 3];
|
||||
|
||||
Reference in New Issue
Block a user