| 71 | } |
| 72 | |
| 73 | void Rewriter::PostRepatch(PatchCableSource* cableSource, bool fromUserClick) |
| 74 | { |
| 75 | if (cableSource == mLooperCable) |
| 76 | { |
| 77 | if (mConnectedLooper) |
| 78 | mConnectedLooper->SetRewriter(nullptr); |
| 79 | mConnectedLooper = dynamic_cast<Looper*>(mLooperCable->GetTarget()); |
| 80 | if (mConnectedLooper) |
| 81 | mConnectedLooper->SetRewriter(this); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | void Rewriter::Process(double time) |
| 86 | { |
nothing calls this directly
no test coverage detected