mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
idk
This commit is contained in:
parent
c5b9c3d36d
commit
8f450faa56
@ -95,8 +95,7 @@ private:
|
|||||||
// should optimize down to one divide instruction
|
// should optimize down to one divide instruction
|
||||||
this->zquo = ((z0 - z1) >> 1) / xdiff << 1;
|
this->zquo = ((z0 - z1) >> 1) / xdiff << 1;
|
||||||
s32 rem = ((z0 - z1) >> 1) % xdiff << 1;
|
s32 rem = ((z0 - z1) >> 1) % xdiff << 1;
|
||||||
s32 idk = zquo * xdiff;
|
this->zcounter = z1 + (zquo * xdiff) + rem;
|
||||||
this->zcounter = z1 + idk + rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user