It's mice now not mice86
This commit is contained in:
@@ -70,10 +70,10 @@ BOOL WINAPI FakeCreateProcessW(LPCWSTR lpApplicationName, LPWSTR lpCommandLine,
|
||||
// CREATE_NEW_CONSOLE);
|
||||
} else {
|
||||
dwCreationFlags |= CREATE_NEW_CONSOLE;
|
||||
wsprintfW(commandLineW, L"mice86 -b %ls", lpApplicationName);
|
||||
wsprintfW(commandLineW, L"mice -b %ls", lpApplicationName);
|
||||
printf("%ls %ls\n", micePathW, commandLineW);
|
||||
BOOL ret =
|
||||
TrueCreateProcessW(L"mice86.cmd", commandLineW, lpProcessAttributes, lpThreadAttributes,
|
||||
TrueCreateProcessW(L"mice.cmd", commandLineW, lpProcessAttributes, lpThreadAttributes,
|
||||
bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory,
|
||||
lpStartupInfo, lpProcessInformation);
|
||||
printf("%d\n", ret);
|
||||
|
||||
@@ -23,7 +23,7 @@ SECTION(launcher, "These options are only used during initial bootstrapping")
|
||||
CFG_str(launcher, game_binary, "", "Override binary detection")
|
||||
CFG_bool(launcher, wait_for_debugger, false, "Wait for a debugger to attach when starting")
|
||||
CFG_int(launcher, startup_delay, 0, "Pause during startup")
|
||||
CFG_str(launcher, mice_dll, "mice86.dll", "The path to mice's DLL")
|
||||
CFG_str(launcher, mice_dll, "mice.dll", "The path to mice's DLL")
|
||||
CFG_str(launcher, inject, "", "Extra DLLs to inject during boot")
|
||||
ENDSECTION(launcher)
|
||||
|
||||
|
||||
@@ -5,10 +5,4 @@
|
||||
HANDLE start_and_inject(LPCSTR path, LPSTR cmdline, LPCSTR inject, BOOL debug_wait, DWORD delay,
|
||||
LPCSTR extra_injections, DWORD flags);
|
||||
|
||||
#ifndef MICELIB
|
||||
#ifdef MICE_WIN32
|
||||
#define MICELIB "mice86.dll"
|
||||
#else // MICE_WIN32
|
||||
#define MICELIB "mice64.dll"
|
||||
#endif // MICE_WIN32
|
||||
#endif // MICELIB
|
||||
#define MICELIB "mice.dll"
|
||||
|
||||
Reference in New Issue
Block a user