mirror of
https://github.com/holub/mame
synced 2025-05-30 01:23:07 +03:00
fixed a couple of copy'n'paste mistakes. nw.
This commit is contained in:
parent
0584bb9d5a
commit
50556f16b2
@ -52,7 +52,7 @@ void device_gba_cart_interface::nvram_alloc(running_machine &machine, UINT32 siz
|
||||
{
|
||||
m_nvram = auto_alloc_array_clear(machine, UINT32, size/sizeof(UINT32));
|
||||
m_nvram_size = size;
|
||||
state_save_register_item_pointer(machine, "GBA_CART", this->device().tag(), 0, m_nvram, m_nvram_size);
|
||||
state_save_register_item_pointer(machine, "GBA_CART", this->device().tag(), 0, m_nvram, m_nvram_size/sizeof(UINT32));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,7 @@ void device_md_cart_interface::nvram_alloc(running_machine &machine, size_t size
|
||||
{
|
||||
m_nvram = auto_alloc_array_clear(machine, UINT16, size/sizeof(UINT16));
|
||||
m_nvram_size = size;
|
||||
state_save_register_item_pointer(machine, "MD_CART", this->device().tag(), 0, m_nvram, m_nvram_size);
|
||||
state_save_register_item_pointer(machine, "MD_CART", this->device().tag(), 0, m_nvram, m_nvram_size/sizeof(UINT16));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user