yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

loader: Make MakeMagic constexpr

This commit is contained in:
Lioncash 2016-03-21 03:28:22 -04:00
parent b83e95727f
commit c99f47d8f0
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ enum class ResultStatus {
ErrorEncrypted,
};
static inline u32 MakeMagic(char a, char b, char c, char d) {
constexpr u32 MakeMagic(char a, char b, char c, char d) {
return a | b << 8 | c << 16 | d << 24;
}