Skip to content

Fix function signatures for GameErrorContext methods#377

Open
KSSBrawl wants to merge 2 commits intoGensokyoClub:masterfrom
KSSBrawl:fix-gameerrorcontext-signature
Open

Fix function signatures for GameErrorContext methods#377
KSSBrawl wants to merge 2 commits intoGensokyoClub:masterfrom
KSSBrawl:fix-gameerrorcontext-signature

Conversation

@KSSBrawl
Copy link
Contributor

@KSSBrawl KSSBrawl commented Sep 23, 2025

Because GameErrorContext::Log and GameErrorContext::Fatal are variadic functions, even if they are __thiscall (which they probably were), the this pointer gets shoved onto the stack regardless. As such, there's no reason to make them static aside from needlessly making invoking them twice as verbose.

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