X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxcommon.h;h=6104bfcc94c17badec39f3137d116bcab84e6213;hb=2cb5735e07944f7d182d76611df6e701139d60ee;hp=a7dd6aea47a7cb9cc1f5f9f5dbcde45991d72a6e;hpb=ce4cd3d539bbd593d543f2ead52e44fbf552dbc5;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxcommon.h b/libpcsxcore/psxcommon.h index a7dd6aea..6104bfcc 100644 --- a/libpcsxcore/psxcommon.h +++ b/libpcsxcore/psxcommon.h @@ -31,6 +31,17 @@ 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 +// devkitpro has uint32_t as long, unfortunately +#ifdef _3DS +#pragma GCC diagnostic ignored "-Wformat" +#endif + // System includes #include #include @@ -40,7 +51,9 @@ extern "C" { #include #include #include +#ifndef __SWITCH__ #include +#endif #include // Define types @@ -118,6 +131,8 @@ typedef struct { boolean Mdec; boolean PsxAuto; boolean Cdda; + boolean AsyncCD; + boolean CHD_Precache; /* loads disk image into memory, works with CHD only. */ boolean HLE; boolean SlowBoot; boolean Debug; @@ -126,6 +141,8 @@ typedef struct { boolean RCntFix; 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