Bug in __card_getfilenum

Post Reply
antidote
Posts: 17
Joined: Wed Mar 23, 2011 2:54 am

Bug in __card_getfilenum

Post by antidote » Fri Aug 23, 2013 10:00 pm

__card_getfilenum uses strnicmp instead of simply stricmp, this causes incorrect behavior when two files have similar filenames e.g, gczelda (TWW) and gczelda2 (TP)

Here is a patch that corrects this behavior:
https://dl.dropboxusercontent.com/u/217 ... icmp.patch

WinterMute
Site Admin
Posts: 1861
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Bug in __card_getfilenum

Post by WinterMute » Wed Sep 04, 2013 11:51 pm

Your patch has now been applied in the git repository, should be available with next release. Many thanks
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests