Merge pull request #84 from negativeExponent/path_separator
Use correct path separator
This commit is contained in:
		
						commit
						c54a3bf21c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -2428,7 +2428,7 @@ u32 load_gamepak(const struct retro_game_info* info, const char *name) | |||
|    else | ||||
|       p = gamepak_filename; | ||||
| 
 | ||||
|    snprintf(backup_filename, sizeof(backup_filename), "%s/%s", save_path, p); | ||||
|    snprintf(backup_filename, sizeof(backup_filename), "%s%c%s", save_path, PATH_SEPARATOR_CHAR, p); | ||||
|    p = strrchr(backup_filename, '.'); | ||||
|    if (p) | ||||
|       strcpy(p, ".sav"); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue