mirror of
https://github.com/holub/mame
synced 2025-05-06 14:25:54 +03:00
fix typo (nw)
This commit is contained in:
parent
158a13f206
commit
aaf3b4cf3b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user