diff options
author | Alec Murphy <alec@checksum.fail> | 2021-07-05 11:23:10 -0400 |
---|---|---|
committer | Alec Murphy <alec@checksum.fail> | 2021-07-05 11:23:10 -0400 |
commit | 8670342c2587fe35598c09a129906e71ff8439b2 (patch) | |
tree | 155ba856c6fc2cb7815f82255bd7360a7f6c4d6d | |
parent | 6cf1eb17500f49d42208ca9746d81a0600bba289 (diff) |
Dynamically patch W_CacheLumpNum with pointer to IWAD data
-rw-r--r-- | Lib/LibC.HC | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/LibC.HC b/Lib/LibC.HC index 7bf4d6d..8d63a88 100644 --- a/Lib/LibC.HC +++ b/Lib/LibC.HC @@ -396,6 +396,7 @@ U0 lseek() { U8 *@mmap(I64 fd) { no_warn fd; + MemSetU32(0x4136ae, iwad_fp->data, 1); return iwad_fp->data; } |