Save extended Language Card memory type if RAMWORKS

This commit is contained in:
michaelangel007 2017-04-27 14:03:17 -07:00
parent 3cd86800b9
commit cd88c40719

View File

@ -985,6 +985,8 @@ int APIENTRY WinMain(HINSTANCE passinstance, HINSTANCE, LPSTR lpCmdLine, int)
#ifdef RAMWORKS
else if (strcmp(lpCmdLine, "-r") == 0) // RamWorks size [1..127]
{
g_eMemType = MEM_TYPE_RAMWORKS;
lpCmdLine = GetCurrArg(lpNextArg);
lpNextArg = GetNextArg(lpNextArg);
g_uMaxExPages = atoi(lpCmdLine);