Fix 1x1 symbols in debugger window + Load icons from headers on all platforms

- Fixed an issue where the toolbar icons for the debugger were resized to 1x1
- On Windows we now load the PNG UI icons from the header-embedded pngs (`resource/embedded`) instead of via `cemu.rc` to match behavior of other platforms
This commit is contained in:
Exzap 2022-09-18 15:53:10 +02:00 committed by GitHub
parent 867c0c5ca2
commit 5e968eff4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 44 deletions

View file

@ -109,36 +109,6 @@ END
// RCDATA
//
DEBUGGER_BP RCDATA "resource\\debugger\\icons8-full-moon-filled-50.png"
DEBUGGER_BP_RED RCDATA "resource\\debugger\\icons8-full-moon-filled-50-red.png"
DEBUGGER_PAUSE RCDATA "resource\\debugger\\icons8-pause-filled-50.png"
DEBUGGER_PLAY RCDATA "resource\\debugger\\icons8-play-filled-50.png"
DEBUGGER_STEP_INTO RCDATA "resource\\debugger\\icons8-step-into-50.png"
DEBUGGER_STEP_OUT RCDATA "resource\\debugger\\icons8-step-out-50.png"
DEBUGGER_STEP_OVER RCDATA "resource\\debugger\\icons8-step-over-50.png"
DEBUGGER_GOTO RCDATA "resource\\debugger\\icons8-drop-down-50.png"
INPUT_CONNECTED RCDATA "resource\\input\\icons8-connected-50.png"
INPUT_DISCONNECTED RCDATA "resource\\input\\icons8-disconnected-50.png"
INPUT_LOW_BATTERY RCDATA "resource\\input\\icons8-low-battery-30.png"
PNG_HELP RCDATA "resource\\icons8-help-24.png"
PNG_REFRESH RCDATA "resource\\icons8-refresh-32.png"
PNG_ERROR RCDATA "resource\\icons8-error-32.png"
PNG_CHECK_YES RCDATA "resource\\icons8-checkmark-yes-32.png"
IDR_FONTAWESOME RCDATA "resource\\fontawesome-webfont.ttf"
#endif // Neutral (Default) (unknown sub-lang: 0x8) resources