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:
parent
3a3530252b
commit
620a25d75c
1 changed files with 6 additions and 4 deletions
10
src/Draw.cpp
10
src/Draw.cpp
|
@ -730,13 +730,15 @@ void CortBox2(const RECT *rect, unsigned long col, SurfaceID surf_no)
|
||||||
|
|
||||||
// Dummied-out log function
|
// Dummied-out log function
|
||||||
// According to the Mac port, its name really is just "out".
|
// 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)surface_identifier;
|
||||||
(void)str;
|
(void)path;
|
||||||
|
(void)fp;
|
||||||
|
|
||||||
// There may have been some kind of 'OutputDebugStringA' call here,
|
// There may have been some kind of 'OutputDebugStringA' call here,
|
||||||
// like the one in 'EnumDevices_Callback' in 'Input.cpp'.
|
// like the one in 'EnumDevices_Callback' in 'Input.cpp'.
|
||||||
|
|
Loading…
Add table
Reference in a new issue