summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/stfight.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/stfight.c')
-rw-r--r--src/mame/machine/stfight.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/stfight.c b/src/mame/machine/stfight.c
index 0884b0a3830..7cbb766af3f 100644
--- a/src/mame/machine/stfight.c
+++ b/src/mame/machine/stfight.c
@@ -39,7 +39,7 @@ static UINT8 *decrypt;
DRIVER_INIT( empcity )
{
- UINT8 *rom = memory_region(machine, RGNCLASS_CPU, "main");
+ UINT8 *rom = memory_region(machine, "main");
int A;
decrypt = auto_malloc(0x8000);
@@ -90,7 +90,7 @@ MACHINE_RESET( stfight )
// - in fact I don't even know how/where it's switched in!
static WRITE8_HANDLER( stfight_bank_w )
{
- UINT8 *ROM2 = memory_region(machine, RGNCLASS_CPU, "main") + 0x10000;
+ UINT8 *ROM2 = memory_region(machine, "main") + 0x10000;
memory_set_bankptr( 1, &ROM2[data<<14] );
}
@@ -186,7 +186,7 @@ static int adpcm_data_end;
void stfight_adpcm_int( running_machine *machine, int data )
{
static int toggle;
- UINT8 *SAMPLES = memory_region(machine, RGNCLASS_SOUND, "adpcm");
+ UINT8 *SAMPLES = memory_region(machine, "adpcm");
int adpcm_data = SAMPLES[adpcm_data_offs & 0x7fff];
// finished playing sample?