Removed usages of DEBUG define
This commit is contained in:
parent
47e8851b07
commit
3160cbb97d
5
Makefile
5
Makefile
@ -370,11 +370,6 @@ ifeq ($(DINFO),1)
|
||||
override CFLAGS += -g
|
||||
endif
|
||||
|
||||
ifeq ($(DDEBUG),1)
|
||||
override ASFLAGS += --defsym DEBUG=1
|
||||
override CPPFLAGS += -D DEBUG=1
|
||||
endif
|
||||
|
||||
# The dep rules have to be explicit or else missing files won't be reported.
|
||||
# As a side effect, they're evaluated immediately instead of when the rule is invoked.
|
||||
# It doesn't look like $(shell) can be deferred so there might not be a better way.
|
||||
|
||||
@ -1501,10 +1501,6 @@ void FreeSpriteTilesByTag(u16 tag)
|
||||
FREE_SPRITE_TILE(i);
|
||||
|
||||
sSpriteTileRangeTags[index] = TAG_NONE;
|
||||
#if DEBUG
|
||||
// If debugging, visibly clear the freed tiles
|
||||
CpuSmartFill16(0, (u8 *)OBJ_VRAM0 + TILE_SIZE_4BPP * start, count * TILE_SIZE_4BPP);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@ -1635,9 +1631,6 @@ void FreeSpritePaletteByTag(u16 tag)
|
||||
if (index != 0xFF)
|
||||
{
|
||||
sSpritePaletteTags[index] = TAG_NONE;
|
||||
#if DEBUG
|
||||
FillPalette(0, index * 16 + 0x100, 32);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user