mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
idk
This commit is contained in:
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user