Merge pull request #3160 from Tilka/style

Misc. style fixes
This commit is contained in:
flacs 2015-10-11 15:36:06 +02:00
commit a7b6ae8f2c
5 changed files with 8 additions and 10 deletions

View File

@ -235,7 +235,7 @@ public:
while (true)
{
u8 shouldExist = (list_cur ? 1 : 0);
u8 shouldExist = !!list_cur;
Do(shouldExist);
if (shouldExist == 1)
{

View File

@ -770,8 +770,6 @@ void Wiimote::ControlChannel(const u16 _channelID, const void* _pData, u32 _Size
if (99 == _channelID)
{
// Wiimote disconnected
//PanicAlert( "Wiimote Disconnected" );
// reset eeprom/register/reporting mode
Reset();
return;

View File

@ -36,7 +36,7 @@ static volatile struct
void VideoBackendHardware::EmuStateChange(EMUSTATE_CHANGE newState)
{
EmulatorState((newState == EMUSTATE_CHANGE_PLAY) ? true : false);
EmulatorState(newState == EMUSTATE_CHANGE_PLAY);
}
// Enter and exit the video loop