mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-10 17:20:56 -10:00
Clean up debug.cpp
This commit is contained in:
1 parent
8a6907a028
commit
bfdf49a3f7
1 file changed
+5
-7
+5
-7
@@ -8,18 +8,16 @@ char dFlagDbg[NUMLEVELS][MAXDUNX][MAXDUNY];
|
||||
|
||||
void __cdecl LoadDebugGFX()
|
||||
{
|
||||
if ( visiondebug )
|
||||
pSquareCel = LoadFileInMem("Data\\Square.CEL", 0);
|
||||
if (visiondebug)
|
||||
pSquareCel = LoadFileInMem("Data\\Square.CEL", 0);
|
||||
}
|
||||
// 525720: using guessed type int visiondebug;
|
||||
|
||||
void __cdecl FreeDebugGFX()
|
||||
{
|
||||
void *v0; // ecx
|
||||
|
||||
v0 = pSquareCel;
|
||||
pSquareCel = 0;
|
||||
mem_free_dbg(v0);
|
||||
void *temp = pSquareCel;
|
||||
pSquareCel = NULL;
|
||||
mem_free_dbg(temp);
|
||||
}
|
||||
|
||||
void __cdecl CheckDungeonClear()
|
||||
|
||||
Reference in new issue
Block a user