From 944bf5dc3064c3b56981296153685c47c97e8b05 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 24 Jul 2023 19:24:27 +1000 Subject: [PATCH] RegTest: Fix build --- src/duckstation-regtest/regtest_host_display.cpp | 4 ++-- src/duckstation-regtest/regtest_host_display.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/duckstation-regtest/regtest_host_display.cpp b/src/duckstation-regtest/regtest_host_display.cpp index d651e80694..6383c22f2e 100644 --- a/src/duckstation-regtest/regtest_host_display.cpp +++ b/src/duckstation-regtest/regtest_host_display.cpp @@ -176,8 +176,8 @@ bool RegTestHostDisplay::Render(bool skip_present) return true; } -bool RegTestHostDisplay::RenderScreenshot(u32 width, u32 height, std::vector* out_pixels, u32* out_stride, - GPUTexture::Format* out_format) +bool RegTestHostDisplay::RenderScreenshot(u32 width, u32 height, const Common::Rectangle& draw_rect, + std::vector* out_pixels, u32* out_stride, GPUTexture::Format* out_format) { return false; } diff --git a/src/duckstation-regtest/regtest_host_display.h b/src/duckstation-regtest/regtest_host_display.h index b10f0a379b..505fcc05e8 100644 --- a/src/duckstation-regtest/regtest_host_display.h +++ b/src/duckstation-regtest/regtest_host_display.h @@ -53,8 +53,8 @@ class RegTestHostDisplay final : public HostDisplay void SetVSync(bool enabled) override; bool Render(bool skip_present) override; - bool RenderScreenshot(u32 width, u32 height, std::vector* out_pixels, u32* out_stride, - GPUTexture::Format* out_format) override; + bool RenderScreenshot(u32 width, u32 height, const Common::Rectangle& draw_rect, std::vector* out_pixels, + u32* out_stride, GPUTexture::Format* out_format) override; bool SupportsTextureFormat(GPUTexture::Format format) const override;