mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
Fixed MT3749 (All sets in micro3d.c : Assert in debug build ). [couriersud]
This commit is contained in:
parent
1d3eeaf769
commit
01ba1ce097
@ -214,7 +214,8 @@ INLINE noise_state *get_safe_token(running_device *device)
|
||||
{
|
||||
assert(device != NULL);
|
||||
assert(device->token != NULL);
|
||||
assert(device->type == SOUND_MICRO3D);
|
||||
assert(device->type == SOUND);
|
||||
assert(sound_get_type(device) == SOUND_MICRO3D);
|
||||
|
||||
return (noise_state *)device->token;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user