Skip to content

Commit ad4a909

Browse files
committed
FullscreenUI: Fix incorrect parent directory button
1 parent 37efd34 commit ad4a909

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/gpu_backend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ void GPUBackend::ReleaseQueuedFrame()
325325
if (s_cpu_thread_state.wait_state.compare_exchange_strong(expected, CPUThreadState::WAIT_GPU_THREAD_SIGNALING,
326326
std::memory_order_acq_rel, std::memory_order_acquire))
327327
{
328-
if (g_settings.gpu_max_queued_frames > 0)
328+
if (g_gpu_settings.gpu_max_queued_frames > 0)
329329
DEV_LOG("--> Unblocking CPU thread");
330330

331331
s_cpu_thread_state.gpu_thread_wait.Post();

src/util/imgui_fullscreen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3148,7 +3148,7 @@ void ImGuiFullscreen::FileSelectorDialog::Draw()
31483148
}
31493149
else
31503150
{
3151-
if (ImGui::IsKeyPressed(ImGuiKey_Backspace, false) || ImGui::IsKeyPressed(ImGuiKey_NavGamepadMenu, false))
3151+
if (ImGui::IsKeyPressed(ImGuiKey_Backspace, false) || ImGui::IsKeyPressed(ImGuiKey_NavGamepadInput, false))
31523152
{
31533153
if (!m_items.empty() && m_first_item_is_parent_directory)
31543154
SetDirectory(std::move(m_items.front().full_path));

0 commit comments

Comments
 (0)