gbdev / rgbds-live

A live Gameboy programming environment in the browser, allowing for realtime assembly programming for the gameboy.
https://gbdev.io/rgbds-live/
MIT License
36 stars 8 forks source link

Simplify the RGBDS patch by moving the message formatting changes to the frontend #11

Closed avivace closed 11 months ago

avivace commented 12 months ago

The "warning.c" file from RGBDS, handling how messages are printed upon calling tools in the RGBDS suite, is currently patched by us to print newlines.

I would suggest stop doing this from the RGBDS side and simply print new lines in our JS code. This can be simply accomplished by adding the newline in the compiler.js function calling the tools, e.g. for the rgblink call.

In this way half of the rgbds.patch can go away