Просмотр исходного кода

fixed all license file headers in core

bunnei 12 лет назад
Родитель
Сommit
c0796cf762

+ 4 - 29
src/core/src/core.h

@@ -1,29 +1,8 @@
-/**
- * Copyright (C) 2013 Citrus Emulator
- *
- * @file    core.h
- * @author  ShizZy <shizzy247@gmail.com>
- * @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_

+ 3 - 23
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"

+ 5 - 23
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"
 

+ 3 - 23
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"

+ 3 - 23
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 once
 

+ 3 - 23
src/core/src/loader.cpp

@@ -1,26 +1,6 @@
-/**
- * Copyright (C) 2013 Citrus Emulator
- *
- * @file    loader.cpp
- * @author  ShizZy <shizzy247@gmail.com>
- * @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"

+ 4 - 27
src/core/src/loader.h

@@ -1,29 +1,8 @@
-/**
- * Copyright (C) 2013 Citrus Emulator
- *
- * @file    loader.h
- * @author  ShizZy <shizzy247@gmail.com>
- * @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_

+ 3 - 25
src/core/src/mem_map.cpp

@@ -1,26 +1,6 @@
-/**
- * Copyright (C) 2014 Citra Emulator
- *
- * @file    mem_map.cpp
- * @author  ShizZy <shizzy247@gmail.com>
- * @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.");
 }
 
-
-
 } // namespace

+ 5 - 30
src/core/src/mem_map.h

@@ -1,29 +1,8 @@
-/**
- * Copyright (C) 2014 Citra Emulator
- *
- * @file    mem_map.h
- * @author  ShizZy <shizzy247@gmail.com>
- * @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_

+ 3 - 23
src/core/src/mem_map_funcs.cpp

@@ -1,26 +1,6 @@
-/**
- * Copyright (C) 2014 Citra Emulator
- *
- * @file    mem_map_funcs.cpp
- * @author  ShizZy <shizzy247@gmail.com>
- * @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"
 

+ 3 - 23
src/core/src/system.cpp

@@ -1,26 +1,6 @@
-/**
-* Copyright (C) 2013 Citrus Emulator
-*
-* @file    system.cpp
-* @author  ShizZy <shizzy247@gmail.com>
-* @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"

+ 5 - 31
src/core/src/system.h

@@ -1,29 +1,8 @@
-/**
- * Copyright (C) 2013 Citrus Emulator
- *
- * @file    system.h
- * @author  ShizZy <shizzy247@gmail.com>
- * @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_
-