mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 10:28:38 +00:00
4a892fbdc9
If two or more threads encounter a region of memory where a read action has been registered, then they must _both_ wait on the data. Clearing the action before it completed was causing the null check above to fail, so the action would only be run on the first thread, and the second would end up continuing without waiting. Depending on what the game does, this could be disasterous. This fixes a regression introduced by #3302 with Pokemon Legends Arceus, and possibly Catherine. There are likely other affected games. What is fixed in that PR should still be fixed. |
||
---|---|---|
.. | ||
AbstractRegion.cs | ||
IMultiRegionHandle.cs | ||
IRegionHandle.cs | ||
MemoryTracking.cs | ||
MultiRegionHandle.cs | ||
PreciseRegionSignal.cs | ||
RegionHandle.cs | ||
RegionSignal.cs | ||
SmartMultiRegionHandle.cs | ||
VirtualRegion.cs |