mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 15:19:53 -06:00
idk
This commit is contained in:
@ -95,8 +95,7 @@ private:
|
||||
// should optimize down to one divide instruction
|
||||
this->zquo = ((z0 - z1) >> 1) / xdiff << 1;
|
||||
s32 rem = ((z0 - z1) >> 1) % xdiff << 1;
|
||||
s32 idk = zquo * xdiff;
|
||||
this->zcounter = z1 + idk + rem;
|
||||
this->zcounter = z1 + (zquo * xdiff) + rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user