Fix Set Memory.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2661
This commit is contained in:
		
							parent
							
								
									97470261fb
								
							
						
					
					
						commit
						1a6a92a423
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -16,7 +16,7 @@ | |||
|  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||||
|  */ | ||||
| 
 | ||||
| /* $Id: debug.cpp,v 1.82 2006-06-22 08:34:38 qbix79 Exp $ */ | ||||
| /* $Id: debug.cpp,v 1.83 2006-06-27 07:00:56 qbix79 Exp $ */ | ||||
| 
 | ||||
| #include "dosbox.h" | ||||
| #if C_DEBUG | ||||
|  | @ -1027,7 +1027,8 @@ bool ParseCommand(char* str) { | |||
| 		while (*found) { | ||||
| 			while (*found==' ') found++; | ||||
| 			if (*found) { | ||||
| 				Bit8u value = (Bit8u)GetHexValue(found,found); found++; | ||||
| 				Bit8u value = (Bit8u)GetHexValue(found,found); | ||||
| 				if(*found) found++; | ||||
| 				mem_writeb(GetAddress(seg,ofs+count),value); | ||||
| 				count++; | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue