Replaced KP_ALT, SKPV_OR_ALT and UKPV_OR_ALT

svn-id: r41340
This commit is contained in:
Filippos Karapetis 2009-06-07 16:50:34 +00:00
parent 36cdd09223
commit 3b687a7a04
9 changed files with 50 additions and 52 deletions

View file

@ -127,7 +127,7 @@ reg_t kGetTime(EngineState *s, int funct_nr, int argc, reg_t *argv) {
return make_reg(0, retval);
}
int mode = argc > 0 ? UKPV_OR_ALT(0, 0) : 0;
int mode = (argc > 0) ? argv[0].toUint16() : 0;
switch (mode) {
case _K_NEW_GETTIME_TICKS :