I pushed the merge with latest TomB version. But i have some bugs with it...
It you set higher emulation rendering resolution with 640 and above for horizontal, it looks like some playfield/mouse get broken... (can be seen in workbench 1.3)
Picasso works but when you exit sometimes it stuck...
I will looks at theses later...
Ariath wrote:Hi all!
I have built this in my RPi +B (i think, i don't remember the model, but it is a RPi 1), and GUI runs fine, but... because i'm using composite video, the gui is too large and goes off screen.
There is any way of "resizing the gui"? I thought the gui would adujst itself to the screen ...
I don't mind if the resolution is hardcoded, just need to know which source file i need to edit and i will recompile it

.
In file od-pandora/gui/main_window.cpp, just enable original code (replace #if defined (RASPBERRY) by #if 0) :
Code: Select all
#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 |SDL_FULLSCREEN);
#else
gui_screen = SDL_SetVideoMode(GUI_WIDTH, GUI_HEIGHT, 16, SDL_SWSURFACE);
#endif