mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 12:30:05 +00:00
loader: Make MakeMagic constexpr
This commit is contained in:
parent
b83e95727f
commit
c99f47d8f0
@ -74,7 +74,7 @@ enum class ResultStatus {
|
|||||||
ErrorEncrypted,
|
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;
|
return a | b << 8 | c << 16 | d << 24;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user