mirror of
https://github.com/ptitSeb/box64.git
synced 2025-05-09 00:21:32 +08:00
[RCFILE] Improved support for windows setup
This commit is contained in:
parent
60396f58c0
commit
6197b70a9a
@ -986,7 +986,7 @@ int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elf
|
||||
}
|
||||
}
|
||||
// Try to get the name of the exe being run, to ApplyEnvFileEntry laters
|
||||
if(argv[nextarg+1] && argv[nextarg+1][0]!='-' && strlen(argv[nextarg+1])>4 && !strcasecmp(argv[nextarg+1]+strlen(argv[nextarg+1])-4, ".exe")) {
|
||||
if(argv[nextarg+1] && argv[nextarg+1][0]!='-' && strlen(argv[nextarg+1])>4 /*&& !strcasecmp(argv[nextarg+1]+strlen(argv[nextarg+1])-4, ".exe")*/) {
|
||||
const char* pp = strrchr(argv[nextarg+1], '/');
|
||||
if(pp)
|
||||
box64_wine_guest_name = pp + 1;
|
||||
|
@ -10,14 +10,12 @@
|
||||
BOX64_DYNAREC_SAFEFLAGS=2
|
||||
BOX64_DYNAREC_BIGBLOCK=0
|
||||
BOX64_DYNAREC_CALLRET=0
|
||||
BOX64_DYNAREC_NATIVEFLAGS=0
|
||||
|
||||
[*install*]
|
||||
# using safest dynarec settings here, has some installers do crazy things
|
||||
BOX64_DYNAREC_SAFEFLAGS=2
|
||||
BOX64_DYNAREC_BIGBLOCK=0
|
||||
BOX64_DYNAREC_CALLRET=0
|
||||
BOX64_DYNAREC_NATIVEFLAGS=0
|
||||
|
||||
# Global DXVK per-file settings
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user