summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/validity.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-09-03 05:21:46 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-09-03 05:21:46 +0000
commite4d8baf401de8c6027dfbbaaaf8bf106c0c5b4d2 (patch)
treea9bfeea40775873a0422f635611c83cffe2e6ac1 /src/emu/validity.h
parent36b6a9d651fd2d087985d7060b2b1542f0549c50 (diff)
Changed driver_device to expose the game_driver's ROMs through the
device interface. This means all ROMs are now exposed via devices, and thus the process of enumerating ROMs gets simpler. Changed all instances of temporarily allocating machine_config objects to just put them on the stack for simplicity, letting the destructor handle the cleanup work automatically. Changed machine_config constructor to take a game_driver, from which the machine_config constructor is obtained. This also means the resulting machine_config holds a reference to the game_driver. Changed running_machine constructor to no longer take a game_driver, since the game_driver is now obtainable via the machine_config.
Diffstat (limited to 'src/emu/validity.h')
-rw-r--r--src/emu/validity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/validity.h b/src/emu/validity.h
index b70739658a8..39013d674e7 100644
--- a/src/emu/validity.h
+++ b/src/emu/validity.h
@@ -15,6 +15,6 @@
#define __VALIDITY_H__
bool mame_validitychecks(const game_driver *driver);
-bool validate_tag(const game_driver *driver, const char *object, const char *tag);
+bool validate_tag(const game_driver &driver, const char *object, const char *tag);
#endif