ports/emulators/pcem/files/patch-src_vid__t1000.c
Stefan Eßer a03851a452 emulators/pcem: update to version 17
The repository used by this port is actively maintained and there
"dev" branch contains updates and fixes (including for builds on
aarch64).

Since the maintainer had not updated the port for more than 1 year
and it had become deprecated, I'm taking over maintainership.
2023-10-15 15:24:12 +02:00

11 lines
503 B
C

--- src/vid_t1000.c.orig 2020-12-01 19:49:05 UTC
+++ src/vid_t1000.c
@@ -436,7 +436,7 @@ static void t1000_poll(void *p)
else mem_mapping_disable(&t1000->mapping);
}
/* Switch between internal plasma and external CRT display. */
- if (st_display_internal != -1 && st_display_internal != t1000->internal)
+ if (st_display_internal != (uint8_t)-1 && st_display_internal != t1000->internal)
{
t1000->internal = st_display_internal;
t1000_recalctimings(t1000);