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;