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

Method setFlags

source/emulation/cpu/common/cpu.cpp:971–978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

969}
970
971void CPU::setFlags(U32 flags, U32 mask) {
972#ifdef _DEBUG
973 if (this->lazyFlagType !=FLAGS_NONE) {
974 kpanic("CPU::fillFlags must be called before CPU::setFlags");
975 }
976#endif
977 this->flags=(this->flags & ~mask)|(flags & mask)|2;
978}
979
980void CPU::addFlag(U32 flags) {
981#ifdef _DEBUG

Callers 9

iretMethod · 0.95
minimizeWindowMethod · 0.45
common_setFlagsFunction · 0.45
normal_popf16Function · 0.45
normal_popf32Function · 0.45
normal_sahfFunction · 0.45
newInstructionFunction · 0.45
mapNativeMemoryMethod · 0.45
mapMethod · 0.45

Calls 1

kpanicFunction · 0.85

Tested by 1

newInstructionFunction · 0.36