[RCFILE] Improved support for windows setup

This commit is contained in:
ptitSeb 2025-02-12 09:20:04 +01:00
parent 60396f58c0
commit 6197b70a9a
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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