patcher/Kiseki.Patcher/Source/Patcher.cpp

13 lines
224 B
C++

#include "Patcher.hpp"
LONG Patcher::Apply()
{
DetourTransactionBegin();
for (Patch patch : patchList)
{
DetourAttach(&(PVOID&)*patch.first, patch.second);
}
return DetourTransactionCommit();
}