Skip to content

Commit da18524

Browse files
committed
Update ImGui to v1.65
1 parent 4d1ffb8 commit da18524

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ else ()
2626
if (CMAKE_COMPILER_IS_GNUCXX AND
2727
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8)
2828
# TODO(binji): These warnings should only be disabled for imgui.
29-
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}
30-
"-Wno-class-memaccess -Wno-stringop-truncation"
31-
)
29+
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -Wno-stringop-truncation)
3230
endif ()
3331
endif ()
3432

@@ -68,6 +66,7 @@ if (NOT EMSCRIPTEN)
6866
add_executable(binjgb-debugger
6967
third_party/imgui/imgui.cpp
7068
third_party/imgui/imgui_draw.cpp
69+
third_party/imgui/imgui_widgets.cpp
7170
third_party/imgui_dock/imgui_dock.cpp
7271
src/memory.c
7372
src/common.c

src/debugger/debugger.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ bool Debugger::Init(const char* filename, int audio_frequency, int audio_frames,
117117
return false;
118118
}
119119

120+
ImGui::CreateContext();
121+
120122
run_state = paused_at_start ? Paused : Running;
121123

122124
ZERO_MEMORY(emulator_init);

third_party/imgui

Submodule imgui updated 206 files

0 commit comments

Comments
 (0)