| 207 | } |
| 208 | |
| 209 | void CallPatch(void* dest, void* patch) |
| 210 | { |
| 211 | u8 temp[5]; |
| 212 | temp[0] = 0xE8; |
| 213 | *(int*)&temp[1] = (int)patch - (int)dest - 5; |
| 214 | WriteMem(dest, temp, 5); |
| 215 | return; |
| 216 | } |
| 217 | |
| 218 | void CallPatch(u32 dest, void* patch) |
| 219 | { |
no test coverage detected