This commit is contained in:
Wengier
2021-03-14 08:28:18 -04:00
parent 71c41d74e6
commit 1839813d9a
3 changed files with 7 additions and 3 deletions

View File

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

View File

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

View File

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