headless: Fix startup on latest Android versions.

Otherwise it tries to use deprecated ashmem and chokes.
This commit is contained in:
Unknown W. Brackets committed 2022-09-03 21:06:32 -07:00
1 parent f75dadd1d6
commit fc50860f55
2 files changed
+6 -1

No files matched your search

+1
View File
@@ -295,6 +295,7 @@ bool CPU_Init(std::string *errorString) {
HLEPlugins::Init();
if (!Memory::Init()) {
// We're screwed.
*errorString = "Memory init failed";
return false;
}
mipsr4k.Reset();