Fixes (missed a few spots) for DYNAREC and propagated to Linux.
This commit is contained in:
@@ -489,6 +489,7 @@ int dontprint=0;
|
|||||||
|
|
||||||
#define CACHE_ON() (!(cr0 & (1 << 30)) /*&& (cr0 & 1)*/ && !(flags & T_FLAG))
|
#define CACHE_ON() (!(cr0 & (1 << 30)) /*&& (cr0 & 1)*/ && !(flags & T_FLAG))
|
||||||
|
|
||||||
|
#ifdef USE_DYNAREC
|
||||||
static int cpu_cycle_period(void)
|
static int cpu_cycle_period(void)
|
||||||
{
|
{
|
||||||
switch(cpu_pci_speed)
|
switch(cpu_pci_speed)
|
||||||
@@ -502,8 +503,8 @@ static int cpu_cycle_period(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_DYNAREC
|
|
||||||
static int cycles_main = 0;
|
static int cycles_main = 0;
|
||||||
|
|
||||||
void exec386_dynarec(int cycs)
|
void exec386_dynarec(int cycs)
|
||||||
{
|
{
|
||||||
uint8_t temp;
|
uint8_t temp;
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ ifndef MUNT
|
|||||||
MUNT := y
|
MUNT := y
|
||||||
endif
|
endif
|
||||||
ifndef PAS16
|
ifndef PAS16
|
||||||
PAS16 = n
|
PAS16 := n
|
||||||
endif
|
endif
|
||||||
ifndef DYNAREC
|
ifndef DYNAREC
|
||||||
DYNAREC := y
|
DYNAREC := y
|
||||||
|
|||||||
Reference in New Issue
Block a user