mirror of
https://github.com/holub/mame
synced 2025-04-25 01:40:16 +03:00
Misc fixes (nw)
This commit is contained in:
parent
6fa20b54da
commit
4ea3dde4f3
@ -497,9 +497,11 @@ void ygv608_device::device_start()
|
||||
// any address spaces owned by this device
|
||||
//-------------------------------------------------
|
||||
|
||||
const address_space_config *ygv608_device::memory_space_config(address_spacenum spacenum) const
|
||||
std::vector<std::pair<int, const address_space_config *>> ygv608_device::memory_space_config() const
|
||||
{
|
||||
return (spacenum == AS_IO) ? &m_io_space_config : nullptr;
|
||||
return std::vector<std::pair<int, const address_space_config *>> {
|
||||
std::make_pair(AS_IO, &m_io_space_config)
|
||||
};
|
||||
}
|
||||
|
||||
inline void ygv608_device::vblank_irq_check()
|
||||
|
@ -89,7 +89,7 @@ protected:
|
||||
// device-level overrides
|
||||
virtual void device_start() override;
|
||||
|
||||
virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_IO) const override;
|
||||
virtual std::vector<std::pair<int, const address_space_config *>> memory_space_config() const override;
|
||||
|
||||
void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
|
||||
address_space *m_iospace;
|
||||
|
@ -185,7 +185,7 @@
|
||||
if (device->interface(memory))
|
||||
{
|
||||
NSBox *memoryBox = nil;
|
||||
for (int i = 0; i < ADDRESS_SPACES; i++)
|
||||
for (int i = 0; i < memory->max_space_count(); i++)
|
||||
{
|
||||
if (memory->has_space(i))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user