VERY experimental Nintendo Switch 2 emulator
C++
fixed all license file headers in core
bunneic0796cf7624c
diff --git a/src/core/src/core.h b/src/core/src/core.hindex a71e4ed8d5..bae9f3e3d2 100644--- a/src/core/src/core.h+++ b/src/core/src/core.h@@ -1,29 +1,8 @@-/**- * Copyright (C) 2013 Citrus Emulator- *- * @file core.h- * @author ShizZy <[email protected]>- * @date 2013-09-04- * @brief Core of emulator- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.-#ifndef CORE_CORE_H_-#define CORE_CORE_H_+#pragma once#include "arm/arm_interface.h"#include "arm/interpreter/armdefs.h"@@ -59,7 +38,3 @@ int Init();void Shutdown();} // namespace--////////////////////////////////////////////////////////////////////////////////////////////////////--#endif // CORE_CORE_H_diff --git a/src/core/src/hw/hw.cpp b/src/core/src/hw/hw.cppindex 50001c87a2..57be4d6a84 100644--- a/src/core/src/hw/hw.cpp+++ b/src/core/src/hw/hw.cpp@@ -1,26 +1,6 @@-/**- * Copyright (C) 2013 Citrus Emulator- *- * @file hw.cpp- * @author bunnei- * @date 2014-04-04- * @brief Hardware interface- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.#include "log.h"#include "hw/hw.h"diff --git a/src/core/src/hw/hw.h b/src/core/src/hw/hw.hindex 245822423b..5b0cc8c872 100644--- a/src/core/src/hw/hw.h+++ b/src/core/src/hw/hw.h@@ -1,26 +1,8 @@-/**- * Copyright (C) 2013 Citrus Emulator- *- * @file hw.h- * @author bunnei- * @date 2014-04-04- * @brief Hardware interface- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.++#pragma once#include "common_types.h"diff --git a/src/core/src/hw/hw_lcd.cpp b/src/core/src/hw/hw_lcd.cppindex ee806d5dc8..ad346c7945 100644--- a/src/core/src/hw/hw_lcd.cpp+++ b/src/core/src/hw/hw_lcd.cpp@@ -1,26 +1,6 @@-/**- * Copyright (C) 2013 Citrus Emulator- *- * @file hw_lcd.cpp- * @author bunnei- * @date 2014-04-05- * @brief Hardware LCD interface- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.#include "log.h"#include "core.h"diff --git a/src/core/src/hw/hw_lcd.h b/src/core/src/hw/hw_lcd.hindex fa19b1cd43..30e347ccb5 100644--- a/src/core/src/hw/hw_lcd.h+++ b/src/core/src/hw/hw_lcd.h@@ -1,26 +1,6 @@-/**- * Copyright (C) 2013 Citrus Emulator- *- * @file hw_lcd.h- * @author bunnei- * @date 2014-04-05- * @brief Hardware LCD interface- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.#pragma oncediff --git a/src/core/src/loader.cpp b/src/core/src/loader.cppindex 71ace20c41..5d039dc942 100644--- a/src/core/src/loader.cpp+++ b/src/core/src/loader.cpp@@ -1,26 +1,6 @@-/**- * Copyright (C) 2013 Citrus Emulator- *- * @file loader.cpp- * @author ShizZy <[email protected]>- * @date 2013-09-18- * @brief Loads bootable binaries into the emu- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.#include "file_util.h"#include "loader.h"diff --git a/src/core/src/loader.h b/src/core/src/loader.hindex adad3e7348..46525fcf8e 100644--- a/src/core/src/loader.h+++ b/src/core/src/loader.h@@ -1,29 +1,8 @@-/**- * Copyright (C) 2013 Citrus Emulator- *- * @file loader.h- * @author ShizZy <[email protected]>- * @date 2013-09-18- * @brief Loads bootable binaries into the emu- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.-#ifndef CORE_LOADER_H_-#define CORE_LOADER_H_+#pragma once#include "common.h"@@ -70,5 +49,3 @@ FileType IdentifyFile(std::string &filename);bool LoadFile(std::string &filename, std::string *error_string);} // namespace--#endif // CORE_LOADER_H_\ No newline at end of filediff --git a/src/core/src/mem_map.cpp b/src/core/src/mem_map.cppindex 6477499d5f..96f77d32ec 100644--- a/src/core/src/mem_map.cpp+++ b/src/core/src/mem_map.cpp@@ -1,26 +1,6 @@-/**- * Copyright (C) 2014 Citra Emulator- *- * @file mem_map.cpp- * @author ShizZy <[email protected]>- * @date 2013-09-05- * @brief Memory map - handles virtual to physical memory access- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.#include "common.h"#include "mem_arena.h"@@ -100,6 +80,4 @@ void Shutdown() {NOTICE_LOG(MEMMAP, "Memory system shut down.");}--} // namespacediff --git a/src/core/src/mem_map.h b/src/core/src/mem_map.hindex e880503d25..ad5abd16d6 100644--- a/src/core/src/mem_map.h+++ b/src/core/src/mem_map.h@@ -1,29 +1,8 @@-/**- * Copyright (C) 2014 Citra Emulator- *- * @file mem_map.h- * @author ShizZy <[email protected]>- * @date 2013-09-05- * @brief Memory map - handles virtual to physical memory access- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */--#ifndef CORE_MEM_MAP_H_-#define CORE_MEM_MAP_H_+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.++#pragma once////////////////////////////////////////////////////////////////////////////////////////////////////@@ -92,7 +71,3 @@ void Write32(const u32 addr, const u32 data);u8* GetPointer(const u32 Address);} // namespace--////////////////////////////////////////////////////////////////////////////////////////////////////--#endif // CORE_MEM_MAP_H_\ No newline at end of filediff --git a/src/core/src/mem_map_funcs.cpp b/src/core/src/mem_map_funcs.cppindex ee2f792780..7d8ae2915b 100644--- a/src/core/src/mem_map_funcs.cpp+++ b/src/core/src/mem_map_funcs.cpp@@ -1,26 +1,6 @@-/**- * Copyright (C) 2014 Citra Emulator- *- * @file mem_map_funcs.cpp- * @author ShizZy <[email protected]>- * @date 2013-09-18- * @brief Memory map R/W functions- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.#include "common.h"diff --git a/src/core/src/system.cpp b/src/core/src/system.cppindex 7c829d609b..1fc272d701 100644--- a/src/core/src/system.cpp+++ b/src/core/src/system.cpp@@ -1,26 +1,6 @@-/**-* Copyright (C) 2013 Citrus Emulator-*-* @file system.cpp-* @author ShizZy <[email protected]>-* @date 2013-09-26-* @brief Emulation of main system-*-* @section LICENSE-* 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 at-* http://www.gnu.org/copyleft/gpl.html-*-* Official project repository can be found at:-* http://code.google.com/p/gekko-gc-emu/-*/+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.#include "core.h"#include "hw/hw.h"diff --git a/src/core/src/system.h b/src/core/src/system.hindex e05413d868..8e94e5252b 100644--- a/src/core/src/system.h+++ b/src/core/src/system.h@@ -1,29 +1,8 @@-/**- * Copyright (C) 2013 Citrus Emulator- *- * @file system.h- * @author ShizZy <[email protected]>- * @date 2013-09-26- * @brief Emulation of main system- *- * @section LICENSE- * 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 at- * http://www.gnu.org/copyleft/gpl.html- *- * Official project repository can be found at:- * http://code.google.com/p/gekko-gc-emu/- */--#ifndef CORE_SYSTEM_H_-#define CORE_SYSTEM_H_+// Copyright 2014 Citra Emulator Project+// Licensed under GPLv2+// Refer to the license.txt file included.++#pragma once#include "emu_window.h"#include "file_sys/meta_file_system.h"@@ -54,8 +33,3 @@ void RunLoopUntil(u64 global_cycles);void Shutdown();};--////////////////////////////////////////////////////////////////////////////////////////////////////--#endif // CORE_SYSTEM_H_-\ No newline at end of file