diff options
| author | 2012-01-26 12:41:49 +0000 | |
|---|---|---|
| committer | 2012-01-26 12:41:49 +0000 | |
| commit | c3aa030ebf28141569e1e52681571f00afa834b2 (patch) | |
| tree | 9a0d18212a6a61eb19885379fd1e66d5f61a3a33 /src/emu/validity.c | |
| parent | 7e6dddf66cb39101b9840fe9ae97acd7c91b9dc1 (diff) | |
Fix for slot validation, all device related options are removed when doing validation, otherwise wrong data could be used (no whatsnew)
Diffstat (limited to 'src/emu/validity.c')
| -rw-r--r-- | src/emu/validity.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/validity.c b/src/emu/validity.c index 8fb14d76c82..d33c033b1b4 100644 --- a/src/emu/validity.c +++ b/src/emu/validity.c @@ -296,7 +296,10 @@ void validity_checker::validate_one(const game_driver &driver) // wrap in try/except to catch fatalerrors try { - machine_config config(driver, m_drivlist.options()); + emu_options validation_options(m_drivlist.options()); + validation_options.remove_device_options(); + + machine_config config(driver, validation_options); m_current_config = &config; validate_driver(); validate_roms(); |
