diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2023-11-02 20:28:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-02 20:28:28 +0100 |
commit | 942908f7f565084566819b84f238bbce66051c55 (patch) | |
tree | cbc78cea53394f71e8d4090b2642790130525ecc /pkgs/applications/emulators | |
parent | 50c3db1d8e5e19dce3af31c0a8fcb468bc94652e (diff) | |
parent | b867bc357aa5c3825b1effecf485635c963f4863 (diff) |
Merge pull request #265039 from trofi/zsnes-fortify3-amend
zsnes: amend fortify3 patch and fix initialization
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/zsnes/fortify3.patch | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pkgs/applications/emulators/zsnes/fortify3.patch b/pkgs/applications/emulators/zsnes/fortify3.patch index 83a67b8b7e879..cbd55a1c7af16 100644 --- a/pkgs/applications/emulators/zsnes/fortify3.patch +++ b/pkgs/applications/emulators/zsnes/fortify3.patch @@ -18,12 +18,3 @@ Detected by _FORTIFY_SOURCE=3: extern unsigned char SPCRAM[65472]; unsigned char *SPCState = SPCRAM; -@@ -1456,7 +1456,7 @@ void clearmem() - memset(pal16b, 0, 1024); - memset(pal16bcl, 0, 1024); - memset(pal16bclha, 0, 1024); -- for (i=0 ; i<1024 ; i+=4) -+ for (i=0 ; i<1024-4 ; i+=4) - { - memset(pal16bxcl+i, 255, 2); - memset(pal16bxcl+i+2, 0, 2); |