summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.h
diff options
context:
space:
mode:
authorGravatar Subv2017-08-19 12:04:40 -0500
committerGravatar Subv2017-08-21 08:34:28 -0500
commit65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3 (patch)
tree2c70231243f2fb8dc71cd4d5b2746acd6646ed10 /src/core/hw/gpu.h
parentHLE/Applets: Fixed some conversion warnings when creating the framebuffer sha... (diff)
downloadyuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.tar.gz
yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.tar.xz
yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.zip
Warnings: Add UNREACHABLE macros to switches that contemplate all possible values.
Diffstat (limited to 'src/core/hw/gpu.h')
-rw-r--r--src/core/hw/gpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h
index 21b127fee..e3d0a0e08 100644
--- a/src/core/hw/gpu.h
+++ b/src/core/hw/gpu.h
@@ -74,9 +74,9 @@ struct Regs {
74 case PixelFormat::RGB5A1: 74 case PixelFormat::RGB5A1:
75 case PixelFormat::RGBA4: 75 case PixelFormat::RGBA4:
76 return 2; 76 return 2;
77 default:
78 UNIMPLEMENTED();
79 } 77 }
78
79 UNREACHABLE();
80 } 80 }
81 81
82 INSERT_PADDING_WORDS(0x4); 82 INSERT_PADDING_WORDS(0x4);