all repos — mgba @ 2d6749f8c86b6c0ab9bf64f6666ad167f883226e

mGBA Game Boy Advance Emulator

src/platform/3ds/3ds-memory.c (view raw)

 1/* Copyright (c) 2013-2014 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6#include "util/memory.h"
 7
 8#include <3ds.h>
 9
10void* anonymousMemoryMap(size_t size) {
11	return linearAlloc(size);
12}
13
14void mappedMemoryFree(void* memory, size_t size) {
15	UNUSED(size);
16	linearFree(memory);
17}