mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
Add config save/load for imdebugger, move the imgui.ini to PSP/SYSTEM
This commit is contained in:
1 parent
c685373444
commit
1df3b9b905
7 files changed
+106
-25
No files matched your search
@@ -1,8 +1,10 @@
|
||||
#include "ext/imgui/imgui.h"
|
||||
#include "Common/File/Path.h"
|
||||
#include "Common/Input/KeyCodes.h"
|
||||
#include "Common/Data/Encoding/Utf8.h"
|
||||
#include "Common/System/Display.h"
|
||||
#include "Common/TimeUtil.h"
|
||||
#include "Common/StringUtils.h"
|
||||
#include "Common/Log.h"
|
||||
|
||||
#include "imgui_impl_platform.h"
|
||||
@@ -73,6 +75,12 @@ void ImGui_ImplPlatform_TouchEvent(const TouchInput &touch) {
|
||||
}
|
||||
}
|
||||
|
||||
void ImGui_ImplPlatform_Init(const Path &configPath) {
|
||||
static char path[1024];
|
||||
truncate_cpy(path, configPath.ToString());
|
||||
ImGui::GetIO().IniFilename = path;
|
||||
}
|
||||
|
||||
void ImGui_ImplPlatform_AxisEvent(const AxisInput &axis) {
|
||||
// Ignore for now.
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user