diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-07-07 21:00:39 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-07-07 21:00:39 -0700 |
commit | 4659b02952495fe48badd61d069300f0dab30dcc (patch) | |
tree | 97a0e821296c5eb69eebce98c06c54eee0db6045 /gcc7_fixes.patch | |
parent | More optimizations. (diff) | |
download | desmume-4659b02952495fe48badd61d069300f0dab30dcc.tar.xz |
Updated to 0.9.13
-Yes, this is the first new release in seven years.
Diffstat (limited to 'gcc7_fixes.patch')
-rw-r--r-- | gcc7_fixes.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc7_fixes.patch b/gcc7_fixes.patch deleted file mode 100644 index a4934ff..0000000 --- a/gcc7_fixes.patch +++ /dev/null @@ -1,18 +0,0 @@ -From e1f7039f1b06add4fb75b2f8774000b8f05574af Mon Sep 17 00:00:00 2001 -From: rogerman <rogerman@users.sf.net> -Date: Mon, 17 Aug 2015 21:15:04 +0000 -Subject: Fix bug with libfat string handling. - -diff --git a/src/utils/libfat/directory.cpp b/src/utils/libfat/directory.cpp -index 765d7ae5..b6d7f01f 100644 ---- a/src/utils/libfat/directory.cpp -+++ b/src/utils/libfat/directory.cpp -@@ -139,7 +139,7 @@ static size_t _FAT_directory_mbstoucs2 (ucs2_t* dst, const char* src, size_t len - int bytes; - size_t count = 0; - -- while (count < len-1 && src != '\0') { -+ while (count < len-1 && *src != '\0') { - bytes = mbrtowc (&tempChar, src, MB_CUR_MAX, &ps); - if (bytes > 0) { - *dst = (ucs2_t)tempChar; |