deal with some more annoying warnings
[pcsx_rearmed.git] / libpcsxcore / psxcommon.h
index 59212f3..8ef794b 100644 (file)
@@ -31,6 +31,13 @@ extern "C" {
 
 #include "config.h"
 
+// XXX: don't care but maybe fix it someday
+#if defined(__GNUC__) && __GNUC__ >= 8
+#pragma GCC diagnostic ignored "-Wformat-truncation"
+#pragma GCC diagnostic ignored "-Wformat-overflow"
+#pragma GCC diagnostic ignored "-Wstringop-truncation"
+#endif
+
 // System includes
 #include <stdio.h>
 #include <string.h>
@@ -125,7 +132,6 @@ typedef struct {
        boolean RCntFix;
        boolean UseNet;
        boolean VSyncWA;
-       boolean CdrReschedule;
        u8 Cpu; // CPU_DYNAREC or CPU_INTERPRETER
        u8 PsxType; // PSX_TYPE_NTSC or PSX_TYPE_PAL
 #ifdef _WIN32