We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe232c commit 3356e78Copy full SHA for 3356e78
ttyd-tools/rel/source/patch.cpp
@@ -15,8 +15,8 @@ void writeBranch(void *ptr, void *destination)
15
uint32_t *p = reinterpret_cast<uint32_t *>(ptr);
16
*p = value;
17
18
- ttyd::OSCache::DCFlushRange(destination, sizeof(uint32_t));
19
- ttyd::OSCache::ICInvalidateRange(destination, sizeof(uint32_t));
+ ttyd::OSCache::DCFlushRange(ptr, sizeof(uint32_t));
+ ttyd::OSCache::ICInvalidateRange(ptr, sizeof(uint32_t));
20
}
21
22
0 commit comments