summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/mame.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-08-30 05:42:33 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-08-30 05:42:33 +0000
commit4a80c53a8d5e34cea84cd1f8a0061600a548e354 (patch)
treecf276b7afe9116bba0ce78ebb421875692287b8f /src/emu/mame.h
parent6953873e135a319247a2868c796057b9e98dbe99 (diff)
[from AtariAce]
Hi mamedev, This patch continues deglobalifying the MAME core, this time targeting sound.c. The first two patches adds running_machine to apis in sound.h that lack it (the first patch is generated by the perl script, the second patch fixes some cases it didn't handle well). The last patch then removes the globals in the traditional way. ~aa
Diffstat (limited to 'src/emu/mame.h')
-rw-r--r--src/emu/mame.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/mame.h b/src/emu/mame.h
index 375d3a07331..9a2de49849d 100644
--- a/src/emu/mame.h
+++ b/src/emu/mame.h
@@ -134,6 +134,7 @@ typedef struct _tilemap_private tilemap_private;
typedef struct _streams_private streams_private;
typedef struct _devices_private devices_private;
typedef struct _romload_private romload_private;
+typedef struct _sound_private sound_private;
typedef struct _input_port_private input_port_private;
typedef struct _ui_input_private ui_input_private;
typedef struct _cheat_private cheat_private;
@@ -184,6 +185,7 @@ struct _running_machine
streams_private * streams_data; /* internal data from streams.c */
devices_private * devices_data; /* internal data from devices.c */
romload_private * romload_data; /* internal data from romload.c */
+ sound_private * sound_data; /* internal data from sound.c */
input_port_private * input_port_data; /* internal data from inptport.c */
ui_input_private * ui_input_data; /* internal data from uiinput.c */
cheat_private * cheat_data; /* internal data from cheat.c */