Skip to content

Commit e7e8370

Browse files
authored
Merge pull request #38 from qudix/dev/fix
fix: `write_vfunc`
2 parents 4743d27 + 116b7dd commit e7e8370

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main_ci_xmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
xmake-version: "latest"
3333

3434
- name: Configure
35-
run: xmake config -y --mode=${{ matrix.mode }} --vs_toolset=14
35+
run: xmake config -y --mode=${{ matrix.mode }}
3636

3737
- name: Build
3838
run: xmake build -y -vD

CommonLibF4/include/REL/Relocation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ namespace REL
357357
{
358358
const auto addr = address() + (sizeof(void*) * a_idx);
359359
const auto result = *reinterpret_cast<std::uintptr_t*>(addr);
360-
WriteSafe(addr, a_newFunc);
360+
WriteSafeData(addr, a_newFunc);
361361
return result;
362362
}
363363

0 commit comments

Comments
 (0)