Misc. style fixes
This commit is contained in:
parent
e955a3a191
commit
0f1b287402
|
@ -235,7 +235,7 @@ public:
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
u8 shouldExist = (list_cur ? 1 : 0);
|
u8 shouldExist = !!list_cur;
|
||||||
Do(shouldExist);
|
Do(shouldExist);
|
||||||
if (shouldExist == 1)
|
if (shouldExist == 1)
|
||||||
{
|
{
|
||||||
|
|
|
@ -770,8 +770,6 @@ void Wiimote::ControlChannel(const u16 _channelID, const void* _pData, u32 _Size
|
||||||
if (99 == _channelID)
|
if (99 == _channelID)
|
||||||
{
|
{
|
||||||
// Wiimote disconnected
|
// Wiimote disconnected
|
||||||
//PanicAlert( "Wiimote Disconnected" );
|
|
||||||
|
|
||||||
// reset eeprom/register/reporting mode
|
// reset eeprom/register/reporting mode
|
||||||
Reset();
|
Reset();
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -36,7 +36,7 @@ static volatile struct
|
||||||
|
|
||||||
void VideoBackendHardware::EmuStateChange(EMUSTATE_CHANGE newState)
|
void VideoBackendHardware::EmuStateChange(EMUSTATE_CHANGE newState)
|
||||||
{
|
{
|
||||||
EmulatorState((newState == EMUSTATE_CHANGE_PLAY) ? true : false);
|
EmulatorState(newState == EMUSTATE_CHANGE_PLAY);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Enter and exit the video loop
|
// Enter and exit the video loop
|
||||||
|
|
Loading…
Reference in New Issue