Don't use bitwise-or with boolean operands

This commit is contained in:
pstef 2024-10-20 00:31:44 +02:00
parent c6e0fbf866
commit 0edaf0e334
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}