diff --git a/gatodecodertlcsfont.cpp b/gatodecodertlcsfont.cpp index 444c600..a7a019c 100644 --- a/gatodecodertlcsfont.cpp +++ b/gatodecodertlcsfont.cpp @@ -37,8 +37,9 @@ QByteArray GatoDecoderTLCSFont::decode(GatoROM *gr){ if(gr->outputcols%8!=0) return ba; if(gr->outputrows%8!=0) return ba; - //qDebug()<<"Output size is"<outputrows<<"x"<outputcols; - //qDebug()<<"Angle is"<angle; + //Strictly check the size. FIXME: Make this more generic. + if(gr->outputrows!=48 || gr->outputcols!=64) + return ba; //Top to bottom uint32_t adr=0;