aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/memory.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-23 18:28:45 -0700
committerGitHub <noreply@github.com>2018-07-23 18:28:45 -0700
commite0b6771e251317ed613ec11d7d2452a25177dffb (patch)
tree66e35c70f8d76ce1976d9ed34d6f415feffdefc3 /src/core/hle/kernel/memory.cpp
parent07e5319d552ed1ad9b9fbe47852c581d48c1e46c (diff)
parentcbe841c9c979752c0cf2e0241cd6e51590e3b90c (diff)
Merge pull request #779 from lioncash/shared
hle: Remove unused config_mem and shared_page source files
Diffstat (limited to 'src/core/hle/kernel/memory.cpp')
-rw-r--r--src/core/hle/kernel/memory.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/hle/kernel/memory.cpp b/src/core/hle/kernel/memory.cpp
index d2600cdd7..94eac677c 100644
--- a/src/core/hle/kernel/memory.cpp
+++ b/src/core/hle/kernel/memory.cpp
@@ -11,11 +11,9 @@
#include "common/assert.h"
#include "common/common_types.h"
#include "common/logging/log.h"
-#include "core/hle/config_mem.h"
#include "core/hle/kernel/memory.h"
#include "core/hle/kernel/vm_manager.h"
#include "core/hle/result.h"
-#include "core/hle/shared_page.h"
#include "core/memory.h"
#include "core/memory_setup.h"
@@ -63,14 +61,6 @@ void MemoryInit(u32 mem_type) {
// We must've allocated the entire FCRAM by the end
ASSERT(base == Memory::FCRAM_SIZE);
-
- using ConfigMem::config_mem;
- config_mem.app_mem_type = mem_type;
- // app_mem_malloc does not always match the configured size for memory_region[0]: in case the
- // n3DS type override is in effect it reports the size the game expects, not the real one.
- config_mem.app_mem_alloc = memory_region_sizes[mem_type][0];
- config_mem.sys_mem_alloc = static_cast<u32_le>(memory_regions[1].size);
- config_mem.base_mem_alloc = static_cast<u32_le>(memory_regions[2].size);
}
void MemoryShutdown() {