mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-29 17:15:40 +00:00
Remove some debug code
This commit is contained in:
parent
ba917aca6d
commit
d77433b525
|
@ -301,7 +301,6 @@ static inline void DrawTileLine(uint32_t *line, int pixelOffset, uint16_t tile,
|
||||||
{
|
{
|
||||||
static_assert(bits == 4 || bits == 8, "Tiles are either 4- or 8-bit");
|
static_assert(bits == 4 || bits == 8, "Tiles are either 4- or 8-bit");
|
||||||
|
|
||||||
|
|
||||||
// For 8-bit pixels, each line of tile pattern is two words
|
// For 8-bit pixels, each line of tile pattern is two words
|
||||||
if (bits == 8)
|
if (bits == 8)
|
||||||
patternLine *= 2;
|
patternLine *= 2;
|
||||||
|
|
|
@ -281,10 +281,6 @@ void CTileGen::WriteRAM32(unsigned addr, UINT32 data)
|
||||||
// Update palette if required
|
// Update palette if required
|
||||||
if (addr >= 0x100000)
|
if (addr >= 0x100000)
|
||||||
{
|
{
|
||||||
if (data >> 16) {
|
|
||||||
int debug = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
addr -= 0x100000;
|
addr -= 0x100000;
|
||||||
unsigned color = addr/4; // color index
|
unsigned color = addr/4; // color index
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue