Made out ASM-accurate

It just so happens that a path buffer and a FILE pointer both take up
the right amount of stack space *and* have the correct stack frame
ordering, so maybe this is actually what the original source code
did.
This commit is contained in:
Clownacy 2020-09-17 21:44:13 +01:00
parent 3a3530252b
commit 620a25d75c

View file

@ -730,13 +730,15 @@ void CortBox2(const RECT *rect, unsigned long col, SurfaceID surf_no)
// Dummied-out log function
// According to the Mac port, its name really is just "out".
BOOL out(int surface_identifier)
BOOL out(char surface_identifier)
{
char str[0x100];
// The actual name (and type) of these two variables are unknown
char path[MAX_PATH];
FILE *fp;
// The actual name of these two variables are unknown
(void)surface_identifier;
(void)str;
(void)path;
(void)fp;
// There may have been some kind of 'OutputDebugStringA' call here,
// like the one in 'EnumDevices_Callback' in 'Input.cpp'.