Skip to content

Commit

Permalink
Merge pull request #1 from DefinitelyNotSade/root-builder
Browse files Browse the repository at this point in the history
Change path searched for binaries to be outside of `Data`, changed to…
  • Loading branch information
DefinitelyNotSade authored Feb 19, 2024
2 parents 4e1ec8b + 2ff06ec commit 983cdf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpu_info/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int get_min_iset(void)
BOOL APIENTRY DllMain(HMODULE hModule, DWORD fdwReason, LPVOID lpReserved)
{
int iset;
char buff[MAX_PATH] = "Data\\" HR_NAME "\\";
char buff[MAX_PATH] = HR_NAME "\\";

if (fdwReason == DLL_PROCESS_ATTACH)
{
Expand All @@ -156,7 +156,7 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD fdwReason, LPVOID lpReserved)
else
{
printf("not found!\n\n");
HR_MSGBOX("No valid HR binary found in Data/" HR_NAME "!",
HR_MSGBOX("No valid HR binary found in " HR_NAME "!",
MB_ICONERROR);
}
}
Expand Down

0 comments on commit 983cdf2

Please sign in to comment.