Remove old chown calls on linux

This commit is contained in:
OV2 2012-04-16 19:56:15 +02:00
parent 9b5cefa630
commit 08ff48a479
1 changed files with 0 additions and 6 deletions

View File

@ -2167,9 +2167,6 @@ bool8 CMemory::SaveSRAM (const char *filename)
size_t ignore; size_t ignore;
ignore = fwrite((char *) Multi.sramB, size, 1, file); ignore = fwrite((char *) Multi.sramB, size, 1, file);
fclose(file); fclose(file);
#ifdef __linux
ignore = chown(name, getuid(), getgid());
#endif
} }
strcpy(ROMFilename, temp); strcpy(ROMFilename, temp);
@ -2187,9 +2184,6 @@ bool8 CMemory::SaveSRAM (const char *filename)
size_t ignore; size_t ignore;
ignore = fwrite((char *) SRAM, size, 1, file); ignore = fwrite((char *) SRAM, size, 1, file);
fclose(file); fclose(file);
#ifdef __linux
ignore = chown(sramName, getuid(), getgid());
#endif
if (Settings.SRTC || Settings.SPC7110RTC) if (Settings.SRTC || Settings.SPC7110RTC)
SaveSRTC(); SaveSRTC();