strat: use util::FourCC where relevant

This commit is contained in:
Michael Scire
2020-01-02 01:52:13 -08:00
parent 145ee8fcc8
commit 38f942adf5
5 changed files with 10 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ namespace ams::ro {
class NrrHeader {
public:
static constexpr u32 Magic = 0x3052524E;
static constexpr u32 Magic = util::FourCC<'N','R','R','0'>::Code;
private:
u32 magic;
u8 reserved_04[0xC];
@@ -85,7 +85,7 @@ namespace ams::ro {
class NroHeader {
public:
static constexpr u32 Magic = 0x304F524E;
static constexpr u32 Magic = util::FourCC<'N','R','O','0'>::Code;
private:
u32 entrypoint_insn;
u32 mod_offset;