aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2020-02-08 21:40:17 +0100
committernotaz2020-02-11 20:04:58 +0200
commit503c59b25b763be2b2e068fe5089449e1c780bbc (patch)
tree4c2a392aead2e09d396edd09c92934ff3e420ccc
parentfd764cbf89da8ef2ec28ec195764d75df7405b1a (diff)
downloadpcsx_rearmed-503c59b25b763be2b2e068fe5089449e1c780bbc.tar.gz
pcsx_rearmed-503c59b25b763be2b2e068fe5089449e1c780bbc.tar.bz2
pcsx_rearmed-503c59b25b763be2b2e068fe5089449e1c780bbc.zip
License these files as MIT
-rw-r--r--libpcsxcore/memmap.h26
-rw-r--r--libpcsxcore/memmap_win32.c22
2 files changed, 46 insertions, 2 deletions
diff --git a/libpcsxcore/memmap.h b/libpcsxcore/memmap.h
index ad56f04..262cd7c 100644
--- a/libpcsxcore/memmap.h
+++ b/libpcsxcore/memmap.h
@@ -1,10 +1,32 @@
+/* Copyright (C) 2010-2020 The RetroArch team
+ *
+ * ---------------------------------------------------------------------------------------
+ * The following license statement only applies to this file (memmap.h).
+ * ---------------------------------------------------------------------------------------
+ *
+ * Permission is hereby granted, free of charge,
+ * to any person obtaining a copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation the rights to
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
+ * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+ * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
#ifndef _MEMMAP_H
#define _MEMMAP_H
#ifdef _WIN32
-#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
-#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
+#ifndef _WIN32_WINNT /* Allow use of features specific to Windows XP or later. */
+#define _WIN32_WINNT 0x0501 /* Change this to the appropriate value to target other versions of Windows. */
#endif
/* All the headers include this file. */
diff --git a/libpcsxcore/memmap_win32.c b/libpcsxcore/memmap_win32.c
index 294f058..3afd086 100644
--- a/libpcsxcore/memmap_win32.c
+++ b/libpcsxcore/memmap_win32.c
@@ -1,3 +1,25 @@
+/* Copyright (C) 2010-2020 The RetroArch team
+ *
+ * ---------------------------------------------------------------------------------------
+ * The following license statement only applies to this file (memmap_win32.c).
+ * ---------------------------------------------------------------------------------------
+ *
+ * Permission is hereby granted, free of charge,
+ * to any person obtaining a copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation the rights to
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
+ * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+ * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
#include <windows.h>
#include <errno.h>
#include <io.h>