1
0
Fork 0

Add patch from h-a-l-9000 that deals with LIN4 palette setting (cad software)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3040
This commit is contained in:
Peter Veenstra 2007-11-05 18:42:56 +00:00
parent adf02d82df
commit 245d35c4c8

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: int10_modes.cpp,v 1.69 2007-10-19 20:30:24 c2woody Exp $ */
/* $Id: int10_modes.cpp,v 1.70 2007-11-05 18:42:56 qbix79 Exp $ */
#include <string.h>
@ -982,7 +982,8 @@ dac_mtext16:
IO_Write(0x3c9,mtext_palette[i][2]);
}
break;
}
} //FALLTHROUGH!!!!
case M_LIN4: //Added for CAD Software
dac_text16:
for (i=0;i<64;i++) {
IO_Write(0x3c9,text_palette[i][0]);