Fix empty case warnings for NV2A PFB source code

This commit is contained in:
RadWolfie 2018-06-07 19:30:40 -05:00
parent 6bd9bd2123
commit 5a8adcd2b6
1 changed files with 4 additions and 0 deletions

View File

@ -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)