CVS: winex/misc system.c,1.4,1.5
[email protected] 12 Sep 2007 12:35:57 -0000
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/misc system.c,1.4,1.5Update of /var/lib/cvsd/cvsroot/winex/misc
In directory agravaine:/tmp/cvs-serv11922/misc
Modified Files:
system.c
Log Message:
- changed TEB::cur_stack to TEB::WOW32Reserved. WOW32Reserved is now at offset 0xC0 (cur_stack was at 0x70). The old cur_stack has been renamed to 'unknown70'.
Index: system.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/misc/system.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- system.c 7 Mar 2005 21:16:25 -0000 1.4
+++ system.c 12 Sep 2007 12:35:55 -0000 1.5
@@ -135,7 +135,7 @@
context.SegCs = SELECTOROF( proc );
context.Eip = OFFSETOF( proc );
- context.Ebp = OFFSETOF( NtCurrentTeb()->cur_stack )
+ context.Ebp = OFFSETOF( NtCurrentTeb()->WOW32Reserved )
+ (WORD)&((STACK16FRAME*)0)->bp;
AX_reg( &context ) = timer;