diff --git a/Common/VR/VRFramebuffer.cpp b/Common/VR/VRFramebuffer.cpp index 3cf70642a9..34e3a3cbb4 100644 --- a/Common/VR/VRFramebuffer.cpp +++ b/Common/VR/VRFramebuffer.cpp @@ -10,7 +10,6 @@ #if !defined(_WIN32) #include -#include #endif double FromXrTime(const XrTime time) { diff --git a/Common/VR/VRInput.cpp b/Common/VR/VRInput.cpp index 58571b47f1..7ea64f9674 100644 --- a/Common/VR/VRInput.cpp +++ b/Common/VR/VRInput.cpp @@ -40,6 +40,8 @@ float vibration_channel_duration[2] = {0.0f, 0.0f}; float vibration_channel_intensity[2] = {0.0f, 0.0f}; #if !defined(_WIN32) +#include + unsigned long sys_timeBase = 0; int milliseconds(void) { struct timeval tp; diff --git a/GPU/Common/TextureCacheCommon.cpp b/GPU/Common/TextureCacheCommon.cpp index 0ee2c54b10..a0c7180588 100644 --- a/GPU/Common/TextureCacheCommon.cpp +++ b/GPU/Common/TextureCacheCommon.cpp @@ -2045,6 +2045,7 @@ static bool CanDepalettize(GETextureFormat texFormat, GEBufferFormat bufferForma } break; case GE_FORMAT_CLUT8: + case GE_FORMAT_INVALID: // Shouldn't happen here. return false; }