Cleaning up throw values around division + faults.
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
|
||||
#define JMPW continue decode
|
||||
#define SSMOD_FUNC SSMOD_FUNC
|
||||
#define WEB_DUMP
|
||||
#define COMMA COMMA
|
||||
|
||||
#include "common/tier0_opcodes.h"
|
||||
|
||||
@ -192,10 +192,6 @@ function SSMOD(sp) {
|
||||
a *= b;
|
||||
var x = Math.floor(a / c);
|
||||
var m = a - x * c;
|
||||
if (m < 0) {
|
||||
x--;
|
||||
m += c;
|
||||
}
|
||||
i32[(sp - 8)>>2] = m;
|
||||
i32[sp>>2] = x;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user