aboutsummaryrefslogtreecommitdiff
path: root/src/core/hw
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-08-19 12:04:40 -0500
committerSubv <subv2112@gmail.com>2017-08-21 08:34:28 -0500
commit65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3 (patch)
tree2c70231243f2fb8dc71cd4d5b2746acd6646ed10 /src/core/hw
parent145a7293a32c6fb25f1db796f7e1dd6c4efc985e (diff)
Warnings: Add UNREACHABLE macros to switches that contemplate all possible values.
Diffstat (limited to 'src/core/hw')
-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 21b127fee4..e3d0a0e086 100644
--- a/src/core/hw/gpu.h
+++ b/src/core/hw/gpu.h
@@ -74,9 +74,9 @@ struct Regs {
case PixelFormat::RGB5A1:
case PixelFormat::RGBA4:
return 2;
- default:
- UNIMPLEMENTED();
}
+
+ UNREACHABLE();
}
INSERT_PADDING_WORDS(0x4);