mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
Adding a lot of constexpr
This commit is contained in:
parent
57ff99ce53
commit
95a7ecabd8
66 changed files with 297 additions and 297 deletions
|
@ -158,7 +158,7 @@ void LoadMainExecutable()
|
|||
}
|
||||
currentUpdatedApplicationHash = generateHashFromRawRPXData(rpxData, rpxSize);
|
||||
// determine if this file is an ELF
|
||||
const uint8 elfHeaderMagic[9] = { 0x7F,0x45,0x4C,0x46,0x01,0x02,0x01,0x00,0x00 };
|
||||
constexpr uint8 elfHeaderMagic[9] = { 0x7F,0x45,0x4C,0x46,0x01,0x02,0x01,0x00,0x00 };
|
||||
if (rpxSize >= 10 && memcmp(rpxData, elfHeaderMagic, sizeof(elfHeaderMagic)) == 0)
|
||||
{
|
||||
// ELF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue