| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- --- rar.hpp.dist Thu Jun 12 14:16:15 2003
- +++ rar.hpp Thu Jun 12 14:15:31 2003
- @@ -16,6 +16,7 @@
- #include "int64.hpp"
- #include "unicode.hpp"
- #include "errhnd.hpp"
- +#include "global.hpp"
- #include "array.hpp"
- #include "timefn.hpp"
- #include "headers.hpp"
- @@ -71,7 +72,6 @@
- #include "smallfn.hpp"
- #include "ulinks.hpp"
-
- -#include "global.hpp"
-
-
- #endif
- --- rarvm.cpp.orig 2003-05-15 10:37:58.000000000 +0200
- +++ rarvm.cpp 2003-07-28 14:36:01.000000000 +0200
- @@ -376,16 +376,16 @@
- case VM_PUSHA:
- {
- const int RegCount=sizeof(R)/sizeof(R[0]);
- - for (int I=0,SP=R[7]-4;I<RegCount;I++,SP-=4)
- - SET_VALUE(false,(uint *)&Mem[SP & VM_MEMMASK],R[I]);
- + for (int I=0,SPTR=R[7]-4;I<RegCount;I++,SPTR-=4)
- + SET_VALUE(false,(uint *)&Mem[SPTR & VM_MEMMASK],R[I]);
- R[7]-=RegCount*4;
- }
- break;
- case VM_POPA:
- {
- const int RegCount=sizeof(R)/sizeof(R[0]);
- - for (uint I=0,SP=R[7];I<RegCount;I++,SP+=4)
- - R[7-I]=GET_VALUE(false,(uint *)&Mem[SP & VM_MEMMASK]);
- + for (uint I=0,SPTR=R[7];I<RegCount;I++,SPTR+=4)
- + R[7-I]=GET_VALUE(false,(uint *)&Mem[SPTR & VM_MEMMASK]);
- }
- break;
- case VM_PUSHF:
|