mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 22:05:20 -04:00
support Chocolate Doom's -mb parameter
in addition to WinMBF's own -heapsize parameter
This commit is contained in:
parent
8e979e383e
commit
e6910bf07d
@ -207,6 +207,13 @@ void Z_Init(void)
|
|||||||
size_t size = MIN_RAM;
|
size_t size = MIN_RAM;
|
||||||
|
|
||||||
p = M_CheckParm("-heapsize");
|
p = M_CheckParm("-heapsize");
|
||||||
|
|
||||||
|
// [FG] support Chocolate Doom's -mb parameter
|
||||||
|
if (!p)
|
||||||
|
{
|
||||||
|
p = M_CheckParm("-mb");
|
||||||
|
}
|
||||||
|
|
||||||
if(p && ++p < myargc)
|
if(p && ++p < myargc)
|
||||||
{
|
{
|
||||||
mb_size = atoi(myargv[p]);
|
mb_size = atoi(myargv[p]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user