Repository navigation
Studio: pin ImGuiFileDialog to the last commit with the API GUI.cpp uses - #450
Open
Fructose0517 wants to merge 1 commit into
Open
Fructose0517 wants to merge 1 commit into
Fructose0517 wants to merge 1 commit into
Conversation
ps2xStudio fetched ImGuiFileDialog at master. Master changed in late November 2026 and no longer has FileDialog::Display, IsOk, GetFilePathName and Close, so GUI.cpp stopped compiling. Pin it to d0e97b2 (master as of March 2026: v0.6.8 and 8 later commits). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
ps2xStudio/CMakeLists.txtfetches ImGuiFileDialog atmaster. Itsmasterchanged in late November 2026 (a series of commits from 2026-11-28 on) and no longer hasIGFD::FileDialog::Display,IsOk,GetFilePathNameandClose, so a fresh configure now fails to compileps2xStudio/src/GUI.cpp:This pins it to
d0e97b2, the lastmastercommit before that change (March 2026: tagv0.6.8and 8 later commits).GIT_SHALLOWis dropped because a shallow fetch needs a branch or tag name, not a commit.Porting
GUI.cppto the new API is the alternative; pinning seemed the smaller change while that API is still moving (several commits a day at the moment).Tests
Windows, MSVC 19.51, configured and built like the CI job (
cmake -B build,cmake --build build --config Release): with this change on top of the MSVC attribute fix (needed for anything to build with MSVC onmain), every target builds,ps2xStudioincluded, with no errors, andps2x_testspasses 523 of 523. Without the pin,ps2xStudiostops at the errors above (the same build with the attribute fix only).Not tried on Linux (no SDL2/FFmpeg development packages on this machine).
Related
The CI jobs fail on
mainfor two other reasons, each with its own small PR:__attribute__in the GS files under MSVC, and a missing<cstring>incode_generator_tests.cppunder GCC and Clang.🤖 Generated with Claude Code