win-capture: Always refetch game capture addresses
This is a fast/immediate solution to a possible bug with caching the DLL versions for game capture hook addresses - may as well just reload game capture hook addresses each time the program is run for the time being just to be safe. Load time will increase a little for the time being but it's worth it to prevent any issues with game capture.
This commit is contained in:
@@ -50,7 +50,7 @@ bool obs_module_load(void)
|
||||
|
||||
obs_register_source(&window_capture_info);
|
||||
|
||||
if (cached_versions_match() && load_cached_graphics_offsets(IS32BIT)) {
|
||||
if (/*cached_versions_match() &&*/ load_cached_graphics_offsets(IS32BIT)) {
|
||||
load_cached_graphics_offsets(!IS32BIT);
|
||||
obs_register_source(&game_capture_info);
|
||||
|
||||
|
Reference in New Issue
Block a user