1
0
Fork 0

Support writing palette register data to dynamic save area if pointer is non-zero on mode changes. Fixes CV 2.2 (thanks for the help ripsaw)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3982
This commit is contained in:
Peter Veenstra 2016-05-10 14:38:39 +00:00
parent 36f12b5670
commit 9fc2c31a97
2 changed files with 11 additions and 1 deletions

View file

@ -715,6 +715,8 @@ static void INT10_Seg40Init(void) {
real_writeb(BIOSMEM_SEG,BIOSMEM_MODESET_CTL,0x51);
// Set the default MSR
real_writeb(BIOSMEM_SEG,BIOSMEM_CURRENT_MSR,0x09);
// Set the pointer to video save pointer table
real_writed(BIOSMEM_SEG,BIOSMEM_VS_POINTER,int10.rom.video_save_pointers);
}