From 6f35e5a237add13d54bc7c9b2105df3e0b0d8d78 Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Mon, 20 Mar 2017 21:31:26 +0700 Subject: [PATCH] Correct _calcTileSizes. Fixed #1317 Smash 64 Graphical Inaccuracies --- src/Textures.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Textures.cpp b/src/Textures.cpp index ee1a4116..abf6c917 100644 --- a/src/Textures.cpp +++ b/src/Textures.cpp @@ -678,11 +678,6 @@ void _calcTileSizes(u32 _t, TileSizes & _sizes, gDPTile * _pLoadTile) _sizes.clampWidth = (pTile->clamps && gDP.otherMode.cycleType != G_CYC_COPY) ? tileWidth : width; _sizes.clampHeight = (pTile->clampt && gDP.otherMode.cycleType != G_CYC_COPY) ? tileHeight : height; - if (_sizes.clampWidth > 256) - pTile->clamps = 0; - if (_sizes.clampHeight > 256) - pTile->clampt = 0; - // Make sure masking is valid if (maskWidth > width) { pTile->masks = powof(width);