]> xenbits.xensource.com Git - seabios.git/commit
vgasrc: Use curmode_g instead of vmode_g when mode is the current video mode
authorKevin O'Connor <kevin@koconnor.net>
Fri, 15 Mar 2024 14:58:57 +0000 (10:58 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 15 Mar 2024 14:58:57 +0000 (10:58 -0400)
commitd73e18bb70f8bf0c6fd405900dd267948dd6c3b2
tree596c69890722b89cd88201653c4a1a1ddbd6e965
parent192e23b78418abc23a92a7174ae2294fabe4b8a3
vgasrc: Use curmode_g instead of vmode_g when mode is the current video mode

Many functions are passed a pointer to the current video mode
vgamode_s struct.  Use the name 'curmode_g' for these functions and
use 'vmode_g' for functions that can accept an arbitrary video mode.
Hopefully this will make the goals of the functions more clear.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
14 files changed:
vgasrc/bochsvga.c
vgasrc/bochsvga.h
vgasrc/cbvga.c
vgasrc/clext.c
vgasrc/stdvga.c
vgasrc/stdvga.h
vgasrc/stdvgamodes.c
vgasrc/swcursor.c
vgasrc/vbe.c
vgasrc/vgabios.c
vgasrc/vgafb.c
vgasrc/vgafb.h
vgasrc/vgahw.h
vgasrc/vgautil.h