diff options
author | Lioncash <mathew1800@gmail.com> | 2016-03-21 08:28:22 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-03-21 08:28:22 +0100 |
commit | c99f47d8f02c139ca7a87f255319494bcf9eca33 (patch) | |
tree | 952e934d0a1fd99800b145c77b27ed010ad49075 /src/core/loader/loader.h | |
parent | Merge pull request #1302 from Subv/save_fix (diff) | |
download | yuzu-c99f47d8f02c139ca7a87f255319494bcf9eca33.tar yuzu-c99f47d8f02c139ca7a87f255319494bcf9eca33.tar.gz yuzu-c99f47d8f02c139ca7a87f255319494bcf9eca33.tar.bz2 yuzu-c99f47d8f02c139ca7a87f255319494bcf9eca33.tar.lz yuzu-c99f47d8f02c139ca7a87f255319494bcf9eca33.tar.xz yuzu-c99f47d8f02c139ca7a87f255319494bcf9eca33.tar.zst yuzu-c99f47d8f02c139ca7a87f255319494bcf9eca33.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index a7f2715ba..84a4ce5fc 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -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; } |