Add events to shared memory, make it work better with direct memory

This commit is contained in:
gdkchan 2018-02-17 18:36:08 -03:00
parent 161193e113
commit ebddc40550
7 changed files with 116 additions and 31 deletions

View file

@ -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();
}