mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
fix
This commit is contained in:
@@ -1448,12 +1448,15 @@ void GFX_ReleaseMouse();
|
||||
void CPU_Snap_Back_To_Real_Mode();
|
||||
bool systemmessagebox(char const * aTitle, char const * aMessage, char const * aDialogType, char const * aIconType, int aDefaultButton) {
|
||||
#if !defined(HX_DOS)
|
||||
bool fs=sdl.desktop.fullscreen;
|
||||
if (fs) GFX_SwitchFullScreen();
|
||||
MAPPER_ReleaseAllKeys();
|
||||
GFX_LosingFocus();
|
||||
GFX_ReleaseMouse();
|
||||
bool ret=tinyfd_messageBox(aTitle, aMessage, aDialogType, aIconType, aDefaultButton);
|
||||
MAPPER_ReleaseAllKeys();
|
||||
GFX_LosingFocus();
|
||||
if (fs&&!sdl.desktop.fullscreen) GFX_SwitchFullScreen();
|
||||
return ret;
|
||||
#else
|
||||
return true;
|
||||
@@ -13563,6 +13566,7 @@ fresh_boot:
|
||||
SDL_ShowCursor(SDL_ENABLE);
|
||||
|
||||
/* Exit functions */
|
||||
if (machine != MCH_AMSTRAD) // FIXME
|
||||
while (!exitfunctions.empty()) {
|
||||
Function_wrapper &ent = exitfunctions.front();
|
||||
|
||||
|
@@ -1489,8 +1489,8 @@ copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\"</C
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\decoder.h" />
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\dyn_fpu.h" />
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\dyn_fpu_dh.h" />
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\dyn_mmx.h" />
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\helpers.h" />
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\mmx_gen.h" />
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\risc_x64.h" />
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\risc_x86.h" />
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\string.h" />
|
||||
|
@@ -2402,10 +2402,10 @@
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\dyn_fpu_dh.h">
|
||||
<Filter>Sources\cpu\core_dyn_x86</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\helpers.h">
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\dyn_mmx.h">
|
||||
<Filter>Sources\cpu\core_dyn_x86</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\mmx_gen.h">
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\helpers.h">
|
||||
<Filter>Sources\cpu\core_dyn_x86</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\src\cpu\core_dyn_x86\risc_x64.h">
|
||||
|
Reference in New Issue
Block a user