mirror of https://github.com/snes9xgit/snes9x.git
Don't use bitwise-or with boolean operands
This commit is contained in:
parent
c6e0fbf866
commit
0edaf0e334
|
@ -1120,7 +1120,7 @@ bool retro_load_game(const struct retro_game_info *game)
|
|||
}
|
||||
|
||||
else
|
||||
if ((is_bsx((uint8 *) game->data + 0x7fc0)==1) | (is_bsx((uint8 *) game->data + 0xffc0)==1)) {
|
||||
if ((is_bsx((uint8 *) game->data + 0x7fc0)==1) || (is_bsx((uint8 *) game->data + 0xffc0)==1)) {
|
||||
if ((rom_loaded = LoadBIOS(biosrom,"BS-X.bin",0x100000)))
|
||||
rom_loaded = Memory.LoadMultiCartMem(biosrom, 0x100000, (const uint8_t*)game->data, game->size, 0, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue