Removed inline from cheat functions to allow them to properly link in Qt/SDL executable.
This commit is contained in:
parent
d60a00caeb
commit
0b5c73bd23
src
|
@ -902,12 +902,12 @@ int FCEU_DisableAllCheats(){
|
|||
return count;
|
||||
}
|
||||
|
||||
inline int FCEUI_FindCheatMapByte(uint16 address)
|
||||
int FCEUI_FindCheatMapByte(uint16 address)
|
||||
{
|
||||
return cheatMap[address / 8] >> (address % 8) & 1;
|
||||
}
|
||||
|
||||
inline void FCEUI_SetCheatMapByte(uint16 address, bool cheat)
|
||||
void FCEUI_SetCheatMapByte(uint16 address, bool cheat)
|
||||
{
|
||||
cheat ? cheatMap[address / 8] |= (1 << address % 8) : cheatMap[address / 8] ^= (1 << address % 8);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue