mirror of
https://github.com/holub/mame
synced 2025-05-21 05:08:54 +03:00
(corrected vrender0.c prev commit typo/compile error)
This commit is contained in:
parent
12aa3563c6
commit
406a384a0f
@ -94,7 +94,7 @@ INLINE vr0video_state *get_safe_token( running_device *device )
|
|||||||
{
|
{
|
||||||
assert(device != NULL);
|
assert(device != NULL);
|
||||||
assert(device->token != NULL);
|
assert(device->token != NULL);
|
||||||
assert(device->type == VRENDER0_VIDEO);
|
assert(device->type == VIDEO_VRENDER0);
|
||||||
|
|
||||||
return (vr0video_state *)device->token;
|
return (vr0video_state *)device->token;
|
||||||
}
|
}
|
||||||
@ -102,7 +102,7 @@ INLINE vr0video_state *get_safe_token( running_device *device )
|
|||||||
INLINE const vr0video_interface *get_interface( running_device *device )
|
INLINE const vr0video_interface *get_interface( running_device *device )
|
||||||
{
|
{
|
||||||
assert(device != NULL);
|
assert(device != NULL);
|
||||||
assert(device->type == VRENDER0_VIDEO);
|
assert(device->type == VIDEO_VRENDER0);
|
||||||
return (const vr0video_interface *) device->baseconfig().static_config;
|
return (const vr0video_interface *) device->baseconfig().static_config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user