Sync render thread present with main thread. (#62)

* Experimenting with syncing the render thread.

* Separate wait functions for swap chains.

* Sync render thread present to the main thread.

* Move present to main thread and frame limit after presenting.

* g_next -> s_next

* Fix Vulkan validation errors.

* Make max frame latency configurable.

* Fix loading thread breaking waitable swap chain order.
This commit is contained in:
Skyth (Asilkan)
2024-12-25 16:29:15 +03:00
committed by GitHub
parent c1cafacf22
commit fd009bcada
14 changed files with 242 additions and 275 deletions

View File

@@ -584,13 +584,9 @@ name = "PostureDPadSupportMidAsmHook"
address = 0x823CDA2C
registers = ["r3"]
[[midasm_hook]]
name = "ApplicationUpdateMidAsmHook"
address = 0x822C0EC8
[[midasm_hook]]
name = "LoadingUpdateMidAsmHook"
address = 0x825360C8
registers = ["r31"]
jump_address_on_true = 0x825360C8
jump_address_on_false = 0x82536140
jump_address_on_false = 0x82536140