mirror of
https://github.com/holub/mame
synced 2025-05-24 23:05:32 +03:00
Keep MSVC and me happy :) (no whatsnew)
This commit is contained in:
parent
0584baf45f
commit
b49370f475
@ -220,7 +220,7 @@ void riot6532_device::timer_end()
|
||||
|
||||
WRITE8_DEVICE_HANDLER( riot6532_w )
|
||||
{
|
||||
riot6532_device *via = reinterpret_cast<riot6532_device *>(device);
|
||||
riot6532_device *via = downcast<riot6532_device *>(device);
|
||||
via->reg_w(offset, data);
|
||||
}
|
||||
|
||||
@ -313,7 +313,7 @@ void riot6532_device::reg_w(UINT8 offset, UINT8 data)
|
||||
|
||||
READ8_DEVICE_HANDLER( riot6532_r )
|
||||
{
|
||||
riot6532_device *via = reinterpret_cast<riot6532_device *>(device);
|
||||
riot6532_device *via = downcast<riot6532_device *>(device);
|
||||
return via->reg_r(offset);
|
||||
}
|
||||
|
||||
@ -399,7 +399,7 @@ UINT8 riot6532_device::reg_r(UINT8 offset)
|
||||
|
||||
void riot6532_porta_in_set(running_device *device, UINT8 data, UINT8 mask)
|
||||
{
|
||||
riot6532_device *via = reinterpret_cast<riot6532_device *>(device);
|
||||
riot6532_device *via = downcast<riot6532_device *>(device);
|
||||
via->porta_in_set(data, mask);
|
||||
}
|
||||
|
||||
@ -416,7 +416,7 @@ void riot6532_device::porta_in_set(UINT8 data, UINT8 mask)
|
||||
|
||||
void riot6532_portb_in_set(running_device *device, UINT8 data, UINT8 mask)
|
||||
{
|
||||
riot6532_device *via = reinterpret_cast<riot6532_device *>(device);
|
||||
riot6532_device *via = downcast<riot6532_device *>(device);
|
||||
via->portb_in_set(data, mask);
|
||||
}
|
||||
|
||||
@ -432,7 +432,7 @@ void riot6532_device::portb_in_set(UINT8 data, UINT8 mask)
|
||||
|
||||
UINT8 riot6532_porta_in_get(running_device *device)
|
||||
{
|
||||
riot6532_device *via = reinterpret_cast<riot6532_device *>(device);
|
||||
riot6532_device *via = downcast<riot6532_device *>(device);
|
||||
return via->porta_in_get();
|
||||
}
|
||||
|
||||
@ -448,7 +448,7 @@ UINT8 riot6532_device::porta_in_get()
|
||||
|
||||
UINT8 riot6532_portb_in_get(running_device *device)
|
||||
{
|
||||
riot6532_device *via = reinterpret_cast<riot6532_device *>(device);
|
||||
riot6532_device *via = downcast<riot6532_device *>(device);
|
||||
return via->portb_in_get();
|
||||
}
|
||||
|
||||
@ -464,7 +464,7 @@ UINT8 riot6532_device::portb_in_get()
|
||||
|
||||
UINT8 riot6532_porta_out_get(running_device *device)
|
||||
{
|
||||
riot6532_device *via = reinterpret_cast<riot6532_device *>(device);
|
||||
riot6532_device *via = downcast<riot6532_device *>(device);
|
||||
return via->porta_out_get();
|
||||
}
|
||||
|
||||
@ -480,7 +480,7 @@ UINT8 riot6532_device::porta_out_get()
|
||||
|
||||
UINT8 riot6532_portb_out_get(running_device *device)
|
||||
{
|
||||
riot6532_device *via = reinterpret_cast<riot6532_device *>(device);
|
||||
riot6532_device *via = downcast<riot6532_device *>(device);
|
||||
return via->portb_out_get();
|
||||
}
|
||||
|
||||
|
@ -230,7 +230,7 @@ void ttl74123_device::start_pulse()
|
||||
|
||||
WRITE8_DEVICE_HANDLER( ttl74123_a_w )
|
||||
{
|
||||
ttl74123_device *dev = reinterpret_cast<ttl74123_device *>(device);
|
||||
ttl74123_device *dev = downcast<ttl74123_device *>(device);
|
||||
dev->a_w(data);
|
||||
}
|
||||
|
||||
@ -248,7 +248,7 @@ void ttl74123_device::a_w(UINT8 data)
|
||||
|
||||
WRITE8_DEVICE_HANDLER( ttl74123_b_w )
|
||||
{
|
||||
ttl74123_device *dev = reinterpret_cast<ttl74123_device *>(device);
|
||||
ttl74123_device *dev = downcast<ttl74123_device *>(device);
|
||||
dev->b_w(data);
|
||||
}
|
||||
|
||||
@ -266,7 +266,7 @@ void ttl74123_device::b_w(UINT8 data)
|
||||
|
||||
WRITE8_DEVICE_HANDLER( ttl74123_clear_w )
|
||||
{
|
||||
ttl74123_device *dev = reinterpret_cast<ttl74123_device *>(device);
|
||||
ttl74123_device *dev = downcast<ttl74123_device *>(device);
|
||||
dev->clear_w(data);
|
||||
}
|
||||
|
||||
@ -288,7 +288,7 @@ void ttl74123_device::clear_w(UINT8 data)
|
||||
|
||||
WRITE8_DEVICE_HANDLER( ttl74123_reset_w )
|
||||
{
|
||||
ttl74123_device *dev = reinterpret_cast<ttl74123_device *>(device);
|
||||
ttl74123_device *dev = downcast<ttl74123_device *>(device);
|
||||
dev->reset_w();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user