Skip to content

fix: fix resolution detection#133

Merged
smartcmd merged 2 commits intomainfrom
fix/fix-resolution-detection
Mar 2, 2026
Merged

fix: fix resolution detection#133
smartcmd merged 2 commits intomainfrom
fix/fix-resolution-detection

Conversation

@smartcmd
Copy link
Owner

@smartcmd smartcmd commented Mar 2, 2026

The loadSkins() threshold (>=1080) was inconsistent with loadMovie()'s threshold (>720), causing Iggy to fail loading skin libraries for screen heights in the 721-1079 range (e.g. 768p laptops). Unified all skin loading thresholds to >720 to match scene loading logic.

Also restored screen resolution detection using GetSystemMetrics with SetProcessDpiAwareness for proper DPI-aware physical pixel resolution.

Fixes #6

@void2012 void2012 added graphics Graphical bugs or issues related to game resources priority: moderate labels Mar 2, 2026
@smartcmd smartcmd merged commit afa4efb into main Mar 2, 2026
@void2012
Copy link
Collaborator

void2012 commented Mar 2, 2026

@smartcmd I didn't test yet

void2012 added a commit that referenced this pull request Mar 2, 2026
void2012 added a commit that referenced this pull request Mar 2, 2026
void2012 added a commit that referenced this pull request Mar 2, 2026
void2012 added a commit that referenced this pull request Mar 2, 2026
@smartcmd
Copy link
Owner Author

smartcmd commented Mar 2, 2026

@smartcmd I didn't test yet

I've asked other to test and it works quiet fine

@void2012
Copy link
Collaborator

void2012 commented Mar 2, 2026

Yes, but I didn't test yet so please don't do that again. Now it works for me so I brought your changes back.

@smartcmd smartcmd deleted the fix/fix-resolution-detection branch March 2, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

graphics Graphical bugs or issues related to game resources priority: moderate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

__debugbreak() on game launch

2 participants