You've already forked pico-loader
mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-01-09 16:28:35 -08:00
Initial commit
This commit is contained in:
11
common/gameCode.h
Normal file
11
common/gameCode.h
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user