summaryrefslogtreecommitdiff
path: root/plugins/dfcdrom/cfg.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-08 00:23:38 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-08 00:23:38 +0000
commite69ea176d835fa98912c99636a1a5cea8cbab105 (patch)
tree350c3f53ccdda0a0603ac88a77037b15d8e71e5b /plugins/dfcdrom/cfg.c
parent337765356b5fd420d3cab3349caa34eec2f98e65 (diff)
downloadpcsxr-e69ea176d835fa98912c99636a1a5cea8cbab105.tar.gz
dfcdrom: refactored for better portability.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54325 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfcdrom/cfg.c')
-rw-r--r--plugins/dfcdrom/cfg.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/plugins/dfcdrom/cfg.c b/plugins/dfcdrom/cfg.c
index b6877859..217b7705 100644
--- a/plugins/dfcdrom/cfg.c
+++ b/plugins/dfcdrom/cfg.c
@@ -1,12 +1,24 @@
/*
- * Cdrom for Psemu Pro like Emulators
+ * Copyright (c) 2010, Wei Mingzhi <whistler@openoffice.org>.
+ * All Rights Reserved.
*
+ * Based on: Cdrom for Psemu Pro like Emulators
* By: linuzappz <linuzappz@hotmail.com>
*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses>.
*/
-#if defined (__linux__)
-
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
@@ -70,5 +82,3 @@ void SaveConf() {
fprintf(f, "SpinDown = %ld\n", SpinDown);
fclose(f);
}
-
-#endif