- Double clicking on a configuration will now only load it in the
emulator, not boot it as well.
- Changed GUI bit depth to match the info fetched from SDL's
GetVideoInfo() instead of hardcoding it to 16-bit as it was before.
- Disabled RCTRL->Reset while in GUI (not needed?)
This commit is contained in:
Dimitris Panokostas 2016-09-11 22:09:26 +02:00
parent 8373c9d524
commit e6478df3a5
3 changed files with 8 additions and 8 deletions

View file

@ -623,7 +623,7 @@ void virtualdevice_init (void)
static int real_main2 (int argc, TCHAR **argv)
{
printf("Amiberry v2.0 build 2016-09-05\n");
printf("Amiberry v2.0 build 2016-09-11\n");
#ifdef PANDORA_SPECIFIC
SDL_Init(SDL_INIT_NOPARACHUTE | SDL_INIT_VIDEO);
#else

View file

@ -218,11 +218,11 @@ public:
strncpy(last_active_config, ConfigFilesList[selected_item]->Name, MAX_PATH);
DisableResume();
RefreshAllPanels();
if(emulating)
uae_reset(1, 1);
else
uae_reset(0, 1);
gui_running = false;
// if(emulating)
// uae_reset(1, 1);
// else
// uae_reset(0, 1);
// gui_running = false;
}
else
{

View file

@ -130,7 +130,7 @@ void gui_init()
#if defined (RASPBERRY)
const SDL_VideoInfo* videoInfo = SDL_GetVideoInfo ();
printf("Current resolution: %d x %d %d bpp\n",videoInfo->current_w, videoInfo->current_h, videoInfo->vfmt->BitsPerPixel);
gui_screen = SDL_SetVideoMode(videoInfo->current_w, videoInfo->current_h, 16, SDL_SWSURFACE);
gui_screen = SDL_SetVideoMode(videoInfo->current_w, videoInfo->current_h, videoInfo->vfmt->BitsPerPixel, SDL_SWSURFACE);
#else
gui_screen = SDL_SetVideoMode(GUI_WIDTH, GUI_HEIGHT, 16, SDL_SWSURFACE);
#endif
@ -227,7 +227,7 @@ void gui_run()
break;
case SDLK_ESCAPE:
case SDLK_RCTRL:
// case SDLK_RCTRL:
//-------------------------------------------------
// Reset Amiga
//-------------------------------------------------