all repos — mgba @ f9b1c960cb42f148512d77ef94e754245fd6af8a

mGBA Game Boy Advance Emulator

include/mgba/internal/gba/renderers/cache-set.h (view raw)

 1/* Copyright (c) 2013-2016 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#ifndef GBA_CACHE_SET_H
 7#define GBA_CACHE_SET_H
 8
 9#include <mgba-util/common.h>
10
11CXX_GUARD_START
12
13struct GBAVideo;
14struct mCacheSet;
15
16void GBAVideoCacheInit(struct mCacheSet* cache);
17void GBAVideoCacheAssociate(struct mCacheSet* cache, struct GBAVideo* video);
18void GBAVideoCacheWriteVideoRegister(struct mCacheSet* cache, uint32_t address, uint16_t value);
19
20CXX_GUARD_END
21
22#endif