mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 14:35:46 +00:00
core: Refactor MakeMagic usage and remove dead code.
This commit is contained in:
parent
9ce5a90aa6
commit
5e11c12766
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