Fixed bug in HD panel
Fixed browse button in HD selection showing black screen
This commit is contained in:
parent
bc32a2e4b3
commit
ae9ca6708b
2 changed files with 6 additions and 10 deletions
|
@ -19,8 +19,8 @@
|
|||
#include "gui_handling.h"
|
||||
#include "pandora_gfx.h"
|
||||
|
||||
#define DIALOG_WIDTH 620
|
||||
#define DIALOG_HEIGHT 242
|
||||
#define DIALOG_WIDTH 520
|
||||
#define DIALOG_HEIGHT 202
|
||||
|
||||
static const char *harddisk_filter[] = { ".hdf", "\0" };
|
||||
|
||||
|
@ -314,13 +314,11 @@ static void EditFilesysHardfileLoop(void)
|
|||
// Now we let the Gui object draw itself.
|
||||
uae_gui->draw();
|
||||
// Finally we update the screen.
|
||||
// wait_for_vsync();
|
||||
// SDL_Flip(gui_screen);
|
||||
|
||||
// Update the texture from the surface
|
||||
SDL_UpdateTexture(texture, NULL, gui_screen->pixels, gui_screen->pitch);
|
||||
SDL_UpdateTexture(gui_texture, NULL, gui_screen->pixels, gui_screen->pitch);
|
||||
// Copy the texture on the renderer
|
||||
SDL_RenderCopy(renderer, texture, NULL, NULL);
|
||||
SDL_RenderCopy(renderer, gui_texture, NULL, NULL);
|
||||
// Update the window surface (show the renderer)
|
||||
SDL_RenderPresent(renderer);
|
||||
}
|
||||
|
|
|
@ -254,13 +254,11 @@ static void EditFilesysVirtualLoop(void)
|
|||
// Now we let the Gui object draw itself.
|
||||
uae_gui->draw();
|
||||
// Finally we update the screen.
|
||||
// wait_for_vsync();
|
||||
// SDL_Flip(gui_screen);
|
||||
|
||||
// Update the texture from the surface
|
||||
SDL_UpdateTexture(texture, NULL, gui_screen->pixels, gui_screen->pitch);
|
||||
SDL_UpdateTexture(gui_texture, NULL, gui_screen->pixels, gui_screen->pitch);
|
||||
// Copy the texture on the renderer
|
||||
SDL_RenderCopy(renderer, texture, NULL, NULL);
|
||||
SDL_RenderCopy(renderer, gui_texture, NULL, NULL);
|
||||
// Update the window surface (show the renderer)
|
||||
SDL_RenderPresent(renderer);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue