Hack to keep wine happy, by Alexander Graf.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2993 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									4f2b1fe821
								
							
						
					
					
						commit
						d6eb40f650
					
				| 
						 | 
				
			
			@ -1933,6 +1933,8 @@ int main(int argc, char **argv)
 | 
			
		|||
    cpu_x86_load_seg(env, R_FS, __USER_DS);
 | 
			
		||||
    cpu_x86_load_seg(env, R_GS, __USER_DS);
 | 
			
		||||
 | 
			
		||||
    /* This hack makes Wine work... */
 | 
			
		||||
    env->segs[R_FS].selector = 0;
 | 
			
		||||
#elif defined(TARGET_ARM)
 | 
			
		||||
    {
 | 
			
		||||
        int i;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue