From 08ff48a47981fb059f743aeeaf50efd5eac92e19 Mon Sep 17 00:00:00 2001 From: OV2 Date: Mon, 16 Apr 2012 19:56:15 +0200 Subject: [PATCH] Remove old chown calls on linux --- memmap.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/memmap.cpp b/memmap.cpp index 54f83587..72196bb1 100644 --- a/memmap.cpp +++ b/memmap.cpp @@ -2167,9 +2167,6 @@ bool8 CMemory::SaveSRAM (const char *filename) size_t ignore; ignore = fwrite((char *) Multi.sramB, size, 1, file); fclose(file); - #ifdef __linux - ignore = chown(name, getuid(), getgid()); - #endif } strcpy(ROMFilename, temp); @@ -2187,9 +2184,6 @@ bool8 CMemory::SaveSRAM (const char *filename) size_t ignore; ignore = fwrite((char *) SRAM, size, 1, file); fclose(file); - #ifdef __linux - ignore = chown(sramName, getuid(), getgid()); - #endif if (Settings.SRTC || Settings.SPC7110RTC) SaveSRTC();