diff options
author | riperiperi <rhy3756547@hotmail.com> | 2022-11-18 20:47:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 21:47:29 +0100 |
commit | de162a648b3bb1c8080460bfb8392951340ef40b (patch) | |
tree | c0a81e411cfc6b4e6f2813724bcbe41b7ea5953b /ARMeilleure/Decoders/OpCodeSimdIns.cs | |
parent | 131baebe2a569cfe8533aa57ca6df2c8f846f6ad (diff) |
Gpu: Fix thread safety of ReregisterRanges (#3865)1.1.362
A quick fix to prevent reading the wrong value of Count when reregistering ranges for a new target buffer. Buffer flushes from another thread can modify the range list when the lock isn't active, which can change the count.
This prevents some crashes in Pokemon Scarlet/Violet. It's probably likely that buffer migration during flush is causing some other issues in this game, but this at least prevents the crashing.
Diffstat (limited to 'ARMeilleure/Decoders/OpCodeSimdIns.cs')
0 files changed, 0 insertions, 0 deletions