mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 06:57:59 -05:00
core: Refactor MakeMagic usage and remove dead code.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user