mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-22 16:57:10 +01:00

We need to use a shared_ptr to ensure that the present callback doesn't do any UAFs, also unlocks the GBP during presentation as if the queue is full a deadlock could a rise where the present callback wouldn't be able to run due to the (waiting) DequeueBuffer thread holding the lock.