mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-23 15:47:09 +01:00

The trap callbacks did not wait on the `Texture` to complete synchronization to the guest, this resulted in races where the contents written to the texture would be overwritten by the synced content. This commit fixes that by waiting on the fences at the end of the trap callback.