mirror of https://github.com/LIJI32/SameBoy.git
CoreHaptics is trash.
This commit is contained in:
parent
035291b955
commit
53fc5a74ed
|
@ -89,7 +89,12 @@
|
|||
rumble = 0;
|
||||
}
|
||||
if (rumble == 0) {
|
||||
[_rumblePlayer stopAtTime:0 error:nil];
|
||||
@try {
|
||||
/* Why must every method from this framework randomly throw exceptions whenever
|
||||
anything remotely unusual happens? CoreHaptic sucks.*/
|
||||
[_rumblePlayer stopAtTime:0 error:nil];
|
||||
}
|
||||
@catch (NSException *exception) {}
|
||||
_rumblePlayer = nil;
|
||||
_rumble = 0;
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue