diff options
| author | 2014-04-10 20:10:18 -0400 | |
|---|---|---|
| committer | 2014-04-10 20:10:18 -0400 | |
| commit | 95f237a086ec4a9c95f673c96dde72e87eb616c2 (patch) | |
| tree | 02567879b41ecf28a59291f28b1ae138cc36a762 /src | |
| parent | added initial modules for setting up SysCall HLE (diff) | |
| parent | removed scm_rev.h from version control (diff) | |
| download | yuzu-95f237a086ec4a9c95f673c96dde72e87eb616c2.tar.gz yuzu-95f237a086ec4a9c95f673c96dde72e87eb616c2.tar.xz yuzu-95f237a086ec4a9c95f673c96dde72e87eb616c2.zip | |
Merge branch 'master' into hle-interface
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | src/citra/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/citra/citra.h | 9 | ||||
| -rw-r--r-- | src/common/CMakeLists.txt | 33 | ||||
| -rw-r--r-- | src/common/emu_window.h | 2 | ||||
| -rw-r--r-- | src/common/scm_rev.h | 4 | ||||
| -rw-r--r-- | src/core/CMakeLists.txt | 29 | ||||
| -rw-r--r-- | src/video_core/CMakeLists.txt | 20 |
8 files changed, 45 insertions, 57 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f988bf34e..0816147b8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | add_subdirectory(common) | 1 | add_subdirectory(common) |
| 2 | add_subdirectory(core) | 2 | add_subdirectory(core) |
| 3 | add_subdirectory(citra) | 3 | add_subdirectory(citra) |
| 4 | add_subdirectory(video_core) | ||
| 4 | 5 | ||
| 5 | if(QT4_FOUND AND QT_QTCORE_FOUND AND QT_QTGUI_FOUND AND QT_QTOPENGL_FOUND AND NOT DISABLE_QT4) | 6 | if(QT4_FOUND AND QT_QTCORE_FOUND AND QT_QTGUI_FOUND AND QT_QTOPENGL_FOUND AND NOT DISABLE_QT4) |
| 6 | #add_subdirectory(citra_qt) | 7 | #add_subdirectory(citra_qt) |
diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt index 3a76b5045..c6913df57 100644 --- a/src/citra/CMakeLists.txt +++ b/src/citra/CMakeLists.txt | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | set(SRCS src/citra.cpp | 1 | set(SRCS citra.cpp |
| 2 | src/emuwindow/emuwindow_glfw.cpp) | 2 | emu_window/emu_window_glfw.cpp) |
| 3 | 3 | ||
| 4 | # NOTE: This is a workaround for CMake bug 0006976 (missing X11_xf86vmode_LIB variable) | 4 | # NOTE: This is a workaround for CMake bug 0006976 (missing X11_xf86vmode_LIB variable) |
| 5 | if (NOT X11_xf86vmode_LIB) | 5 | if (NOT X11_xf86vmode_LIB) |
diff --git a/src/citra/citra.h b/src/citra/citra.h index b9254c5da..b3b78a2dc 100644 --- a/src/citra/citra.h +++ b/src/citra/citra.h | |||
| @@ -4,12 +4,3 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <string> | ||
| 8 | |||
| 9 | #include "common/common.h" | ||
| 10 | |||
| 11 | #define APP_NAME std::string("citra") | ||
| 12 | #define APP_VERSION std::string("0.01-") + std::string(g_scm_rev_str) | ||
| 13 | #define APP_TITLE (APP_NAME + " " + APP_VERSION) | ||
| 14 | #define COPYRIGHT "Copyright (C) 2014 Citra Emulator" | ||
| 15 | |||
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index c4f060db0..6cf0e61c8 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -1,18 +1,19 @@ | |||
| 1 | set(SRCS src/break_points.cpp | 1 | set(SRCS break_points.cpp |
| 2 | src/console_listener.cpp | 2 | console_listener.cpp |
| 3 | src/extended_trace.cpp | 3 | extended_trace.cpp |
| 4 | src/file_search.cpp | 4 | file_search.cpp |
| 5 | src/file_util.cpp | 5 | file_util.cpp |
| 6 | src/hash.cpp | 6 | hash.cpp |
| 7 | src/log_manager.cpp | 7 | log_manager.cpp |
| 8 | src/math_util.cpp | 8 | math_util.cpp |
| 9 | src/mem_arena.cpp | 9 | mem_arena.cpp |
| 10 | src/memory_util.cpp | 10 | memory_util.cpp |
| 11 | src/misc.cpp | 11 | misc.cpp |
| 12 | src/msg_handler.cpp | 12 | msg_handler.cpp |
| 13 | src/string_util.cpp | 13 | string_util.cpp |
| 14 | src/thread.cpp | 14 | thread.cpp |
| 15 | src/timer.cpp | 15 | timer.cpp |
| 16 | src/version.cpp) | 16 | utf8.cpp |
| 17 | version.cpp) | ||
| 17 | 18 | ||
| 18 | add_library(common STATIC ${SRCS}) | 19 | add_library(common STATIC ${SRCS}) |
diff --git a/src/common/emu_window.h b/src/common/emu_window.h index 731784756..e70b99ec1 100644 --- a/src/common/emu_window.h +++ b/src/common/emu_window.h | |||
| @@ -55,7 +55,7 @@ public: | |||
| 55 | m_client_area_height = val; | 55 | m_client_area_height = val; |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | std::string GetWindowTitle() { | 58 | std::string GetWindowTitle() const { |
| 59 | return m_window_title; | 59 | return m_window_title; |
| 60 | } | 60 | } |
| 61 | 61 | ||
diff --git a/src/common/scm_rev.h b/src/common/scm_rev.h deleted file mode 100644 index cd5df9ca8..000000000 --- a/src/common/scm_rev.h +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #define SCM_REV_STR "d0674cc98bfa5729168274cde62a4e69343f8524" | ||
| 2 | #define SCM_DESC_STR "d0674cc" | ||
| 3 | #define SCM_BRANCH_STR "master" | ||
| 4 | #define SCM_IS_MASTER 1 | ||
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 29a6aea82..9cfb9b1c8 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -1,10 +1,23 @@ | |||
| 1 | set(SRCS src/core.cpp | 1 | set(SRCS core.cpp |
| 2 | src/memory.cpp | 2 | core_timing.cpp |
| 3 | src/boot/apploader.cpp | 3 | loader.cpp |
| 4 | src/boot/bootrom.cpp | 4 | mem_map.cpp |
| 5 | src/boot/loader.cpp | 5 | mem_map_funcs.cpp |
| 6 | src/hle/hle.cpp | 6 | system.cpp |
| 7 | src/hw/hw.cpp | 7 | arm/disassembler/arm_disasm.cpp |
| 8 | ) | 8 | arm/interpreter/arm_interpreter.cpp |
| 9 | arm/interpreter/armemu.cpp | ||
| 10 | arm/interpreter/arminit.cpp | ||
| 11 | arm/interpreter/armmmu.cpp | ||
| 12 | arm/interpreter/armos.cpp | ||
| 13 | arm/interpreter/armsupp.cpp | ||
| 14 | arm/interpreter/armvirt.cpp | ||
| 15 | arm/interpreter/thumbemu.cpp | ||
| 16 | arm/mmu/arm1176jzf_s_mmu.cpp | ||
| 17 | elf/elf_reader.cpp | ||
| 18 | file_sys/directory_file_system.cpp | ||
| 19 | file_sys/meta_file_system.cpp | ||
| 20 | hw/hw.cpp | ||
| 21 | hw/hw_lcd.cpp) | ||
| 9 | 22 | ||
| 10 | add_library(core STATIC ${SRCS}) | 23 | add_library(core STATIC ${SRCS}) |
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index 3f486b8fe..56394b930 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt | |||
| @@ -1,19 +1,5 @@ | |||
| 1 | set(SRCS | 1 | set(SRCS video_core.cpp |
| 2 | src/bp_mem.cpp | 2 | utils.cpp |
| 3 | src/cp_mem.cpp | 3 | renderer_opengl/renderer_opengl.cpp) |
| 4 | src/xf_mem.cpp | ||
| 5 | src/fifo.cpp | ||
| 6 | src/fifo_player.cpp | ||
| 7 | src/vertex_loader.cpp | ||
| 8 | src/vertex_manager.cpp | ||
| 9 | src/video_core.cpp | ||
| 10 | src/shader_manager.cpp | ||
| 11 | src/texture_decoder.cpp | ||
| 12 | src/texture_manager.cpp | ||
| 13 | src/utils.cpp | ||
| 14 | src/renderer_gl3/renderer_gl3.cpp | ||
| 15 | src/renderer_gl3/shader_interface.cpp | ||
| 16 | src/renderer_gl3/texture_interface.cpp | ||
| 17 | src/renderer_gl3/uniform_manager.cpp) | ||
| 18 | 4 | ||
| 19 | add_library(video_core STATIC ${SRCS}) | 5 | add_library(video_core STATIC ${SRCS}) |