We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f379d0 commit 1d67232Copy full SHA for 1d67232
FuserModDoorstop/src/dllmain.cpp
@@ -333,7 +333,7 @@ std::vector<byte> HexToBytes(const std::string& hex) {
333
return bytes;
334
}
335
336
-// #define DEBUG_MODE
+//#define DEBUG_MODE 1
337
338
#if DEBUG_MODE
339
#define DBG_PRINT(...) printf(__VA_ARGS__)
@@ -386,8 +386,12 @@ void setup_hook(void **target, void *hook) {
386
void FUSER_HOOK() {
387
Base = (byte*)GetModuleHandleA("Fuser-Win64-Shipping.exe");
388
if (Base == 0) {
389
- printf("ERROR! Base wasn't found!\n");
390
- return;
+ Base = (byte*)GetModuleHandleA("FuserEOS-Win64-Shipping.exe");
+
391
+ if (Base == 0) {
392
+ printf("ERROR! Base wasn't found!\n");
393
+ return;
394
+ }
395
396
397
// Change to 0 to re-lookup all of these functions.
0 commit comments