mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 15:45:42 +00:00
parent
9c82096f8f
commit
d7f8884291
|
@ -274,7 +274,7 @@ void GPU_HW::IncludeVRAMDityRectangle(const Common::Rectangle<u32>& rect)
|
|||
// shadow texture is updated
|
||||
if (!m_draw_mode.IsTexturePageChanged() &&
|
||||
(m_draw_mode.GetTexturePageRectangle().Intersects(rect) ||
|
||||
m_draw_mode.IsUsingPalette() && m_draw_mode.GetTexturePaletteRectangle().Intersects(rect)))
|
||||
(m_draw_mode.IsUsingPalette() && m_draw_mode.GetTexturePaletteRectangle().Intersects(rect))))
|
||||
{
|
||||
m_draw_mode.SetTexturePageChanged();
|
||||
}
|
||||
|
@ -433,4 +433,4 @@ void GPU_HW::DrawRendererStats(bool is_idle_frame)
|
|||
|
||||
ImGui::Columns(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -319,8 +319,11 @@ void QtHostInterface::updateControllerInputMap()
|
|||
continue;
|
||||
|
||||
const auto button_names = Controller::GetButtonNames(ctype);
|
||||
for (const auto& [button_name, button_code] : button_names)
|
||||
for (const auto& it : button_names)
|
||||
{
|
||||
const std::string& button_name = it.first;
|
||||
const s32 button_code = it.second;
|
||||
|
||||
QVariant var = m_qsettings.value(
|
||||
QStringLiteral("Controller%1/Button%2").arg(controller_index + 1).arg(QString::fromStdString(button_name)));
|
||||
if (!var.isValid())
|
||||
|
|
|
@ -44,7 +44,7 @@ private:
|
|||
bool CreateSwapChainRTV();
|
||||
bool CreateImGuiContext();
|
||||
|
||||
void Render();
|
||||
void Render() override;
|
||||
void RenderDisplay();
|
||||
|
||||
SDL_Window* m_window = nullptr;
|
||||
|
|
|
@ -39,7 +39,7 @@ private:
|
|||
bool CreateImGuiContext();
|
||||
bool CreateGLResources();
|
||||
|
||||
void Render();
|
||||
void Render() override;
|
||||
void RenderDisplay();
|
||||
|
||||
SDL_Window* m_window = nullptr;
|
||||
|
|
Loading…
Reference in a new issue