mirror of
https://github.com/Creased/RCM-Emulator.git
synced 2026-12-06 02:48:11 +01:00
Add live hardware-tweak config window (M key)
This commit is contained in:
1 parent
f6146bb953
commit
1cd49f667a
15 files changed
+970
-121
No files matched your search
@@ -3,12 +3,25 @@
|
||||
|
||||
SRC_DIR = . t210 display
|
||||
SRCS = $(foreach dir,$(SRC_DIR),$(wildcard $(dir)/*.cpp))
|
||||
|
||||
# Vendored Dear ImGui (see third_party/imgui/). Listed explicitly so we don't
|
||||
# accidentally pick up imgui_demo.cpp etc. if they're added later.
|
||||
IMGUI_DIR = third_party/imgui
|
||||
IMGUI_SRCS = \
|
||||
$(IMGUI_DIR)/imgui.cpp \
|
||||
$(IMGUI_DIR)/imgui_draw.cpp \
|
||||
$(IMGUI_DIR)/imgui_tables.cpp \
|
||||
$(IMGUI_DIR)/imgui_widgets.cpp \
|
||||
$(IMGUI_DIR)/backends/imgui_impl_sdl2.cpp \
|
||||
$(IMGUI_DIR)/backends/imgui_impl_sdlrenderer2.cpp
|
||||
|
||||
SRCS += $(IMGUI_SRCS)
|
||||
OBJS = $(SRCS:.cpp=.o)
|
||||
|
||||
OUTPUT = rcm_emu
|
||||
|
||||
CXX = g++
|
||||
CXXFLAGS = -Wall -g -O2 -std=c++17 -I.
|
||||
CXXFLAGS = -Wall -g -O2 -std=c++17 -I. -I$(IMGUI_DIR) -I$(IMGUI_DIR)/backends
|
||||
LDFLAGS =
|
||||
LIBS = -lunicorn -lSDL2 -lpthread
|
||||
|
||||
@@ -29,9 +42,10 @@ $(OUTPUT): $(OBJS)
|
||||
$(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||
|
||||
# Header dependencies
|
||||
main.o: main.cpp emu_state.h t210/memory_map.h t210/mmio.h display/sdl_display.h
|
||||
main.o: main.cpp emu_state.h t210/memory_map.h t210/mmio.h display/sdl_display.h display/config_window.h
|
||||
t210/mmio.o: t210/mmio.cpp t210/mmio.h t210/memory_map.h t210/tegra_bl.h emu_state.h
|
||||
display/sdl_display.o: display/sdl_display.cpp display/sdl_display.h emu_state.h t210/tegra_bl.h
|
||||
display/sdl_display.o: display/sdl_display.cpp display/sdl_display.h display/config_window.h emu_state.h t210/tegra_bl.h
|
||||
display/config_window.o: display/config_window.cpp display/config_window.h emu_state.h
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
||||
|
||||
Reference in new issue
Block a user