Fix gcc parentheses warning

This commit is contained in:
Mystro256 2016-12-30 11:17:18 -05:00
parent 0bcf4a5223
commit c3e4969498
1 changed files with 2 additions and 1 deletions

View File

@ -4087,7 +4087,7 @@ uint16_t gbLinkUpdateIPC(uint8_t b, int gbSerialOn) //used on external clock
rfu_enabled = false;
if (gbSerialOn) {
if (gba_link_enabled)
if (gba_link_enabled) {
//Single Computer
if (GetLinkMode() == LINK_GAMEBOY_IPC) {
uint32_t tm; // = GetTickCount();
@ -4117,6 +4117,7 @@ uint16_t gbLinkUpdateIPC(uint8_t b, int gbSerialOn) //used on external clock
SetEvent(linksync[linkid]);
}
}
}
if (dat == 0xff /*||dat==0x00||b==0x00*/) //dat==0xff||dat==0x00
LinkFirstTime = true;