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

Function gen400

source/emulation/cpu/srcgen.cpp:8098–8114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8096}
8097
8098void gen400(struct GenData* data, struct Op* op) {
8099 struct Op* first;
8100 U32 blockCount = getBlockEipCount(data->block);
8101
8102 data->block = data->block->block1;
8103 first = data->block->ops;
8104 if (first->func == firstOp) {
8105 data->block->ops = data->block->ops->next;
8106 first->next = 0;
8107 freeOp(first);
8108 }
8109
8110 data->eip+=blockCount;
8111 jit(data->cpu, data->block, data->eip);
8112 writeBlock(data, data->block);
8113 addBlockToData(data, data->block);
8114}
8115
8116U32 getTestLeftRight(struct Op* op, char* left, char* right) {
8117 U32 same = 0;

Callers

nothing calls this directly

Calls 2

writeBlockFunction · 0.85
addBlockToDataFunction · 0.85

Tested by

no test coverage detected