Add events to shared memory, make it work better with direct memory
This commit is contained in:
parent
161193e113
commit
ebddc40550
7 changed files with 116 additions and 31 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue