mirror of
https://github.com/libretro/libretro-prboom.git
synced 2024-11-26 17:50:36 +00:00
Temporary hack for now to get rid of segfault on Windows
This commit is contained in:
parent
ee17bf3632
commit
16abf22373
@ -105,7 +105,12 @@ void Z_DumpHistory(char *buf)
|
||||
|
||||
void Z_Close(void)
|
||||
{
|
||||
/* The libretro core will crash on
|
||||
* close content if we free memory
|
||||
* here while running on Windows... */
|
||||
#if !defined(_WIN32)
|
||||
Z_FreeTags(PU_FREE, PU_MAX);
|
||||
#endif
|
||||
memory_size = 0;
|
||||
free_memory = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user