summaryrefslogtreecommitdiff
path: root/src/savage_video.c
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2012-05-20 19:56:02 +0200
committerTormod Volden <debian.tormod@gmail.com>2012-05-20 21:50:13 +0200
commit0fcc405001c8b85f6cadb863784848366afd8278 (patch)
tree69af1f5e3da380aac75d9f65f97f5bc56ab767b8 /src/savage_video.c
parent4d07bc05b027e8fdcc30cab0958eada62642dde2 (diff)
fixup: move SavageUpdateDevices to savage_vbe.ctormod-sync
Diffstat (limited to 'src/savage_video.c')
-rw-r--r--src/savage_video.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/savage_video.c b/src/savage_video.c
index f473e1c..d7546d2 100644
--- a/src/savage_video.c
+++ b/src/savage_video.c
@@ -65,8 +65,6 @@ static int SavagePutImage( ScrnInfoPtr,
static int SavageQueryImageAttributes(ScrnInfoPtr,
int, unsigned short *, unsigned short *, int *, int *);
static void SavageFreeMemory(ScrnInfoPtr pScrn, void *mem_struct);
-/* function for online update of current devices and TV format */
-static void SavageUpdateDevices(ScrnInfoPtr pScrn);
void SavageResetVideo(ScrnInfoPtr pScrn);
@@ -1430,18 +1428,6 @@ SavageFreeMemory(
}
}
-/* function for online update of current devices and TV format */
-static void SavageUpdateDevices(ScrnInfoPtr pScrn)
-{
- SavagePtr psav;
-
- psav = SAVPTR(pScrn);
- psav->iDevInfo = SavageGetDevice(psav);
- psav->PAL = ((SavageGetTV(psav) & BIOS_TV_PAL) != 0);
- psav->TvOn = ((psav->iDevInfo & TV_ACTIVE) != 0);
- psav->CrtOnly = ((psav->iDevInfo & (unsigned char) ~CRT_ACTIVE) == 0);
-}
-
static void
SavageSetBlend(ScrnInfoPtr pScrn, int id)
{