Epic fuckup

git-svn-id: https://svn.eduke32.com/eduke32@6808 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-04-05 05:39:33 +00:00
parent 1b2ab0edad
commit 86a4158b8a

View file

@ -567,7 +567,7 @@ int32_t loadpics(const char *filename, int32_t askedsize)
cachesize = (Bgetsysmemsize() <= (uint32_t)askedsize) ? (int32_t)((Bgetsysmemsize() / 100) * 60) : askedsize; cachesize = (Bgetsysmemsize() <= (uint32_t)askedsize) ? (int32_t)((Bgetsysmemsize() / 100) * 60) : askedsize;
// NOTE: this doesn't make a lot of sense on modern OSs... // NOTE: this doesn't make a lot of sense on modern OSs...
pic = Xaligned_alloc(cachesize, 16); pic = Xaligned_alloc(16, cachesize);
initcache((intptr_t) pic, cachesize); initcache((intptr_t) pic, cachesize);
E_RecalcPicSiz(); E_RecalcPicSiz();