#include "x87.h"
#include "mem.h"
#include "codegen.h"
+#ifndef UAE
#include "codegen_backend.h"
+#endif
#include "cpu.h"
#include "fdc.h"
#include "nmi.h"
#include "386_ops.h"
+int cpu_end_block_after_ins = 0;
+
+#ifndef UAE
#define CACHE_ON() (!(cr0 & (1 << 30)) && !(cpu_state.flags & T_FLAG))
//#define CACHE_ON() 0
-int cpu_end_block_after_ins = 0;
-
-
static inline void exec_interpreter(void)
{
cpu_block_end = 0;
cycles_main -= (cycles_start - cycles);
}
}
+
+#endif
void keyboard_at_set_mouse(void (*mouse_write)(uint8_t val, void *p), void *p);
void keyboard_at_adddata_mouse(uint8_t val);
-extern uint8_t mouse_queue[16];
extern int mouse_queue_start, mouse_queue_end;
extern int mouse_scan;
void pcem_linear_mark(int offset);
extern int SOUNDBUFLEN;
-extern int32_t *x86_sndbuffer[2];
-extern bool x86_sndbuffer_filled[2];
extern void *pcem_mapping_linear_priv;
extern uae_u32 pcem_mapping_linear_offset;
if (!strcmp(s, "dithering")) {
return 1;
}
+ if (!strcmp(s, "dithersub")) {
+ return 1;
+ }
if (!strcmp(s, "dacfilter")) {
return 1;
}
if (!strcmp(s, "recompiler")) {
+#ifdef _WIN32
return 1;
+#else
+ return 0;
+#endif
+ }
+ if (!strcmp(s, "sli") || !strcmp(s, "type")) {
+ return 0;
+ }
+ if (!strcmp(s, "framebuffer_memory") || !strcmp(s, "texture_memory")) {
+ return 2;
}
if (!strcmp(s, "memory")) {
return pcem_getvramsize() >> 20;