Initial commit

This commit is contained in:
Gericom
2025-11-22 11:08:28 +01:00
commit 9cf3ffbfcf
358 changed files with 58350 additions and 0 deletions

11
common/gameCode.h Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
static inline consteval u32 GAMECODE(const char code[4])
{
return code[0] | (code[1] << 8) | (code[2] << 16) | (code[3] << 24);
}
static inline consteval u32 GAMECODE_NO_REGION(const char code[3])
{
return code[0] | (code[1] << 8) | (code[2] << 16);
}