diff options
author | pixel <pixel> | 2003-09-11 00:21:58 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-09-11 00:21:58 +0000 |
commit | 8e1b15f1eb4171135f3fdb803fed1f8025f5f52d (patch) | |
tree | f14392d990a312a8651a9e5938b730a883a682ae | |
parent | ae612d5361b66b7bcbafae3f36d851f7624aaae6 (diff) |
Whooops... Forgot to put the script size :-P
-rw-r--r-- | PE/reinsert.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PE/reinsert.cpp b/PE/reinsert.cpp index 660e81e..b4b60cf 100644 --- a/PE/reinsert.cpp +++ b/PE/reinsert.cpp @@ -134,6 +134,7 @@ int patch_img(cdutils * cd) { memcpy(room + jptr, script, f->GetSize()); *((int *) (room + ptr)) = jptr | 0x01000000; + *((int *) (room + ptr - 4)) = f->GetSize(); cd->write_datas(room, GUESS, d_pe1.Sector + sector + s1 + s2, size); |