aboutsummaryrefslogtreecommitdiff
path: root/primedev/core/hooks.h
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2024-08-25 21:49:45 +0100
committerGitHub <noreply@github.com>2024-08-25 22:49:45 +0200
commit3e2d4035ada7a91e0ecffd0fde050cf47fce0427 (patch)
tree6f0f81f80a9dfcf35c3d0ab33f959b7cf7992b26 /primedev/core/hooks.h
parent5aae42126a062f1d184aff1c8217ef50259ccc53 (diff)
downloadNorthstarLauncher-1.27.3-rc3.tar.gz
NorthstarLauncher-1.27.3-rc3.zip
Fix manual hooks storing their name badly (#774)v1.27.3-rc4v1.27.3-rc3
Fix manual hooks storing their name wrong and move to just using std::string since it's much more convenient and this isn't C
Diffstat (limited to 'primedev/core/hooks.h')
-rw-r--r--primedev/core/hooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/primedev/core/hooks.h b/primedev/core/hooks.h
index 2a2180da..023b7411 100644
--- a/primedev/core/hooks.h
+++ b/primedev/core/hooks.h
@@ -278,7 +278,7 @@ public:
class ManualHook
{
public:
- char* pFuncName;
+ std::string svFuncName;
LPVOID pHookFunc;
LPVOID* ppOrigFunc;