diff --git a/GPU/Common/FramebufferCommon.cpp b/GPU/Common/FramebufferCommon.cpp
index f97b2117a3..677340c170 100644
--- a/GPU/Common/FramebufferCommon.cpp
+++ b/GPU/Common/FramebufferCommon.cpp
@@ -2033,9 +2033,9 @@ void FramebufferManagerCommon::PackFramebufferSync_(VirtualFramebuffer *vfb, int
}
void FramebufferManagerCommon::ReadFramebufferToMemory(VirtualFramebuffer *vfb, bool sync, int x, int y, int w, int h) {
- // Clamp to width. Sometimes block transfers can cause this to hit.
- if (x + w >= vfb->width) {
- w = vfb->width - x;
+ // Clamp to bufferWidth. Sometimes block transfers can cause this to hit.
+ if (x + w >= vfb->bufferWidth) {
+ w = vfb->bufferWidth - x;
}
if (vfb) {
// We'll pseudo-blit framebuffers here to get a resized version of vfb.
diff --git a/GPU/GPU.vcxproj b/GPU/GPU.vcxproj
index 9c68a6fee3..dc3d6f11d9 100644
--- a/GPU/GPU.vcxproj
+++ b/GPU/GPU.vcxproj
@@ -360,7 +360,6 @@
-
@@ -386,4 +385,4 @@
-
\ No newline at end of file
+
diff --git a/GPU/GPU.vcxproj.filters b/GPU/GPU.vcxproj.filters
index 6e85d8e48f..8aa5382057 100644
--- a/GPU/GPU.vcxproj.filters
+++ b/GPU/GPU.vcxproj.filters
@@ -531,11 +531,8 @@
Vulkan
-
- Common
-
Common
-
\ No newline at end of file
+
diff --git a/GPU/Source.cpp b/GPU/Source.cpp
deleted file mode 100644
index e69de29bb2..0000000000