summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/cclimber.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/cclimber.c')
-rw-r--r--src/mame/audio/cclimber.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/audio/cclimber.c b/src/mame/audio/cclimber.c
index 7e6c85c48ce..1385ab9fa8c 100644
--- a/src/mame/audio/cclimber.c
+++ b/src/mame/audio/cclimber.c
@@ -17,16 +17,16 @@ static INT16 *samplebuf; /* buffer to decode samples at run time */
static void cclimber_sh_start(void)
{
samplebuf = 0;
- if (memory_region(Machine, RGNCLASS_SOUND, "samples"))
- samplebuf = auto_malloc(sizeof(*samplebuf)*2*memory_region_length(Machine, RGNCLASS_SOUND, "samples"));
+ if (memory_region(Machine, "samples"))
+ samplebuf = auto_malloc(sizeof(*samplebuf)*2*memory_region_length(Machine, "samples"));
}
static void cclimber_play_sample(int start,int freq,int volume)
{
int len;
- int romlen = memory_region_length(Machine, RGNCLASS_SOUND, "samples");
- const UINT8 *rom = memory_region(Machine, RGNCLASS_SOUND, "samples");
+ int romlen = memory_region_length(Machine, "samples");
+ const UINT8 *rom = memory_region(Machine, "samples");
if (!rom) return;