forked from len0rd/rockbox
Change display_zoom from int to double.
The main reason for this is to be able to downscale the sdl app, which when used for designing themes for android tends not to fit on laptop screens these days. Change-Id: Ib52731dbebcdd03a572be7754c157471165eb2df
This commit is contained in:
parent
bc657b5163
commit
3d0c787a48
3 changed files with 4 additions and 4 deletions
|
@ -314,7 +314,7 @@ void sys_handle_argv(int argc, char *argv[])
|
|||
{
|
||||
x++;
|
||||
if(x < argc)
|
||||
display_zoom=atoi(argv[x]);
|
||||
display_zoom=atof(argv[x]);
|
||||
else
|
||||
display_zoom = 2;
|
||||
printf("Window zoom is %d\n", display_zoom);
|
||||
|
@ -364,7 +364,7 @@ void sys_handle_argv(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
}
|
||||
if (display_zoom > 1) {
|
||||
if (display_zoom != 1) {
|
||||
background = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue