mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 18:49:51 +01:00
2 files changed
+4
-2
No files matched your search
@@ -120,6 +120,8 @@ struct MultipartFormDataEncoder : UrlEncoder
|
||||
Add(key, value, "", "");
|
||||
}
|
||||
|
||||
using UrlEncoder::Add;
|
||||
|
||||
void Add(const std::string &key, const std::string &value, const std::string &filename, const std::string &mimeType)
|
||||
{
|
||||
data += "--" + boundary + "\r\n";
|
||||
|
||||
@@ -1899,7 +1899,7 @@ void ImWatchWindow::Draw(ImConfig &cfg, ImControl &control, MIPSDebugInterface *
|
||||
}
|
||||
bool confirmed = ImGui::InputText("##edit", editBuffer_, ImGuiInputTextFlags_EnterReturnsTrue | ImGuiInputTextFlags_AutoSelectAll);
|
||||
// Filter for only enter presses
|
||||
confirmed = confirmed && ImGui::IsKeyPressed(ImGuiKey_Enter) || ImGui::IsKeyPressed(ImGuiKey_KeypadEnter);
|
||||
confirmed = confirmed && (ImGui::IsKeyPressed(ImGuiKey_Enter) || ImGui::IsKeyPressed(ImGuiKey_KeypadEnter));
|
||||
if (confirmed || ImGui::IsItemDeactivated()) {
|
||||
watch.SetExpression(editBuffer_, mipsDebug);
|
||||
editingWatchIndex_ = -1;
|
||||
@@ -1935,7 +1935,7 @@ void ImWatchWindow::Draw(ImConfig &cfg, ImControl &control, MIPSDebugInterface *
|
||||
break;
|
||||
case WatchFormat::FLOAT:
|
||||
memcpy(&valuef, &value, sizeof(valuef));
|
||||
ImGui::Text("%f", value);
|
||||
ImGui::Text("%f", static_cast<float>(value));
|
||||
break;
|
||||
case WatchFormat::STR:
|
||||
if (Memory::IsValidAddress(value)) {
|
||||
|
||||
Reference in new issue
Block a user