projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f2b1fe
)
Hack to keep wine happy, by Alexander Graf.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 21 Jun 2007 22:55:02 +0000
(22:55 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 21 Jun 2007 22:55:02 +0000
(22:55 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2993
c046a42c
-6fe2-441c-8c8c-
71466251a162
linux-user/main.c
patch
|
blob
|
history
diff --git
a/linux-user/main.c
b/linux-user/main.c
index 7df24c5a742506d2b75ad1aaa81ddd5a6dd205e9..fe2cc5817e631bf71bf18ef0d23df7e86ab2234e 100644
(file)
--- a/
linux-user/main.c
+++ b/
linux-user/main.c
@@
-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;