mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-19 21:32:31 -04:00
Attempt to decompile strtol
This commit is contained in:
@@ -54,7 +54,7 @@ void gfxInitMemory(void)
|
||||
s32 gfx;
|
||||
s32 gfxtra = 0;
|
||||
|
||||
gfx = func00013408(argFindByPrefix(1, "-mgfx"), NULL, 0) * 1024;
|
||||
gfx = strtol(argFindByPrefix(1, "-mgfx"), NULL, 0) * 1024;
|
||||
|
||||
if (argFindByPrefix(1, "-mgfxtra")) {
|
||||
// ******** Extra specified but are we in the correct game mode I wonder???\n
|
||||
@@ -64,7 +64,7 @@ void gfxInitMemory(void)
|
||||
// ******** If you try and run hi-res then\n
|
||||
// ******** you're gonna shafted up the arse\n
|
||||
// ******** so don't blame me\n
|
||||
gfxtra = func00013408(argFindByPrefix(1, "-mgfxtra"), NULL, 0) * 1024;
|
||||
gfxtra = strtol(argFindByPrefix(1, "-mgfxtra"), NULL, 0) * 1024;
|
||||
} else {
|
||||
// ******** No we're not so there\n
|
||||
}
|
||||
@@ -78,7 +78,7 @@ void gfxInitMemory(void)
|
||||
|
||||
if (argFindByPrefix(1, "-mvtx")) {
|
||||
// Argument specified mtxvtx_size\n
|
||||
g_VtxSizesByPlayerCount[PLAYERCOUNT() - 1] = func00013408(argFindByPrefix(1, "-mvtx"), NULL, 0) * 1024;
|
||||
g_VtxSizesByPlayerCount[PLAYERCOUNT() - 1] = strtol(argFindByPrefix(1, "-mvtx"), NULL, 0) * 1024;
|
||||
}
|
||||
|
||||
// %d Players : Allocating %d bytes for master dl's\n
|
||||
|
||||
Reference in New Issue
Block a user