mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-10 07:39:39 +01:00
small fixes
This commit is contained in:
parent
a757356524
commit
c11da59319
@ -152,10 +152,12 @@ void ExitApp()
|
||||
#ifdef HW_RVL
|
||||
void ShutdownCB()
|
||||
{
|
||||
if(!inNetworkInit)
|
||||
ShutdownRequested = 1;
|
||||
}
|
||||
void ResetCB()
|
||||
{
|
||||
if(!inNetworkInit)
|
||||
ResetRequested = 1;
|
||||
}
|
||||
#endif
|
||||
|
@ -256,6 +256,9 @@ SetupPads()
|
||||
|
||||
void ShutoffRumble()
|
||||
{
|
||||
if(CONF_GetPadMotorMode() == 0)
|
||||
return;
|
||||
|
||||
for(int i=0;i<4;i++)
|
||||
{
|
||||
WPAD_Rumble(i, 0);
|
||||
@ -270,7 +273,9 @@ void ShutoffRumble()
|
||||
|
||||
void DoRumble(int i)
|
||||
{
|
||||
if(!GCSettings.Rumble) return;
|
||||
if(CONF_GetPadMotorMode() == 0 || !GCSettings.Rumble)
|
||||
return;
|
||||
|
||||
if(rumbleRequest[i] && rumbleCount[i] < 3)
|
||||
{
|
||||
WPAD_Rumble(i, 1); // rumble on
|
||||
|
Loading…
x
Reference in New Issue
Block a user