(360/Xbox 1) System environment path fixed - Sega CD games

should run now if a BIOS is present in system directory
This commit is contained in:
twinaphex 2012-07-12 03:10:59 +02:00
parent baaec1acc3
commit c80663f8d8

View File

@ -852,7 +852,7 @@ void retro_init(void)
if (environ_cb(RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY, &dir) && dir)
{
#ifdef _XBOX
snprintf(slash, sizeof(slash), "\\");
snprintf(slash, sizeof(slash), "\0");
#else
snprintf(slash, sizeof(slash), "/");
#endif