Files
romm/frontend
Georges-Antoine Assi 47af5904e5 refactor(pico8): tighten the frame loop and reuse existing helpers
Render through a packed-RGBA palette lookup and a 32-bit pixel view, so a
paint is two stores per framebuffer byte instead of eight clamped byte
writes, and rebind the heap views only when wasm memory grows.

Separate `advance` from `render` so a catch-up tick emulates several frames
but paints once, rather than discarding up to two full frames of pixel work
exactly when the machine is already behind.

Load the runtime and fetch the cart in parallel, reuse one input struct
instead of allocating per step, and skip disconnected gamepads, whose stale
analog values press buttons on their own in Firefox (#3851).

Replace the hand-rolled liveness flag with useIsAlive, take the canvas
geometry and the canvas background token from their existing homes, and move
the pad, axis and mouse-button mappings next to the keyboard map.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-08 18:17:54 -04:00
..
2026-05-30 20:53:52 -04:00
2026-07-26 14:14:07 -04:00