summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/system16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/system16.c')
-rw-r--r--src/mame/machine/system16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/system16.c b/src/mame/machine/system16.c
index 1a0d0a55733..29abf6672d7 100644
--- a/src/mame/machine/system16.c
+++ b/src/mame/machine/system16.c
@@ -11,7 +11,7 @@ UINT16 *sys16_extraram3;
static void patch_codeX( int offset, int data, const char *cpu ){
int aligned_offset = offset&0xfffffe;
- UINT16 *mem = (UINT16 *)memory_region(Machine, RGNCLASS_CPU, cpu);
+ UINT16 *mem = (UINT16 *)memory_region(Machine, cpu);
int old_word = mem[aligned_offset/2];
if( offset&1 )