| 27 | } |
| 28 | } |
| 29 | U32 common_bound32(CPU* cpu, U32 reg, U32 address){ |
| 30 | if (cpu->reg[reg].u32<cpu->memory->readd(address) || cpu->reg[reg].u32>cpu->memory->readd(address+4)) { |
| 31 | cpu->prepareException(EXCEPTION_BOUND, 0); |
| 32 | return 0; |
| 33 | } else { |
| 34 | return 1; |
| 35 | } |
| 36 | } |
| 37 | void common_int99(CPU* cpu){ |
| 38 | U32 index = cpu->peek32(0); |
| 39 | callOpenGL(cpu, index); |
no test coverage detected