Renamed UpdateScreen() to UpdateGuiScreen()
To avoid confusion with the emulation screen
This commit is contained in:
parent
8c1c8110c5
commit
0ab994809d
8 changed files with 60 additions and 60 deletions
|
@ -251,7 +251,7 @@ static void CreateFilesysHardfileLoop()
|
|||
uae_gui->draw();
|
||||
// Finally we update the screen.
|
||||
|
||||
UpdateScreen();
|
||||
UpdateGuiScreen();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -316,7 +316,7 @@ static void EditFilesysHardfileLoop()
|
|||
uae_gui->draw();
|
||||
// Finally we update the screen.
|
||||
|
||||
UpdateScreen();
|
||||
UpdateGuiScreen();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -255,7 +255,7 @@ static void EditFilesysVirtualLoop(void)
|
|||
uae_gui->draw();
|
||||
// Finally we update the screen.
|
||||
|
||||
UpdateScreen();
|
||||
UpdateGuiScreen();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@ void InGameMessage(const char *msg)
|
|||
// Finally we update the screen.
|
||||
if (!drawn)
|
||||
{
|
||||
UpdateScreen();
|
||||
UpdateGuiScreen();
|
||||
}
|
||||
drawn = true;
|
||||
}
|
||||
|
|
|
@ -352,7 +352,7 @@ static void SelectFileLoop()
|
|||
uae_gui->draw();
|
||||
// Finally we update the screen.
|
||||
|
||||
UpdateScreen();
|
||||
UpdateGuiScreen();
|
||||
|
||||
if (!dialogCreated)
|
||||
{
|
||||
|
|
|
@ -144,7 +144,7 @@ static void ShowMessageLoop()
|
|||
uae_gui->draw();
|
||||
// Finally we update the screen.
|
||||
|
||||
UpdateScreen();
|
||||
UpdateGuiScreen();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -124,6 +124,6 @@ extern char *screenshot_filename;
|
|||
extern int currentStateNum;
|
||||
extern int delay_savestate_frame;
|
||||
|
||||
extern void UpdateScreen();
|
||||
extern void UpdateGuiScreen();
|
||||
|
||||
#endif // _GUI_HANDLING_H
|
||||
|
|
|
@ -139,7 +139,7 @@ void RegisterRefreshFunc(void (*func)())
|
|||
refreshFuncAfterDraw = func;
|
||||
}
|
||||
|
||||
void UpdateScreen()
|
||||
void UpdateGuiScreen()
|
||||
{
|
||||
// Update the texture from the surface
|
||||
SDL_UpdateTexture(gui_texture, nullptr, gui_screen->pixels, gui_screen->pitch);
|
||||
|
@ -319,7 +319,7 @@ namespace sdl
|
|||
uae_gui->draw();
|
||||
// Finally we update the screen.
|
||||
|
||||
UpdateScreen();
|
||||
UpdateGuiScreen();
|
||||
|
||||
if (refreshFuncAfterDraw != nullptr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue