mirror of
https://github.com/holub/mame
synced 2025-06-01 02:21:48 +03:00
From: Duke [mailto:startaq@gmail.com]
Sent: Monday, June 29, 2009 3:58 AM To: submit@mamedev.org Subject: Patch for i86.c to fix an assert Hello, attached is a small patch for i86.c that fixes an assert when the 80188 CPU is used. --Dirk
This commit is contained in:
parent
a24ae3ef5d
commit
a896b459e0
@ -76,7 +76,8 @@ INLINE i8086_state *get_safe_token(const device_config *device)
|
||||
assert(device->type == CPU);
|
||||
assert(cpu_get_type(device) == CPU_I8086 ||
|
||||
cpu_get_type(device) == CPU_I8088 ||
|
||||
cpu_get_type(device) == CPU_I80186);
|
||||
cpu_get_type(device) == CPU_I80186 ||
|
||||
cpu_get_type(device) == CPU_I80188);
|
||||
return (i8086_state *)device->token;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user