ref: 620a25d75c2a9a307543b5abf2612c2ea38d5967
parent: 3a3530252b40b29bb0933c227c6634c4170da9e9
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Sep 17 17:44:13 EDT 2020
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.
--- a/src/Draw.cpp
+++ b/src/Draw.cpp
@@ -730,13 +730,15 @@
// 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'.