mirror of
https://github.com/holub/mame
synced 2025-05-25 07:15:25 +03:00
Experimental, and somewhat gross, fix for the MIE issues [O. Galibert]
This commit is contained in:
parent
cd24a7e6ec
commit
a0a3fffa8b
@ -157,7 +157,7 @@ void maple_dc_device::dma_step()
|
||||
break;
|
||||
case 3: // reset
|
||||
if(devices[dma_port])
|
||||
devices[dma_port]->reset();
|
||||
devices[dma_port]->maple_reset();
|
||||
break;
|
||||
case 4: // sdckb occupy cancel
|
||||
logerror("MAPLE: sdckb occupy cancel\n");
|
||||
|
@ -29,6 +29,11 @@ void maple_device::device_start()
|
||||
save_item(NAME(reply_partial));
|
||||
}
|
||||
|
||||
void maple_device::maple_reset()
|
||||
{
|
||||
device_reset();
|
||||
}
|
||||
|
||||
void maple_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
|
||||
{
|
||||
if(id != TIMER_ID)
|
||||
|
@ -13,6 +13,7 @@ public:
|
||||
static void static_set_host(device_t &device, const char *_host_tag, int _host_port);
|
||||
virtual void maple_w(const UINT32 *data, UINT32 in_size) = 0;
|
||||
void maple_r(UINT32 *data, UINT32 &out_size, bool &partial);
|
||||
virtual void maple_reset();
|
||||
|
||||
protected:
|
||||
enum { TIMER_ID = 1000 };
|
||||
|
@ -361,4 +361,6 @@ READ8_MEMBER(mie_device::jvs_sense_r)
|
||||
return 0x8c | (jvs->get_address_set_line() ? 2 : 0) | (jvs->get_presence_line() ? 0 : 1);
|
||||
}
|
||||
|
||||
|
||||
void mie_device::maple_reset()
|
||||
{
|
||||
}
|
||||
|
@ -69,6 +69,7 @@ public:
|
||||
static IRQ_CALLBACK(irq_callback_1);
|
||||
|
||||
void maple_w(const UINT32 *data, UINT32 in_size);
|
||||
virtual void maple_reset();
|
||||
|
||||
protected:
|
||||
const char *gpio_name[8];
|
||||
|
Loading…
Reference in New Issue
Block a user