remove debug code

This commit is contained in:
Shaun Inman 2023-02-26 00:24:25 -05:00
parent c2c8f2d067
commit 96186d9b4e

View file

@ -390,7 +390,7 @@ void GFX_flip(SDL_Surface* screen) {
gfx.vinfo.yoffset = gfx.page * PAGE_HEIGHT; gfx.vinfo.yoffset = gfx.page * PAGE_HEIGHT;
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)); 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; gfx.resized = 0;
POW_flipOverlay(); // TODO: tmp? POW_flipOverlay();
if (gfx.vsync!=VSYNC_OFF) { if (gfx.vsync!=VSYNC_OFF) {
// this limiting condition helps SuperFX chip games // this limiting condition helps SuperFX chip games
@ -1270,7 +1270,7 @@ static void POW_updateBatteryStatus(void) {
else pow.charge = 10; else pow.charge = 10;
// LOG_info("battery charge: %i (%i) charging: %i\n", pow.charge, i, pow.is_charging); // LOG_info("battery charge: %i (%i) charging: %i\n", pow.charge, i, pow.is_charging);
pow.charge = POW_LOW_CHARGE; // pow.charge = POW_LOW_CHARGE;
} }
static void* POW_monitorBattery(void *arg) { static void* POW_monitorBattery(void *arg) {