some minor improvements

This commit is contained in:
InoriRus
2022-01-31 17:25:13 +10:00
parent 8651c18423
commit 9a912716f8
27 changed files with 1792 additions and 199 deletions
+16
View File
@@ -0,0 +1,16 @@
#include "Emulator/Libs/Errno.h"
#ifdef KYTY_EMU_ENABLED
namespace Kyty::Libs::Posix {
static thread_local int g_errno = 0;
KYTY_SYSV_ABI int* GetErrorAddr()
{
return &g_errno;
}
} // namespace Kyty::Libs::Posix
#endif