Diff for /np2/i386c/ia32/interface.c between versions 1.9 and 1.11

version 1.9, 2004/01/27 15:56:20 version 1.11, 2004/02/05 16:41:32
Line 38 Line 38
 #endif  #endif
   
   
 static void ia32_initreg(void) {  void
   ia32_initreg(void)
   {
         int i;          int i;
   
         CPU_STATSAVE.cpu_inst_default.seg_base = (DWORD)-1;          CPU_STATSAVE.cpu_inst_default.seg_base = (DWORD)-1;
Line 76  static void ia32_initreg(void) { Line 77  static void ia32_initreg(void) {
 void  void
 ia32reset(void)  ia32reset(void)
 {  {
         ZeroMemory(&i386core.s, sizeof(i386core.s));  
           memset(&i386core.s, 0, sizeof(i386core.s));
         ia32_initreg();          ia32_initreg();
 }  }
   
 void  void
 ia32shut(void)  ia32shut(void)
 {  {
         ZeroMemory(&i386core.s, offsetof(I386STAT, cpu_type));  
           memset(&i386core.s, 0, offsetof(I386STAT, cpu_type));
         ia32_initreg();          ia32_initreg();
 }  }
   

Removed from v.1.9  
changed lines
  Added in v.1.11


RetroPC.NET-CVS <cvs@retropc.net>