mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
(PS1) convert serial to uppercase.
This commit is contained in:
parent
e280ff2767
commit
bdcc7c81ce
@ -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…
x
Reference in New Issue
Block a user