mirror of
https://github.com/N64Recomp/N64ModernRuntime.git
synced 2025-10-30 08:02:29 +00:00
Mark error spot
This commit is contained in:
parent
b1fd1e798e
commit
9d5f0a945a
1 changed files with 1 additions and 0 deletions
|
|
@ -561,6 +561,7 @@ void patch_func(recomp_func_t* target_func, recomp::mods::GenericFunction replac
|
|||
size_t offset = 0;
|
||||
|
||||
auto write_bytes = [&](const void* bytes, size_t count) {
|
||||
// TODO: This is failing for macOS, investigate why.
|
||||
memcpy(target_func_u8 + offset, bytes, count);
|
||||
offset += count;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue