Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/resources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ void Resources::loadVdfs(const std::vector<std::u16string>& modvdfs, bool modFil

for(auto& i:archives) {
try {
#ifdef __IOS__
// causes OOM on iPhone7
#if defined(__IOS__) && !defined(_ZK_WITH_MMAP)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_ZK_WITH_MMAP is enabled by default, at least right now.
I need to get back to it and test again, if it works on iPhone7. It should be fine in terms of VRam, but only 1GB of physical memory - quite a potato :)

// Loading entire speech archives into memory causes OOM on iPhone7
if(i.name.find(u"Speech")!=std::string::npos)
continue;
#endif
Expand Down
Loading