From aaf3b4cf3b666901ad4b5ca8b9d5fb1a34351e7d Mon Sep 17 00:00:00 2001 From: David Haywood Date: Sun, 8 Sep 2013 18:26:48 +0000 Subject: [PATCH] fix typo (nw) --- src/emu/machine/serflash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/machine/serflash.c b/src/emu/machine/serflash.c index 836195dd4a7..c1346b1f9bf 100644 --- a/src/emu/machine/serflash.c +++ b/src/emu/machine/serflash.c @@ -72,7 +72,7 @@ void serflash_device::nvram_default() void serflash_device::nvram_read(emu_file &file) { if (m_length % FLASH_PAGE_SIZE) return; // region size must be multiple of flash page size - int size = m_length /= FLASH_PAGE_SIZE; + int size = m_length / FLASH_PAGE_SIZE; if (file) @@ -98,7 +98,7 @@ void serflash_device::nvram_read(emu_file &file) void serflash_device::nvram_write(emu_file &file) { if (m_length % FLASH_PAGE_SIZE) return; // region size must be multiple of flash page size - int size = m_length /= FLASH_PAGE_SIZE; + int size = m_length / FLASH_PAGE_SIZE; UINT32 page = 0; while (page < size)