fix some issues and warnings seen on ctr build
[pcsx_rearmed.git] / libpcsxcore / psxcommon.h
index c9d300a..224caa5 100644 (file)
@@ -37,6 +37,10 @@ extern "C" {
 #pragma GCC diagnostic ignored "-Wformat-overflow"
 #pragma GCC diagnostic ignored "-Wstringop-truncation"
 #endif
+// devkitpro has uint32_t as long, unfortunately
+#ifdef _3DS
+#pragma GCC diagnostic ignored "-Wformat"
+#endif
 
 // System includes
 #include <stdio.h>
@@ -133,6 +137,7 @@ typedef struct {
        boolean UseNet;
        boolean VSyncWA;
        boolean icache_emulation;
+       boolean DisableStalls;
        u8 Cpu; // CPU_DYNAREC or CPU_INTERPRETER
        u8 PsxType; // PSX_TYPE_NTSC or PSX_TYPE_PAL
 #ifdef _WIN32