yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Move framebuffer_layout from Common to Core

This removes a dependency inversion between core and common. It's also
the proper place for the file since it makes screen layout decisions
specific to the 3DS.
This commit is contained in:
Yuri Kunde Schlesner 2017-05-27 16:10:25 -07:00
parent ec8dfc8fb7
commit d1bf7919da
5 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,6 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp.in" "${CMAKE_CURRENT_SOU
set(SRCS set(SRCS
break_points.cpp break_points.cpp
file_util.cpp file_util.cpp
framebuffer_layout.cpp
hash.cpp hash.cpp
logging/filter.cpp logging/filter.cpp
logging/text_formatter.cpp logging/text_formatter.cpp
@ -56,7 +55,6 @@ set(HEADERS
common_paths.h common_paths.h
common_types.h common_types.h
file_util.h file_util.h
framebuffer_layout.h
hash.h hash.h
linear_disk_cache.h linear_disk_cache.h
logging/text_formatter.h logging/text_formatter.h

View File

@ -32,6 +32,7 @@ set(SRCS
frontend/camera/factory.cpp frontend/camera/factory.cpp
frontend/camera/interface.cpp frontend/camera/interface.cpp
frontend/emu_window.cpp frontend/emu_window.cpp
frontend/framebuffer_layout.cpp
frontend/motion_emu.cpp frontend/motion_emu.cpp
gdbstub/gdbstub.cpp gdbstub/gdbstub.cpp
hle/config_mem.cpp hle/config_mem.cpp
@ -216,6 +217,7 @@ set(HEADERS
frontend/camera/factory.h frontend/camera/factory.h
frontend/camera/interface.h frontend/camera/interface.h
frontend/emu_window.h frontend/emu_window.h
frontend/framebuffer_layout.h
frontend/input.h frontend/input.h
frontend/motion_emu.h frontend/motion_emu.h
gdbstub/gdbstub.h gdbstub/gdbstub.h

View File

@ -8,8 +8,8 @@
#include <tuple> #include <tuple>
#include <utility> #include <utility>
#include "common/common_types.h" #include "common/common_types.h"
#include "common/framebuffer_layout.h"
#include "common/math_util.h" #include "common/math_util.h"
#include "core/frontend/framebuffer_layout.h"
/** /**
* Abstraction class used to provide an interface between emulation code and the frontend * Abstraction class used to provide an interface between emulation code and the frontend

View File

@ -5,7 +5,7 @@
#include <cmath> #include <cmath>
#include "common/assert.h" #include "common/assert.h"
#include "common/framebuffer_layout.h" #include "core/frontend/framebuffer_layout.h"
#include "core/settings.h" #include "core/settings.h"
#include "video_core/video_core.h" #include "video_core/video_core.h"