core: Refactor MakeMagic usage and remove dead code.
This commit is contained in:
parent
72eeca1f03
commit
746c2a3ae7
11 changed files with 18 additions and 885 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue