ref: b83b7f25fcdecbb7812e3e00a45a106b6dfe3426
parent: b8c0581ee475dbc848fe6e7fbc15d9aea7425c8f
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Apr 16 09:27:25 EDT 2020
Found the real name for DummiedOutLogFunction..?
--- a/src/Draw.cpp
+++ b/src/Draw.cpp
@@ -730,7 +730,9 @@
surf[surf_no]->Blt(&dst_rect, 0, 0, DDBLT_COLORFILL | DDBLT_WAIT, &ddbltfx);
}
-BOOL DummiedOutLogFunction(int unknown)
+// Dummied-out log function
+// According to the Mac port, its name really is just "out".
+BOOL out(int unknown)
{
char unknown2[0x100];
int unknown3;
@@ -762,7 +764,7 @@
{
++surfaces_regenerated;
frontbuffer->Restore();
- DummiedOutLogFunction(0x66);
+ out(0x66);
}
if (backbuffer->IsLost() == DDERR_SURFACELOST)
@@ -769,7 +771,7 @@
{
++surfaces_regenerated;
backbuffer->Restore();
- DummiedOutLogFunction(0x62);
+ out(0x62);
}
for (s = 0; s < SURFACE_ID_MAX; ++s)
@@ -780,7 +782,7 @@
{
++surfaces_regenerated;
surf[s]->Restore();
- DummiedOutLogFunction(0x30 + s);
+ out(0x30 + s);
if (!surface_metadata[s].bSystem)
{