summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/samples.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/samples.c')
-rw-r--r--src/emu/sound/samples.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/samples.c b/src/emu/sound/samples.c
index 0d64b2d4a02..870fda7eabc 100644
--- a/src/emu/sound/samples.c
+++ b/src/emu/sound/samples.c
@@ -185,7 +185,7 @@ loaded_samples *readsamples(running_machine *machine, const char *const *samplen
int i;
/* if the user doesn't want to use samples, bail */
- if (!options_get_bool(mame_options(), OPTION_SAMPLES))
+ if (!options_get_bool(machine->options(), OPTION_SAMPLES))
return NULL;
if (samplenames == 0 || samplenames[0] == 0)
return NULL;