mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-02-20 01:01:58 -06:00
Implement frame limiter. (#60)
* Implement audio timing with integer math. * Add busy loop to audio thread. * Implement a frame limiter. * Implement implot. * Add more stuff to the profiler window. * Redo frame limiter logic to fix drifting. * Move frame limiter, add limiters for SFD & loading screen. * Update waiting logic for audio thread. * Correct small delta time errors. * Decrease delta time error threshold. * Set busy wait threshold to 2ms. * Change spin wait in D3D12 present to infinite wait. * Replace FPS literals with constants.
This commit is contained in:
@@ -425,11 +425,6 @@ name = "ParticleTestDrawIndexedPrimitiveMidAsmHook"
|
||||
address = 0x827D25AC
|
||||
registers = ["r7"]
|
||||
|
||||
[[midasm_hook]]
|
||||
name = "LoadingScreenSpeedFixMidAsmHook"
|
||||
address = 0x824DAB60
|
||||
registers = ["r4"]
|
||||
|
||||
[[midasm_hook]]
|
||||
name = "MotionBlurPrevInvViewProjectionMidAsmHook"
|
||||
address = 0x82BA9E7C
|
||||
@@ -588,3 +583,14 @@ registers = ["r3"]
|
||||
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
|
||||
Reference in New Issue
Block a user