summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-05-12 22:38:29 -0300
committerGravatar Yuri Kunde Schlesner2015-05-15 00:04:38 -0300
commit7ada357b2d12cf616672425a8961804b865354d6 (patch)
tree983003c1efc0950605eca3aa7d135b7c8fe9edcf /src/video_core
parentMemmap: Remove unused declarations (diff)
downloadyuzu-7ada357b2d12cf616672425a8961804b865354d6.tar.gz
yuzu-7ada357b2d12cf616672425a8961804b865354d6.tar.xz
yuzu-7ada357b2d12cf616672425a8961804b865354d6.zip
Memmap: Re-organize memory function in two files
memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/pica.h2
-rw-r--r--src/video_core/rasterizer.cpp2
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp2
-rw-r--r--src/video_core/vertex_shader.cpp2
4 files changed, 3 insertions, 5 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index a53429716..3fbf95721 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -16,8 +16,6 @@
16#include "common/common_types.h" 16#include "common/common_types.h"
17#include "common/logging/log.h" 17#include "common/logging/log.h"
18 18
19#include "core/mem_map.h"
20
21namespace Pica { 19namespace Pica {
22 20
23// Returns index corresponding to the Regs member labeled by field_name 21// Returns index corresponding to the Regs member labeled by field_name
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp
index 02a08b20e..59eff48f9 100644
--- a/src/video_core/rasterizer.cpp
+++ b/src/video_core/rasterizer.cpp
@@ -9,6 +9,8 @@
9#include "common/profiler.h" 9#include "common/profiler.h"
10 10
11#include "core/hw/gpu.h" 11#include "core/hw/gpu.h"
12#include "core/memory.h"
13
12#include "debug_utils/debug_utils.h" 14#include "debug_utils/debug_utils.h"
13#include "math.h" 15#include "math.h"
14#include "color.h" 16#include "color.h"
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index 0c072120d..71ceb021b 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -5,7 +5,7 @@
5#include "core/hw/gpu.h" 5#include "core/hw/gpu.h"
6#include "core/hw/hw.h" 6#include "core/hw/hw.h"
7#include "core/hw/lcd.h" 7#include "core/hw/lcd.h"
8#include "core/mem_map.h" 8#include "core/memory.h"
9#include "core/settings.h" 9#include "core/settings.h"
10 10
11#include "common/emu_window.h" 11#include "common/emu_window.h"
diff --git a/src/video_core/vertex_shader.cpp b/src/video_core/vertex_shader.cpp
index 4734e546a..981d1a356 100644
--- a/src/video_core/vertex_shader.cpp
+++ b/src/video_core/vertex_shader.cpp
@@ -8,8 +8,6 @@
8 8
9#include <common/file_util.h> 9#include <common/file_util.h>
10 10
11#include <core/mem_map.h>
12
13#include <nihstro/shader_bytecode.h> 11#include <nihstro/shader_bytecode.h>
14 12
15#include "common/profiler.h" 13#include "common/profiler.h"