mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Fix incorrect int->float conversion in op_sub (closes #488)
This commit is contained in:
@@ -3276,7 +3276,8 @@ void BugFixes::init() {
|
||||
// Fix incorrect int-to-float conversion
|
||||
SafeWriteBatch<WORD>(0x04DB, { // fild 64bit > fild 32bit
|
||||
0x46A3A8, 0x46A3F4, // op_mul_
|
||||
0x46A4E7, 0x46A566 // op_div_
|
||||
0x46A4E7, 0x46A566, // op_div_
|
||||
0x46A280, 0x46A2CD, // op_sub_
|
||||
});
|
||||
|
||||
// Fix for vanilla division operator treating negative integers as unsigned
|
||||
|
||||
Reference in New Issue
Block a user