Fixed loading FDS games

This commit is contained in:
Patrick Armstrong
2016-10-04 11:34:13 -07:00
parent a8fcbf1410
commit ed5865e37b

View File

@@ -92,6 +92,7 @@ char *FCEU_MakeFName(int type, int id1, char *cd1)
}
ret = (char*)malloc(strlen(tmp) * sizeof(char));
strncpy(ret, tmp, strlen(tmp));
return(ret);
}