gbdk-2020 / gbdk-2020

An updated version of GBDK, C compiler, assembler, linker and set of libraries for the Nintendo Gameboy, Nintendo Entertainment System, Sega Master System, Sega Game Gear.
Other
1.74k stars 120 forks source link

<gb/drawing.h>bug #137

Closed sttng closed 3 years ago

sttng commented 3 years ago

Seems drawing.c has a bug with line function.

line(50,50,23,22); is for example not drawing correctly. It seems 23,22 is correctly targeted, but 50,50 is not.

Tested with BGB version 1.5.8

untoxa commented 3 years ago

fixed: https://github.com/Zal0/gbdk-2020/commit/2a8675de7eb3a0ee513dcbc8cc2d9fe4f32535b0