mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-03-10 00:16:27 +00:00
Warnings: Add UNREACHABLE macros to switches that contemplate all possible values.
This commit is contained in:
@@ -74,9 +74,9 @@ struct Regs {
|
||||
case PixelFormat::RGB5A1:
|
||||
case PixelFormat::RGBA4:
|
||||
return 2;
|
||||
default:
|
||||
UNIMPLEMENTED();
|
||||
}
|
||||
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
||||
INSERT_PADDING_WORDS(0x4);
|
||||
|
||||
Reference in New Issue
Block a user