core: Refactor MakeMagic usage and remove dead code.

This commit is contained in:
bunnei 2017-10-15 00:11:38 -04:00
parent 72eeca1f03
commit 746c2a3ae7
11 changed files with 18 additions and 885 deletions

View file

@ -98,3 +98,11 @@ __declspec(dllimport) void __stdcall DebugBreak(void);
// This function might change the error code.
// Defined in Misc.cpp.
const char* GetLastErrorMsg();
namespace Common {
constexpr u32 MakeMagic(char a, char b, char c, char d) {
return a | b << 8 | c << 16 | d << 24;
}
} // namespace Common