| 32 | static void patch_test_setup_expected_calls_##name(MockMemoryInterface& ee, MockMemoryInterface& iop) |
| 33 | |
| 34 | static Patch::PatchCommand BuildPatchCommand( |
| 35 | Patch::patch_place_type place, |
| 36 | Patch::patch_cpu_type cpu, |
| 37 | u32 address, |
| 38 | Patch::patch_data_type type, |
| 39 | u64 data) |
| 40 | { |
| 41 | Patch::PatchCommand command; |
| 42 | command.placetopatch = place; |
| 43 | command.cpu = cpu; |
| 44 | command.addr = address; |
| 45 | command.type = type; |
| 46 | command.data = data; |
| 47 | return command; |
| 48 | } |
| 49 | |
| 50 | // ***************************************************************************** |
| 51 | // Writes |