Fix compile error with logging enabled in vid_compaq_cga

This commit is contained in:
Jasmine Iwanek 2023-12-14 20:42:52 -05:00
parent 61f83f2a3d
commit 86e07aa598

View file

@ -121,7 +121,7 @@ compaq_cga_poll(void *priv)
if (self->cga.displine < self->cga.firstline) {
self->cga.firstline = self->cga.displine;
video_wait_for_buffer();
compaq_cga_log("Firstline %i\n", firstline);
compaq_cga_log("Firstline %i\n", self->cga.firstline);
}
self->cga.lastline = self->cga.displine;