~groovestomp/gsnes

24c07d47598845a651f0d4a94475d1d8e3ab02ed — GrooveStomp 1 year, 5 months ago 3b365fb
Replace constant with magic value - they are not the same in this case
1 files changed, 3 insertions(+), 3 deletions(-)

M main.c
M main.c => main.c +3 -3
@@ 174,11 174,11 @@ void DrawDisassembly(struct disassembly *disassembly, int x, int y, int numLines

        for (int i = min; i < max; i++) {
                if (NULL == disassembly || NULL == disassembly->map || NULL == disassembly->map[i]) {
                        GraphicsDrawLine(graphics, x, (y - FONT_SCALE) - (9 * i), x + 100, (y - 15) - (9 * i), ColorBlack.rgba);
                        GraphicsDrawLine(graphics, x, (y - 25) - (9 * i), x + 100, (y - 15) - (9 * i), ColorBlack.rgba);
                } else if (i == pc) {
                        GraphicsDrawText(graphics, x, (y - FONT_SCALE) - (18 * i), disassembly->map[i]->text, 15, ColorBlue.rgba);
                        GraphicsDrawText(graphics, x, (y - 25) - (18 * i), disassembly->map[i]->text, 15, ColorBlue.rgba);
                } else {
                        GraphicsDrawText(graphics, x, (y - FONT_SCALE) - (18 * i), disassembly->map[i]->text, 15, ColorBlack.rgba);
                        GraphicsDrawText(graphics, x, (y - 25) - (18 * i), disassembly->map[i]->text, 15, ColorBlack.rgba);
                }
        }
}