tidying up

This commit is contained in:
Shaun Inman 2023-02-24 22:13:58 -05:00
parent b0ffcca60a
commit 588d64c9f5
4 changed files with 5 additions and 3 deletions

View file

@ -62,7 +62,7 @@ if [ -f $UPDATE_PATH ]; then
rm -f $UPDATE_PATH
# the updated system finishes the install/update
$SYSTEM_PATH/bin/install.sh
$SYSTEM_PATH/bin/install.sh # &> $SDCARD_PATH/install.txt
fi
ROOTFS_IMAGE=$SYSTEM_PATH/rootfs.ext2

View file

@ -302,7 +302,7 @@ SDL_Surface* GFX_resize(int w, int h, int pitch) {
void GFX_flip(SDL_Surface* screen) {
// point framebuffer at the first line of the backbuffer
gfx.vinfo.yoffset = gfx.page * PAGE_HEIGHT;
if (ioctl(gfx.fb0_fd, gfx.resized ? FBIOPUT_VSCREENINFO : FBIOPAN_DISPLAY, &gfx.vinfo)) LOG_info("FBIOPUT_VSCREENINFO failed %s\n", strerror(errno));
if (ioctl(gfx.fb0_fd, gfx.resized ? FBIOPUT_VSCREENINFO : FBIOPAN_DISPLAY, &gfx.vinfo)) LOG_info("%s failed %s\n", (gfx.resized ? "FBIOPUT_VSCREENINFO" : "FBIOPAN_DISPLAY"), strerror(errno));
gfx.resized = 0;
if (gfx.vsync!=VSYNC_OFF) {