Clean up debug.cpp
This commit is contained in:
parent
8a6907a028
commit
bfdf49a3f7
1 changed files with 5 additions and 7 deletions
|
|
@ -8,18 +8,16 @@ char dFlagDbg[NUMLEVELS][MAXDUNX][MAXDUNY];
|
||||||
|
|
||||||
void __cdecl LoadDebugGFX()
|
void __cdecl LoadDebugGFX()
|
||||||
{
|
{
|
||||||
if ( visiondebug )
|
if (visiondebug)
|
||||||
pSquareCel = LoadFileInMem("Data\\Square.CEL", 0);
|
pSquareCel = LoadFileInMem("Data\\Square.CEL", 0);
|
||||||
}
|
}
|
||||||
// 525720: using guessed type int visiondebug;
|
// 525720: using guessed type int visiondebug;
|
||||||
|
|
||||||
void __cdecl FreeDebugGFX()
|
void __cdecl FreeDebugGFX()
|
||||||
{
|
{
|
||||||
void *v0; // ecx
|
void *temp = pSquareCel;
|
||||||
|
pSquareCel = NULL;
|
||||||
v0 = pSquareCel;
|
mem_free_dbg(temp);
|
||||||
pSquareCel = 0;
|
|
||||||
mem_free_dbg(v0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void __cdecl CheckDungeonClear()
|
void __cdecl CheckDungeonClear()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue