mirror of https://github.com/snes9xgit/snes9x.git
Remove old chown calls on linux
This commit is contained in:
parent
9b5cefa630
commit
08ff48a479
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue