viti95 / FastDoom

Doom port for DOS, optimized to be as fast as possible!
512 stars 33 forks source link

feat: add option to limit memory to 32Mb #196

Closed jsmolina closed 2 months ago

jsmolina commented 3 months ago

Fixes #195

For a 256MB system, fdoom.cfg gets erased on fastdoom startup, and thus no sound is available.

viti95 commented 3 months ago

Interesting, maybe we are still allocating to much memory and there isn't memory free for internal C functions. Maybe we can add a command line parameter to limit RAM to fit user needs.

jsmolina commented 3 months ago

Added as optional param. 32MB should be for everyone

said someone randomly on the Internet after the 90s 😂

jsmolina commented 2 months ago

WDYT? @viti95

viti95 commented 2 months ago

Sorry I was busy finishing new rendering options. After thinking a bit on it, I think three changes have to be made in order to fix all the new crashes:

viti95 commented 2 months ago

Much better, thanks for adding this feature!