1
0
Fork 0

fix for virtual pool (vasyl)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2668
This commit is contained in:
Sebastian Strohhäcker 2006-07-08 16:32:26 +00:00
parent ec1c470020
commit 7a842811f0
3 changed files with 44 additions and 26 deletions

View file

@ -140,8 +140,23 @@ typedef struct {
Bit8u mc[64][64];
} VGA_HWCURSOR;
typedef union {
Bit32u fullbank;
#ifndef WORDS_BIGENDIAN
struct {
Bit16u lowerbank;
Bit16u bank;
} b;
#else
struct {
Bit16u bank;
Bit16u lowerbank;
} b;
#endif
} VGA_S3_BANK;
typedef struct {
Bit8u bank;
VGA_S3_BANK svga_bank;
Bit8u reg_lock1;
Bit8u reg_lock2;
Bit8u reg_31;