Thank You for your continued support and contributions!
How do I turn on the debug so I can see what's happening?
It would have been nice if "full screem" was a configure option, like LCD size.
You seem to be aware of the fact but what you have there is most definitely a hack
About the configure: Entering LCD size was confusing to me. It has nothing to do with hardware. It is the default window size. IMHO "configure" should say "default window" instead of "LCD". Hardware is done with "platforms", like you said.
git diff firmware/target/hosted/sdl/system-sdl.cdiff --git a/firmware/target/hosted/sdl/system-sdl.c b/firmware/target/hosted/sdl/system-sdl.cindex 37580ed..dbab8fb 100644--- a/firmware/target/hosted/sdl/system-sdl.c+++ b/firmware/target/hosted/sdl/system-sdl.c@@ -56,6 +56,7 @@ SDL_Surface *gui_surface; bool background = true; /* use backgrounds by default */+bool fullscreen = false; #ifdef HAVE_REMOTE_LCD bool showremote = true; /* include remote by default */ #endif@@ -137,6 +138,9 @@ static int sdl_event_thread(void * param) /* Fullscreen mode for maemo app */ flags |= SDL_FULLSCREEN; #endif+ if(fullscreen){+ flags |= SDL_FULLSCREEN;+ } SDL_WM_SetCaption(UI_TITLE, NULL); @@ -338,6 +342,11 @@ void sys_handle_argv(int argc, char *argv[]) printf("Disabling remote image.\n"); } #endif+ else if (!strcmp("--fullscreen", argv[x]))+ {+ fullscreen = true;+ printf("Using Full Screen Mode.\n");+ } else if (!strcmp("--old_lcd", argv[x])) { having_new_lcd = false;@@ -391,6 +400,7 @@ void sys_handle_argv(int argc, char *argv[]) printf(" --old_lcd \t [Player] simulate old playermodel (ROM version<4.51)\n"); printf(" --zoom [VAL]\t Window zoom (will disable backgrounds)\n"); printf(" --alarm \t Simulate a wake-up on alarm\n");+ printf(" --fullscreen \t Use fullscreen mode\n"); printf(" --root [DIR]\t Set root directory\n"); printf(" --mapping \t Output coordinates and radius for mapping backgrounds\n"); exit(0);
Page created in 0.073 seconds with 21 queries.