mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-13 23:26:16 +00:00
Working Dualshock output reports on macOS; fix runaway loop
This commit is contained in:
@@ -53,6 +53,15 @@ public:
|
||||
}
|
||||
operator bool() const { return storage != nullptr; }
|
||||
|
||||
void reset()
|
||||
{
|
||||
if (storage)
|
||||
{
|
||||
CFRelease(storage);
|
||||
storage = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
CFTypeRef storage;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user