mirror of https://github.com/sm64pc/sm64pc.git
fix spaces
This commit is contained in:
parent
b897f30c2f
commit
420d82ce8c
|
@ -33,16 +33,14 @@ s32 osContInit(UNUSED OSMesgQueue *mq, u8 *controllerBits, UNUSED OSContStatus *
|
||||||
s32 osMotorStart(UNUSED void *pfs) {
|
s32 osMotorStart(UNUSED void *pfs) {
|
||||||
// Since rumble stops by osMotorStop, its duration is not nessecary.
|
// Since rumble stops by osMotorStop, its duration is not nessecary.
|
||||||
// Set it to 5 seconds and hope osMotorStop() is called in time.
|
// Set it to 5 seconds and hope osMotorStop() is called in time.
|
||||||
if (configRumbleStrength>0){
|
if (configRumbleStrength)
|
||||||
controller_rumble_play(configRumbleStrength / 100.0f, 5.0f);
|
controller_rumble_play(configRumbleStrength / 100.0f, 5.0f);
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
s32 osMotorStop(UNUSED void *pfs) {
|
s32 osMotorStop(UNUSED void *pfs) {
|
||||||
if (configRumbleStrength>0){
|
if (configRumbleStrength)
|
||||||
controller_rumble_stop();
|
controller_rumble_stop();
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue