Hack to keep wine happy, by Alexander Graf.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2993 c046a42c-6fe2-441c-8c8c-71466251a162
master
ths 2007-06-21 22:55:02 +00:00
parent 4f2b1fe821
commit d6eb40f650
1 changed files with 2 additions and 0 deletions

View File

@ -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;