Skip to content

Commit

Permalink
Disable mmap to prevent random black screens
Browse files Browse the repository at this point in the history
  • Loading branch information
Velaron committed Oct 9, 2023
1 parent c5526d5 commit 4cca49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/server/sv_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -3031,7 +3031,7 @@ void SV_SetStringArrayMode( qboolean dynamic )
#endif
}

#if XASH_64BIT && !XASH_WIN32 && !XASH_APPLE && !XASH_NSWITCH
#if XASH_64BIT && !XASH_WIN32 && !XASH_APPLE && !XASH_NSWITCH && !XASH_ANDROID
#define USE_MMAP
#include <sys/mman.h>
#endif
Expand Down

0 comments on commit 4cca49f

Please sign in to comment.