mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-10 20:27:51 +02:00
Add events to shared memory, make it work better with direct memory
This commit is contained in:
@@ -118,7 +118,7 @@ namespace Ryujinx.OsHle
|
||||
{
|
||||
if (MainThread != null)
|
||||
{
|
||||
if (MainThread.Thread.IsAlive)
|
||||
while (MainThread.Thread.IsAlive)
|
||||
{
|
||||
MainThread.Thread.StopExecution();
|
||||
}
|
||||
@@ -126,7 +126,7 @@ namespace Ryujinx.OsHle
|
||||
|
||||
foreach (AThread Thread in TlsSlots.Values)
|
||||
{
|
||||
if (Thread.IsAlive)
|
||||
while (Thread.IsAlive)
|
||||
{
|
||||
Thread.StopExecution();
|
||||
}
|
||||
|
Reference in New Issue
Block a user