mirror of
https://github.com/holub/mame
synced 2025-05-24 23:05:32 +03:00
Fix for slot validation, all device related options are removed when doing validation, otherwise wrong data could be used (no whatsnew)
This commit is contained in:
parent
7e6dddf66c
commit
c3aa030ebf
@ -296,7 +296,10 @@ void validity_checker::validate_one(const game_driver &driver)
|
|||||||
// wrap in try/except to catch fatalerrors
|
// wrap in try/except to catch fatalerrors
|
||||||
try
|
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;
|
m_current_config = &config;
|
||||||
validate_driver();
|
validate_driver();
|
||||||
validate_roms();
|
validate_roms();
|
||||||
|
Loading…
Reference in New Issue
Block a user