MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / common_bound32

Function common_bound32

source/emulation/cpu/common/common_other.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28}
29U32 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}
37void common_int99(CPU* cpu){
38 U32 index = cpu->peek32(0);
39 callOpenGL(cpu, index);

Callers 1

normal_bound32Function · 0.85

Calls 2

prepareExceptionMethod · 0.80
readdMethod · 0.45

Tested by

no test coverage detected