]> git.draconx.ca Git - rrace.git/commitdiff
Improve game_check_goal implementation slightly.
authorNick Bowler <nbowler@draconx.ca>
Wed, 7 Dec 2022 03:40:10 +0000 (22:40 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 7 Dec 2022 04:37:00 +0000 (23:37 -0500)
It seems that, at least on x86, GCC can generate very slightly more
compact code by "expanding" the goal bitmap to match the game format,
rather what is currently done ("shrinking" the game bitmap to match
the goal format).

Add a sanity test case that checks the result of this function, which
makes such a change straightforward to do.


No differences found