1
0
Fork 0

Patch "[ 1555185 ] Fix for SVGA Harrier" from Vasyl Tsvirkunov

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2697
This commit is contained in:
Peter Veenstra 2006-09-09 16:06:32 +00:00
parent 1a17ed9833
commit aea9c0fa83
2 changed files with 4 additions and 3 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: vga_s3.cpp,v 1.4 2006-07-08 16:32:26 c2woody Exp $ */
/* $Id: vga_s3.cpp,v 1.5 2006-09-09 16:06:31 qbix79 Exp $ */
#include "dosbox.h"
#include "inout.h"
@ -29,6 +29,7 @@ void SVGA_S3_WriteCRTC(Bitu reg,Bitu val,Bitu iolen) {
vga.s3.reg_31 = val;
vga.config.compatible_chain4 = !(val&0x08);
VGA_DetermineMode();
VGA_SetupHandlers();
break;
/*
0 Enable Base Address Offset (CPUA BASE). Enables bank operation if

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: shell_misc.cpp,v 1.44 2006-04-07 19:56:45 qbix79 Exp $ */
/* $Id: shell_misc.cpp,v 1.45 2006-09-09 16:06:32 qbix79 Exp $ */
#include <stdlib.h>
#include <string.h>
@ -368,7 +368,7 @@ bool DOS_Shell::Execute(char * name,char * args) {
};
/* check for a drive change */
if ((strcmp(name + 1, ":") == 0) && isalpha(*name))
if (((strcmp(name + 1, ":") == 0) || (strcmp(name + 1, ":\\") == 0)) && isalpha(*name))
{
if (!DOS_SetDrive(toupper(name[0])-'A')) {
WriteOut(MSG_Get("SHELL_EXECUTE_DRIVE_NOT_FOUND"),toupper(name[0]));