From 8969b0b7ee3a47b281d767dfea9f31b14a09b692 Mon Sep 17 00:00:00 2001 From: Scott Stone Date: Sat, 4 Sep 2010 16:51:25 +0000 Subject: [PATCH] Quick fix to relegate the eeprom warnings to debug build only. (no whatsnew.txt) Comment: There is still a major issue where this printf shows up when using many of the output commands -listxml, -romident and more. It should only show up when emulating the game, right? --- src/emu/machine/eeprom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/machine/eeprom.c b/src/emu/machine/eeprom.c index 6be7f010694..a701273b8b0 100644 --- a/src/emu/machine/eeprom.c +++ b/src/emu/machine/eeprom.c @@ -132,7 +132,7 @@ void eeprom_device_config::static_set_interface(device_config *device, const eep void eeprom_device_config::static_set_default_data(device_config *device, const UINT8 *data, UINT32 size) { eeprom_device_config *eeprom = downcast(device); -if (eeprom->m_data_bits != 8) mame_printf_warning("16-bit EEPROM set with 8-bit data\n"); +if (eeprom->m_data_bits != 8) mame_printf_debug("16-bit EEPROM set with 8-bit data\n"); // assert(eeprom->m_data_bits == 8); eeprom->m_default_data = data; eeprom->m_default_data_size = size; @@ -141,7 +141,7 @@ if (eeprom->m_data_bits != 8) mame_printf_warning("16-bit EEPROM set with 8-bit void eeprom_device_config::static_set_default_data(device_config *device, const UINT16 *data, UINT32 size) { eeprom_device_config *eeprom = downcast(device); -if (eeprom->m_data_bits != 16) mame_printf_warning("8-bit EEPROM set with 16-bit data\n"); +if (eeprom->m_data_bits != 16) mame_printf_debug("8-bit EEPROM set with 16-bit data\n"); // assert(eeprom->m_data_bits == 16); eeprom->m_default_data = reinterpret_cast(data); eeprom->m_default_data_size = size;