more inlined stuff

This commit is contained in:
SimoneN64
2023-06-06 10:59:25 +02:00
parent be7f1fc5a0
commit 8fb0dd826d
3 changed files with 17 additions and 20 deletions

View File

@@ -101,7 +101,7 @@ private:
u8* sram;
u8 isviewer[ISVIEWER_SIZE]{};
bool IsROMPAL() {
FORCE_INLINE bool IsROMPAL() {
static const char pal_codes[] = {'D', 'F', 'I', 'P', 'S', 'U', 'X', 'Y'};
return std::any_of(std::begin(pal_codes), std::end(pal_codes), [this](char a) {
return rom.cart[0x3d] == a;