mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-08 19:32:39 +08:00
Merge branch 'master' into fix_libc++19
This commit is contained in:
commit
8f879c310a
@ -1,5 +1,7 @@
|
||||
Next
|
||||
- Fixed build failure with libc++ 19 (@DimitryAndric)
|
||||
- Fixed fullscreen mode not responding when launched in TTF mode
|
||||
in Windows (maron2000)
|
||||
- Fixed crashes when changing floppies mounted by drive numbers on
|
||||
a booted guest OS (maron2000)
|
||||
- Fixed launching host programs with white spaces in path (Windows)
|
||||
|
@ -124,10 +124,10 @@ static const char *def_menu__toplevel[] =
|
||||
"VideoMenu",
|
||||
"SoundMenu",
|
||||
"DOSMenu",
|
||||
"DriveMenu",
|
||||
#if !defined(C_EMSCRIPTEN)
|
||||
"CaptureMenu",
|
||||
#endif
|
||||
"DriveMenu",
|
||||
#if C_DEBUG
|
||||
"DebugMenu",
|
||||
#endif
|
||||
@ -709,9 +709,9 @@ static const char *def_menu_capture[] =
|
||||
"mapper_capnetrf",
|
||||
"--",
|
||||
#endif
|
||||
"saveoptionmenu",
|
||||
"mapper_savestate",
|
||||
"mapper_loadstate",
|
||||
"saveoptionmenu",
|
||||
"saveslotmenu",
|
||||
"autosavecfg",
|
||||
"browsesavefile",
|
||||
@ -860,7 +860,7 @@ static const char* def_menu_help_debug[] =
|
||||
static const char *def_menu_help[] =
|
||||
{
|
||||
"help_intro",
|
||||
"HelpCommandMenu",
|
||||
"help_about",
|
||||
#if !defined(HX_DOS)
|
||||
"--",
|
||||
"help_homepage",
|
||||
@ -880,7 +880,7 @@ static const char *def_menu_help[] =
|
||||
#if C_PCAP || C_PRINTER && defined(WIN32) || !C_DEBUG && !defined(MACOSX) && !defined(LINUX) && !defined(HX_DOS) && !defined(C_EMSCRIPTEN)
|
||||
"--",
|
||||
#endif
|
||||
"help_about",
|
||||
"HelpCommandMenu",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -3809,8 +3809,12 @@ static void GUI_StartUp() {
|
||||
posy = -1;
|
||||
const char* windowposition = section->Get_string("windowposition");
|
||||
LOG_MSG("Configured windowposition: %s", windowposition);
|
||||
if (windowposition && !strcmp(windowposition, "-"))
|
||||
if(windowposition && !strcmp(windowposition, "-"))
|
||||
#if defined (WIN32) && !defined(C_SDL2)
|
||||
posx = posy = -1;
|
||||
#else
|
||||
posx = posy = -2;
|
||||
#endif
|
||||
else if (windowposition && *windowposition && strcmp(windowposition, ",")) {
|
||||
char result[100];
|
||||
safe_strncpy(result, windowposition, sizeof(result));
|
||||
|
@ -880,7 +880,7 @@ void DOS_Shell::Prepare(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (country>0&&!control->opt_noconfig) {
|
||||
if (country>0&&!control->opt_noconfig) {
|
||||
countryNo = country;
|
||||
DOS_SetCountry(countryNo);
|
||||
}
|
||||
@ -1139,7 +1139,6 @@ public:
|
||||
}
|
||||
if (control->opt_prerun) cmd += "\n";
|
||||
}
|
||||
|
||||
autoexec_auto_bat.Install(cmd);
|
||||
}
|
||||
dos.loaded_codepage = cp;
|
||||
@ -1264,7 +1263,12 @@ public:
|
||||
#else
|
||||
if (secure) autoexec[i++].Install("z:\\system\\config.com -securemode");
|
||||
#endif
|
||||
|
||||
#if defined(WIN32)
|
||||
if(TTF_using()) {
|
||||
autoexec[i++].Install("@config -set output=surface");
|
||||
autoexec[i++].Install("@config -set output=ttf");
|
||||
}
|
||||
#endif
|
||||
if (addexit) autoexec[i++].Install("exit");
|
||||
|
||||
assert(i <= 17); /* FIXME: autoexec[] should not be fixed size */
|
||||
|
Loading…
x
Reference in New Issue
Block a user