Just spend the best part of 2 hours tracking down an issue with HIDinit not working after I upgraded from 1.1 to 1.47. Seems like nintendont doesn't like to read UNIX style files, only WINDOWS.....
The actual line that causes the failure is in HID.c (line 390 _sprintf ) was brought in in r20:
Code:
u32 ConfigGetValue( char *Data, const char *EntryName, u32 Entry )
{
char entryname[128];
_sprintf( entryname, "\r\n%s=", EntryName );
char *str = strstr( Data, entryname );
If I remove the \r from the code, everything works fine...
It's too late at night for me, so I don't have time to find the fix - so this is a warning for anyone else..