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:
Aaron Giles 2009-07-02 04:40:07 +00:00
parent a24ae3ef5d
commit a896b459e0

View File

@ -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;
}