aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authortwinaphex2020-02-08 21:39:07 +0100
committertwinaphex2020-02-08 21:39:07 +0100
commit721c85083fa1f4e3636007e1769f21c9a82a35d1 (patch)
treecffb50acd3718f625247737f92c44a44e1f9876d /libpcsxcore
parent85504c9392949d675c03c45e90e107bf45238ee6 (diff)
downloadpcsx_rearmed-721c85083fa1f4e3636007e1769f21c9a82a35d1.tar.gz
pcsx_rearmed-721c85083fa1f4e3636007e1769f21c9a82a35d1.tar.bz2
pcsx_rearmed-721c85083fa1f4e3636007e1769f21c9a82a35d1.zip
License this MIT - should be compatible with everything
Diffstat (limited to 'libpcsxcore')
-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>