From 378dc0a43c0a775bfe01c7da78be7cb206be692e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 14:39:21 +0000 Subject: [PATCH] Decompile fn_01827 (CTextureDX7::Update) Batch #17173 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_01827 CTextureDX7::Update: logic confirmed by peer review Peer-reviewed-by: kyoshi, br4yan Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Render/DX7/TextureDX7.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Render/DX7/TextureDX7.cpp b/Source/Render/DX7/TextureDX7.cpp index 109a1bb90..35c65471e 100644 --- a/Source/Render/DX7/TextureDX7.cpp +++ b/Source/Render/DX7/TextureDX7.cpp @@ -397,10 +397,10 @@ void CTextureDX7::Update(const RECT* rectangle) { IDirectDrawSurface7* level = this->m_surface; while (SUCCEEDED(level->GetAttachedSurface(&caps, &level))) { - destination.left >>= 1; destination.top >>= 1; - destination.right >>= 1; destination.bottom >>= 1; + destination.left >>= 1; + destination.right >>= 1; if (destination.left != destination.right && destination.top != destination.bottom) { if (FAILED(level->Blt(&destination, this->m_surface, const_cast(rectangle), DDBLT_ASYNC, nullptr))) {