summaryrefslogtreecommitdiff
path: root/src/savage_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_driver.h')
-rw-r--r--src/savage_driver.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/savage_driver.h b/src/savage_driver.h
index d5b1a46..c5d755f 100644
--- a/src/savage_driver.h
+++ b/src/savage_driver.h
@@ -170,6 +170,13 @@ typedef struct
} SavageEntRec, *SavageEntPtr;
+typedef enum {
+ TV_STD_UNDEFINED,
+ TV_STD_PAL,
+ TV_STD_NTSC,
+ TV_STD_NTSC_J
+} SavageTVStdType;
+
#define VGAIN8(addr) MMIO_IN8(psav->MapBase+0x8000, addr)
#define VGAIN16(addr) MMIO_IN16(psav->MapBase+0x8000, addr)
#define VGAIN(addr) MMIO_IN32(psav->MapBase+0x8000, addr)
@@ -367,7 +374,7 @@ typedef struct _Savage {
Bool ForceShadowStatus; /* true if explicitly set in conf */
Bool CrtOnly;
Bool TvOn;
- Bool PAL;
+ SavageTVStdType tvStd;
Bool ForceInit;
int iDevInfo;
int iDevInfoPrim;