summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sndintrf.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-08 06:53:40 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-08 06:53:40 +0000
commitb24198a1cd5afaed90b3a2a6f8d11935fc40e592 (patch)
treee10b8605798c6ddb6f59636f7cdb9c7c0d9a9369 /src/emu/sndintrf.h
parent60febeb3d9f026b4a8344735a551e31770394f77 (diff)
Hi mamedev,
This is a reworked/expanded version of the patch I sent yesterday. This one is split into three parts: 1. This introduces function macros for SAMPLES_START, CUSTOM_{START,STOP,RESET}, and ANTIC_RENDERER. 2. This introduces running_machine *machine throughout MAME. Principally it adds running_machine *machine = Machine to the top of functions, but in some static functions the parameter is added directly. Some similar changes in 99xxcore.h, v9938.c, v9938mod.c, galaxold.c, psx.c, taito_l.c are also made to eliminate Machine params. No global API is changed. 3. This changes the APIs introduced in the first part to pass device or space as appropriate. A few similar changes in some other global apis are made as well. The net result of this sequence of patches is to remove 40% of the Machine references and 27 deprecat.h includes. ~aa
Diffstat (limited to 'src/emu/sndintrf.h')
-rw-r--r--src/emu/sndintrf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sndintrf.h b/src/emu/sndintrf.h
index af0172d03cd..08d9502ccc5 100644
--- a/src/emu/sndintrf.h
+++ b/src/emu/sndintrf.h
@@ -341,7 +341,7 @@ const char *sndtype_get_info_string(sound_type sndtype, UINT32 state);
/* Initialization/Tear down */
void sndintrf_init(running_machine *machine);
-int sndintrf_init_sound(int sndnum, const char *tag, sound_type sndtype, int clock, const void *config);
+int sndintrf_init_sound(running_machine *machine, int sndnum, const char *tag, sound_type sndtype, int clock, const void *config);
void sndintrf_exit_sound(int sndnum);
void sndintrf_register_token(void *token);