1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Code cleanup: fix cast from float to s16.

This commit is contained in:
Sergey Lipskiy 2017-12-16 13:15:57 +07:00
parent acc884ac0b
commit 4bdc44ce4e

View File

@ -816,7 +816,7 @@ void gDPTextureRectangle(f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, s16 s, s1
// HACK ALERT!
if (s == 0x4000 && (gDP.colorImage.width + gSP.textureTile[0]->uls < 512))
s = 0.0f;
s = 0;
gDP.rectColor = gDPInfo::Color();
if (gDP.otherMode.cycleType < G_CYC_COPY) {