From 86119f58d6f994bcdc2c4f07e7056b98401e4d80 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Wed, 12 Jun 2019 14:27:30 +0300 Subject: [PATCH] rsx: Typo fix --- rpcs3/Emu/RSX/Common/texture_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Common/texture_cache.h b/rpcs3/Emu/RSX/Common/texture_cache.h index fe1d0823ba..7c715160f0 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache.h +++ b/rpcs3/Emu/RSX/Common/texture_cache.h @@ -2115,7 +2115,7 @@ namespace rsx if (last.src_x == 0 && last.src_y == 0) { u16 normalized_width = u16(last.width * last.surface->get_bpp()) / bpp; - if (normalized_width >= tex_width && last.height >= tex_height) + if (normalized_width >= tex_width && last.height >= required_surface_height) { return process_framebuffer_resource_fast(cmd, last.surface, texaddr, format, tex_width, tex_height, depth, scale_x, scale_y, extended_dimension, tex.remap(), tex.decoded_remap(), false);