mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-05 01:33:31 +00:00
Merge pull request #2170 from aliaspider/master
(PS1) convert serial to uppercase.
This commit is contained in:
commit
8fb027a304
@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include <compat/strcasestr.h>
|
||||
#include <compat/strl.h>
|
||||
@ -188,10 +189,10 @@ static int detect_ps1_game_sub(const char *track_path, char *game_id, int sub_ch
|
||||
else
|
||||
tmp++;
|
||||
|
||||
*game_id++ = *tmp++;
|
||||
*game_id++ = *tmp++;
|
||||
*game_id++ = *tmp++;
|
||||
*game_id++ = *tmp++;
|
||||
*game_id++ = toupper(*tmp++);
|
||||
*game_id++ = toupper(*tmp++);
|
||||
*game_id++ = toupper(*tmp++);
|
||||
*game_id++ = toupper(*tmp++);
|
||||
*game_id++ = '-';
|
||||
tmp++;
|
||||
*game_id++ = *tmp++;
|
||||
|
Loading…
Reference in New Issue
Block a user