Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable smaller MAXPLAYERS values #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

bane9
Copy link

@bane9 bane9 commented Feb 2, 2025

This fixes bugs when providing a MAXPLAYERS value smaller than 4.
The patch is mostly useful for embedded ports.

Using MSVC and Release build, with MAXPLAYERS=4 the bss size is:
0003:00013120 00041ac8H .bss DATA
And with MAXPLAYERS=1 it's:
0003:00013120 00040360H .bss DATA

Which equates to 5992 bytes saved. Not a lot but it still makes a difference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant