mirror of
https://github.com/nmlgc/ReC98.git
synced 2025-02-26 20:55:09 +00:00

All the weird double returns in FUUIN.EXE just magically appear with -O-! 😮 And yeah, it's a bowl of global state spaghetti once again. 🍝 Named the functions in a way that would make sense to a user of the API, who should be aware of typical side effects, like, y'know, a changed hardware palette… That's how you end up with the supposed "main" function getting a "_palette_show" suffix. Completes P0082, funded by Ember2528.
9 lines
118 B
C++
9 lines
118 B
C++
/* ReC98
|
|
* -----
|
|
* Code segment #10 of TH01's FUIIN.EXE
|
|
*/
|
|
|
|
#pragma option -1 -O-
|
|
|
|
#include "th01/formats/grp.cpp"
|