mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Code cleanup: fix cast from float to s16.
This commit is contained in:
parent
acc884ac0b
commit
4bdc44ce4e
|
@ -816,7 +816,7 @@ void gDPTextureRectangle(f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, s16 s, s1
|
||||||
|
|
||||||
// HACK ALERT!
|
// HACK ALERT!
|
||||||
if (s == 0x4000 && (gDP.colorImage.width + gSP.textureTile[0]->uls < 512))
|
if (s == 0x4000 && (gDP.colorImage.width + gSP.textureTile[0]->uls < 512))
|
||||||
s = 0.0f;
|
s = 0;
|
||||||
|
|
||||||
gDP.rectColor = gDPInfo::Color();
|
gDP.rectColor = gDPInfo::Color();
|
||||||
if (gDP.otherMode.cycleType < G_CYC_COPY) {
|
if (gDP.otherMode.cycleType < G_CYC_COPY) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user