mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-12 02:19:31 +08:00
revert the initial delay for the overlay renderer detector back to 0
This commit is contained in:
parent
ddea56abf6
commit
896dfd736f
@ -5,7 +5,7 @@
|
||||
* for Linux: new experimental build of the emu with overlay support
|
||||
currently only *some* 64-bit games using OpenGL will work
|
||||
* use a new method to initialize the overlay on a separate thread with a configurable initialization delay and renderer detection timeout
|
||||
- the new config file `overlay_hook_delay_sec.txt` controls the initial delay (default = `5 seconds`)
|
||||
- the new config file `overlay_hook_delay_sec.txt` controls the initial delay (default = `0 seconds`)
|
||||
- the new config file `overlay_renderer_detector_timeout_sec.txt` controls the detection timeout (default = `15 seconds`)
|
||||
|
||||
check the updated `README`
|
||||
|
@ -283,7 +283,7 @@ public:
|
||||
|
||||
//overlay
|
||||
bool disable_overlay = false;
|
||||
int overlay_hook_delay_sec = 5; // "Saints Row (2022)" needs a lot of time to initialize, otherwise detection will fail
|
||||
int overlay_hook_delay_sec = 0; // "Saints Row (2022)" needs a lot of time to initialize, otherwise detection will fail
|
||||
int overlay_renderer_detector_timeout_sec = 15; // "Saints Row (2022)" takes almost ~8 sec to detect renderer (DX12)
|
||||
bool disable_overlay_achievement_notification = false;
|
||||
bool disable_overlay_friend_notification = false;
|
||||
|
@ -519,16 +519,16 @@ Also, match making servers will return the info of the server from the incoming
|
||||
**Note: at the moment this feature is only enabled in the experimental builds**
|
||||
---
|
||||
|
||||
By default the emu will wait `5 seconds` before attempting to start the overlay renderer detector, this allows some games to initialize properly, otherwise the detector may not detect the current renderer (DirectX, OpenGL, etc...) and the overlay will not work (example games: `Have a Nice Death`, `Saints Row (2022)`).
|
||||
By default the emu will immediately start the renderer detector for the overlay, but you can give it some initial delay,
|
||||
which allows some games to initialize properly, otherwise the detector may not detect the current renderer (DirectX, OpenGL, etc...) and the overlay will not work (example games: `Have a Nice Death`, and `Saints Row (2022)`).
|
||||
|
||||
After that initial delay, the emu will give the detector `15 seconds` as a timeout, after that time if the detector didn't return a valid result, it will fail.
|
||||
This avoids an infinite detection loop and a potential FPS drop on failure.
|
||||
|
||||
You can control these timings via the configuration files:
|
||||
* `overlay_hook_delay_sec.txt`: controls the amount of seconds to wait for initially before attempting the detection.
|
||||
* `overlay_renderer_detector_timeout_sec.txt`: controls the timeout (in seconds) of the detection.
|
||||
* `overlay_renderer_detector_timeout_sec.txt`: controls the timeout of the detection, in seconds.
|
||||
|
||||
It is **NOT** recommended to remove these timings or setting them to 0.
|
||||
Negative values will be ignored, also the renderer detector timeout cannot be 0.
|
||||
|
||||
Check the example files in the `steam_settings` folder
|
||||
|
Loading…
x
Reference in New Issue
Block a user