From 5a8adcd2b696c568c0a7c4815c821490417e9c6b Mon Sep 17 00:00:00 2001 From: RadWolfie Date: Thu, 7 Jun 2018 19:30:40 -0500 Subject: [PATCH] Fix empty case warnings for NV2A PFB source code --- src/devices/video/EmuNV2A_PFB.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/devices/video/EmuNV2A_PFB.cpp b/src/devices/video/EmuNV2A_PFB.cpp index 3253fcc30..ed2f35581 100644 --- a/src/devices/video/EmuNV2A_PFB.cpp +++ b/src/devices/video/EmuNV2A_PFB.cpp @@ -19,6 +19,9 @@ DEVICE_READ32(PFB) DEVICE_READ32_END(PFB); } +// TODO: Remove disabled warning once case are add to PFB switch. +#pragma warning(push) +#pragma warning(disable: 4065) DEVICE_WRITE32(PFB) { switch (addr) { @@ -29,3 +32,4 @@ DEVICE_WRITE32(PFB) DEVICE_WRITE32_END(PFB); } +#pragma warning(pop)