improve 64bit portability
[picodrive.git] / pico / pico_int.h
index bb27922..da0fbb9 100644 (file)
@@ -11,7 +11,6 @@
 #define PICO_INTERNAL_INCLUDED\r
 \r
 #include <stdio.h>\r
-#include <stdlib.h>\r
 #include <string.h>\r
 #include "pico_port.h"\r
 #include "pico.h"\r
@@ -582,8 +581,8 @@ struct Pico32x
   unsigned int dmac0_fifo_ptr;\r
   unsigned short vdp_fbcr_fake;\r
   unsigned short pad2;\r
-  unsigned char comm_dirty_68k;\r
-  unsigned char comm_dirty_sh2;\r
+  unsigned char comm_dirty;\r
+  unsigned char pad3;            // was comm_dirty_sh2\r
   unsigned char pwm_irq_cnt;\r
   unsigned char pad1;\r
   unsigned short pwm_p[2];       // pwm pos in fifo\r
@@ -983,7 +982,7 @@ static __inline int isspace_(int c)
 // emulation event logging\r
 #ifndef EL_LOGMASK\r
 # ifdef __x86_64__ // HACK\r
-#  define EL_LOGMASK (EL_STATUS|EL_IDLE|EL_ANOMALY)\r
+#  define EL_LOGMASK (EL_STATUS|EL_ANOMALY)\r
 # else\r
 #  define EL_LOGMASK (EL_STATUS)\r
 # endif\r