From 3ccf33bc218d35b2087eb4df1cfdd4fc7685e566 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 29 May 2016 21:11:27 +0000 Subject: [PATCH] Remove unnecessary asm unprotection of ylookup[]. git-svn-id: https://svn.eduke32.com/eduke32@5761 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/baselayer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/polymer/eduke32/build/src/baselayer.c b/polymer/eduke32/build/src/baselayer.c index eda9f937a..5a0a8519b 100644 --- a/polymer/eduke32/build/src/baselayer.c +++ b/polymer/eduke32/build/src/baselayer.c @@ -228,9 +228,6 @@ void calc_ylookup(int32_t bpl, int32_t lastyidx) Baligned_free(ylookup); ylookup = (intptr_t *)Xaligned_alloc(16, lastyidx * sizeof(intptr_t)); -#if !defined(NOASM) && !defined(GEKKO) && !defined(__ANDROID__) - nx_unprotect((intptr_t)ylookup, (intptr_t)ylookup + (lastyidx * sizeof(intptr_t)), B_PROT_RW); -#endif ylookupsiz = lastyidx; }