diff options
| author | 2014-04-08 20:25:53 -0400 | |
|---|---|---|
| committer | 2014-04-08 20:25:53 -0400 | |
| commit | ad4fffca0ddadc67f43173d20069295920dc66b4 (patch) | |
| tree | f99f597d9f34309bec103d4c403328a86b3a024c /src | |
| parent | removed duplicate license file (diff) | |
| download | yuzu-ad4fffca0ddadc67f43173d20069295920dc66b4.tar.gz yuzu-ad4fffca0ddadc67f43173d20069295920dc66b4.tar.xz yuzu-ad4fffca0ddadc67f43173d20069295920dc66b4.zip | |
fixed license headers in citra project
Diffstat (limited to 'src')
| -rw-r--r-- | src/citra/citra.cpp | 38 | ||||
| -rw-r--r-- | src/citra/citra.h | 30 | ||||
| -rw-r--r-- | src/citra/emu_window/emu_window_glfw.cpp | 38 | ||||
| -rw-r--r-- | src/citra/emu_window/emu_window_glfw.h | 26 |
4 files changed, 16 insertions, 116 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index 37ea97403..d55b97393 100644 --- a/src/citra/citra.cpp +++ b/src/citra/citra.cpp | |||
| @@ -1,26 +1,6 @@ | |||
| 1 | /** | 1 | // Copyright 2014 Citra Emulator Project |
| 2 | * Copyright (C) 2013 citra Emulator | 2 | // Licensed under GPLv2 |
| 3 | * | 3 | // Refer to the license.txt file included. |
| 4 | * @file citra.cpp | ||
| 5 | * @author ShizZy <shizzy247@gmail.com> | ||
| 6 | * @date 2013-09-04 | ||
| 7 | * @brief Main entry point | ||
| 8 | * | ||
| 9 | * @section LICENSE | ||
| 10 | * This program is free software; you can redistribute it and/or | ||
| 11 | * modify it under the terms of the GNU General Public License as | ||
| 12 | * published by the Free Software Foundation; either version 2 of | ||
| 13 | * the License, or (at your option) any later version. | ||
| 14 | * | ||
| 15 | * This program is distributed in the hope that it will be useful, but | ||
| 16 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 18 | * General Public License for more details at | ||
| 19 | * http://www.gnu.org/copyleft/gpl.html | ||
| 20 | * | ||
| 21 | * Official project repository can be found at: | ||
| 22 | * http://code.google.com/p/gekko-gc-emu/ | ||
| 23 | */ | ||
| 24 | 4 | ||
| 25 | #include "common/common.h" | 5 | #include "common/common.h" |
| 26 | #include "common/log_manager.h" | 6 | #include "common/log_manager.h" |
| @@ -34,17 +14,9 @@ | |||
| 34 | 14 | ||
| 35 | #include "citra/citra.h" | 15 | #include "citra/citra.h" |
| 36 | 16 | ||
| 37 | #define E_ERR -1 | ||
| 38 | |||
| 39 | //#define PLAY_FIFO_RECORDING | ||
| 40 | |||
| 41 | /// Application entry point | 17 | /// Application entry point |
| 42 | int __cdecl main(int argc, char **argv) { | 18 | int __cdecl main(int argc, char **argv) { |
| 43 | //u32 tight_loop; | 19 | std::string program_dir = File::GetCurrentDir(); |
| 44 | |||
| 45 | printf("citra starting...\n"); | ||
| 46 | |||
| 47 | std::string program_dir = File::GetCurrentDir(); | ||
| 48 | 20 | ||
| 49 | LogManager::Init(); | 21 | LogManager::Init(); |
| 50 | 22 | ||
| @@ -52,7 +24,7 @@ int __cdecl main(int argc, char **argv) { | |||
| 52 | 24 | ||
| 53 | System::Init(emu_window); | 25 | System::Init(emu_window); |
| 54 | 26 | ||
| 55 | std::string boot_filename = "C:\\Users\\eric\\Desktop\\3ds\\homebrew\\Mandelbrot3DS.elf"; | 27 | std::string boot_filename = "homebrew.elf"; |
| 56 | std::string error_str; | 28 | std::string error_str; |
| 57 | 29 | ||
| 58 | bool res = Loader::LoadFile(boot_filename, &error_str); | 30 | bool res = Loader::LoadFile(boot_filename, &error_str); |
diff --git a/src/citra/citra.h b/src/citra/citra.h index b3a07c005..5a2c60aac 100644 --- a/src/citra/citra.h +++ b/src/citra/citra.h | |||
| @@ -1,29 +1,8 @@ | |||
| 1 | /** | 1 | // Copyright 2014 Citra Emulator Project |
| 2 | * Copyright (C) 2013 Citra Emulator | 2 | // Licensed under GPLv2 |
| 3 | * | 3 | // Refer to the license.txt file included. |
| 4 | * @file citra.h | ||
| 5 | * @author ShizZy <shizzy247@gmail.com> | ||
| 6 | * @date 2013-09-04 | ||
| 7 | * @brief Main entry point | ||
| 8 | * | ||
| 9 | * @section LICENSE | ||
| 10 | * This program is free software; you can redistribute it and/or | ||
| 11 | * modify it under the terms of the GNU General Public License as | ||
| 12 | * published by the Free Software Foundation; either version 2 of | ||
| 13 | * the License, or (at your option) any later version. | ||
| 14 | * | ||
| 15 | * This program is distributed in the hope that it will be useful, but | ||
| 16 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 18 | * General Public License for more details at | ||
| 19 | * http://www.gnu.org/copyleft/gpl.html | ||
| 20 | * | ||
| 21 | * Official project repository can be found at: | ||
| 22 | * http://code.google.com/p/gekko-gc-emu/ | ||
| 23 | */ | ||
| 24 | 4 | ||
| 25 | #ifndef CITRA_CITRA_H | 5 | #pragma once |
| 26 | #define CITRA_CITRA_H | ||
| 27 | 6 | ||
| 28 | #include "version.h" | 7 | #include "version.h" |
| 29 | 8 | ||
| @@ -32,4 +11,3 @@ | |||
| 32 | #define APP_TITLE APP_NAME " " APP_VERSION | 11 | #define APP_TITLE APP_NAME " " APP_VERSION |
| 33 | #define COPYRIGHT "Copyright (C) 2013 Citra Emulator" | 12 | #define COPYRIGHT "Copyright (C) 2013 Citra Emulator" |
| 34 | 13 | ||
| 35 | #endif // CITRA_CITRA_H | ||
diff --git a/src/citra/emu_window/emu_window_glfw.cpp b/src/citra/emu_window/emu_window_glfw.cpp index 0192d8598..442176d91 100644 --- a/src/citra/emu_window/emu_window_glfw.cpp +++ b/src/citra/emu_window/emu_window_glfw.cpp | |||
| @@ -1,43 +1,13 @@ | |||
| 1 | /** | 1 | // Copyright 2014 Citra Emulator Project |
| 2 | * Copyright (C) 2013 Citra Emulator | 2 | // Licensed under GPLv2 |
| 3 | * | 3 | // Refer to the license.txt file included. |
| 4 | * @file emu_window_glfw.cpp | ||
| 5 | * @author ShizZy <shizzy@6bit.net> | ||
| 6 | * @date 2013-09-04 | ||
| 7 | * @brief Implementation implementation of EmuWindow class for GLFW | ||
| 8 | * | ||
| 9 | * @section LICENSE | ||
| 10 | * This program is free software; you can redistribute it and/or | ||
| 11 | * modify it under the terms of the GNU General Public License as | ||
| 12 | * published by the Free Software Foundation; either version 2 of | ||
| 13 | * the License, or (at your option) any later version. | ||
| 14 | * | ||
| 15 | * This program is distributed in the hope that it will be useful, but | ||
| 16 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 18 | * General Public License for more details at | ||
| 19 | * http://www.gnu.org/copyleft/gpl.html | ||
| 20 | * | ||
| 21 | * Official project repository can be found at: | ||
| 22 | * http://code.google.com/p/gekko-gc-emu/ | ||
| 23 | */ | ||
| 24 | 4 | ||
| 25 | #include "common/common.h" | 5 | #include "common/common.h" |
| 26 | #include "video_core/video_core.h" | 6 | #include "video_core/video_core.h" |
| 27 | #include "citra/emu_window/emu_window_glfw.h" | 7 | #include "citra/emu_window/emu_window_glfw.h" |
| 28 | 8 | ||
| 29 | static void OnKeyEvent(GLFWwindow* win, int key, int action) { | 9 | static void OnKeyEvent(GLFWwindow* win, int key, int action) { |
| 30 | // EmuWindow_GLFW* emuwin = (EmuWindow_GLFW*)glfwGetWindowUserPointer(win); | 10 | // TODO(bunnei): ImplementMe |
| 31 | //input_common::GCController::GCButtonState state; | ||
| 32 | |||
| 33 | //if (action == GLFW_PRESS) { | ||
| 34 | // state = input_common::GCController::PRESSED; | ||
| 35 | //} else { | ||
| 36 | // state = input_common::GCController::RELEASED; | ||
| 37 | //} | ||
| 38 | // for (int channel = 0; channel < 4 && emuwin->controller_interface(); ++channel) { | ||
| 39 | // emuwin->controller_interface()->SetControllerStatus(channel, key, state); | ||
| 40 | // } | ||
| 41 | } | 11 | } |
| 42 | 12 | ||
| 43 | static void OnWindowSizeEvent(GLFWwindow* win, int width, int height) { | 13 | static void OnWindowSizeEvent(GLFWwindow* win, int width, int height) { |
diff --git a/src/citra/emu_window/emu_window_glfw.h b/src/citra/emu_window/emu_window_glfw.h index c3feb6e51..6499315c8 100644 --- a/src/citra/emu_window/emu_window_glfw.h +++ b/src/citra/emu_window/emu_window_glfw.h | |||
| @@ -1,26 +1,6 @@ | |||
| 1 | /** | 1 | // Copyright 2014 Citra Emulator Project |
| 2 | * Copyright (C) 2013 Citra Emulator | 2 | // Licensed under GPLv2 |
| 3 | * | 3 | // Refer to the license.txt file included. |
| 4 | * @file emu_window_glfw.h | ||
| 5 | * @author ShizZy <shizzy@6bit.net> | ||
| 6 | * @date 2013-09-04 | ||
| 7 | * @brief Implementation implementation of EmuWindow class for GLFW | ||
| 8 | * | ||
| 9 | * @section LICENSE | ||
| 10 | * This program is free software; you can redistribute it and/or | ||
| 11 | * modify it under the terms of the GNU General Public License as | ||
| 12 | * published by the Free Software Foundation; either version 2 of | ||
| 13 | * the License, or (at your option) any later version. | ||
| 14 | * | ||
| 15 | * This program is distributed in the hope that it will be useful, but | ||
| 16 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 18 | * General Public License for more details at | ||
| 19 | * http://www.gnu.org/copyleft/gpl.html | ||
| 20 | * | ||
| 21 | * Official project repository can be found at: | ||
| 22 | * http://code.google.com/p/gekko-gc-emu/ | ||
| 23 | */ | ||
| 24 | 4 | ||
| 25 | #pragma once | 5 | #pragma once |
| 26 | 6 | ||