Jakz / retro8

PICO-8 implementation with SDL2/SDL1.2 and RetroArch back-ends
GNU General Public License v3.0
253 stars 29 forks source link

Make picopolis work #28

Open mibus opened 3 years ago

mibus commented 3 years ago

I wanted to try out Picopolis - https://www.lexaloffle.com/bbs/?tid=29590 - and these patches are enough to begin playing.

The two commits implement flip() [using a function pointer and data pointer, not unlike glib-style userdata callbacks] and re-fetch _update() and friends from Lua (since Picopolis has _update and _draw as function pointers).