Replace cpu_has* flags with single cpu_features variable and cpu_has_feature() getter.
This commit is contained in:
parent
03b5a44aca
commit
ce4436054d
8 changed files with 53 additions and 87 deletions
|
|
@ -17,7 +17,7 @@
|
|||
}
|
||||
|
||||
#define MMX_ENTER() \
|
||||
if (!cpu_hasMMX) \
|
||||
if (!cpu_has_feature(CPU_FEATURE_MMX)) \
|
||||
{ \
|
||||
cpu_state.pc = cpu_state.oldpc; \
|
||||
x86illegal(); \
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
static int opEMMS(uint32_t fetchdat)
|
||||
{
|
||||
if (!cpu_hasMMX)
|
||||
if (!cpu_has_feature(CPU_FEATURE_MMX))
|
||||
{
|
||||
cpu_state.pc = cpu_state.oldpc;
|
||||
x86illegal();
|
||||
|
|
|
|||
Loading…
Reference in a new issue