Syscall additions and fixes

Adds unified memory support for most things
Fixes a couple of bugs
This commit is contained in:
Ryan Houdek authored and Stefanos Kornilios Mitsis Poiitidis committed 2020-03-06 07:56:17 +02:00
1 parent 8d293e9184
commit 6f5b9358e2
7 files changed
+472 -138

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ namespace FEXCore::SHM {
}
SHM->Object.Ptr = MapRegionFlags(SHM, 0, Size, PROT_READ | PROT_WRITE, false);
SHM->Size = Size;
if (SHM->Object.Ptr == nullptr) {
goto err;
}