diff options
Diffstat (limited to 'games-emulation/zsnes/files/zsnes-1.42-memfix.patch')
-rw-r--r-- | games-emulation/zsnes/files/zsnes-1.42-memfix.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/games-emulation/zsnes/files/zsnes-1.42-memfix.patch b/games-emulation/zsnes/files/zsnes-1.42-memfix.patch deleted file mode 100644 index a80ae3679984..000000000000 --- a/games-emulation/zsnes/files/zsnes-1.42-memfix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -NurdB zsnes_1_42/src/linux/zfilew.c zsnes_1_42-patched/src/linux/zfilew.c ---- zsnes_1_42/src/linux/zfilew.c 2005-01-14 08:11:19.000000000 -0500 -+++ zsnes_1_42-patched/src/linux/zfilew.c 2006-03-16 02:16:42.000000000 -0500 -@@ -476,9 +476,13 @@ - { - homedir = (char *)malloc(ZCFG_DIR_LEN); - getcwd(homedir, ZCFG_DIR_LEN); -+ strcpy(zcfgdir, homedir); -+ free(homedir); -+ } -+ else -+ { -+ strcpy(zcfgdir, homedir); - } -- strcpy(zcfgdir, homedir); -- free(homedir); - strcat(zcfgdir, ZCFG_DIR); - tmp = opendir(zcfgdir); - if (tmp == NULL) |