phy1um / ps2-homebrew-livestreams

Repo for code written during my Playstation 2 Homebrew livestreams
MIT License
47 stars 6 forks source link

Linux Testing Backend (No Graphics) #62

Closed phy1um closed 2 years ago

phy1um commented 2 years ago

Add Linux compilation target for testing. No graphics, just enough to run unit tests and verify DMA packets.

This can be expanded on later, but for now it enables running the code under valgrind to identify memory issues.

This was used to resolve an issue with memaligned in padlua.c which was causing crashes on hardware.

This also comes with a Lua compilation rework, where we now use our own compiled liblua.a

Also this makes some misc fixes to rendering, to fix draw2d rendering with a smaller buffer. CNT Tags at the start of a drawbuffer before a REF were not handled correctly.