FullscreenUI: Fix incorrect parent directory button

This commit is contained in:
Stenzek 2025-07-26 14:02:39 +10:00
parent 37efd34a99
commit ad4a909aa4
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ void GPUBackend::ReleaseQueuedFrame()
if (s_cpu_thread_state.wait_state.compare_exchange_strong(expected, CPUThreadState::WAIT_GPU_THREAD_SIGNALING,
std::memory_order_acq_rel, std::memory_order_acquire))
{
if (g_settings.gpu_max_queued_frames > 0)
if (g_gpu_settings.gpu_max_queued_frames > 0)
DEV_LOG("--> Unblocking CPU thread");
s_cpu_thread_state.gpu_thread_wait.Post();

View File

@ -3148,7 +3148,7 @@ void ImGuiFullscreen::FileSelectorDialog::Draw()
}
else
{
if (ImGui::IsKeyPressed(ImGuiKey_Backspace, false) || ImGui::IsKeyPressed(ImGuiKey_NavGamepadMenu, false))
if (ImGui::IsKeyPressed(ImGuiKey_Backspace, false) || ImGui::IsKeyPressed(ImGuiKey_NavGamepadInput, false))
{
if (!m_items.empty() && m_first_item_is_parent_directory)
SetDirectory(std::move(m_items.front().full_path));