mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-02 04:02:26 -07:00
Add FCVTL and FCVTN instruction (no Half support yet), stub SvcClearEvent
This commit is contained in:
@@ -36,6 +36,7 @@ namespace Ryujinx.Core.OsHle.Svc
|
||||
{ 0x0c, SvcGetThreadPriority },
|
||||
{ 0x0d, SvcSetThreadPriority },
|
||||
{ 0x0f, SvcSetThreadCoreMask },
|
||||
{ 0x12, SvcClearEvent },
|
||||
{ 0x13, SvcMapSharedMemory },
|
||||
{ 0x14, SvcUnmapSharedMemory },
|
||||
{ 0x15, SvcCreateTransferMemory },
|
||||
|
@@ -20,6 +20,15 @@ namespace Ryujinx.Core.OsHle.Svc
|
||||
Ns.Os.ExitProcess(ThreadState.ProcessId);
|
||||
}
|
||||
|
||||
private void SvcClearEvent(AThreadState ThreadState)
|
||||
{
|
||||
int Handle = (int)ThreadState.X0;
|
||||
|
||||
//TODO: Implement events.
|
||||
|
||||
ThreadState.X0 = (int)SvcResult.Success;
|
||||
}
|
||||
|
||||
private void SvcCloseHandle(AThreadState ThreadState)
|
||||
{
|
||||
int Handle = (int)ThreadState.X0;
|
||||
|
Reference in New Issue
Block a user