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 GB_TILE_CACHE_H
7 #define GB_TILE_CACHE_H
8 
9 #include <mgba-util/common.h>
10 
11 CXX_GUARD_START
12 
13 struct GBVideo;
14 struct mCacheSet;
15 
16 void GBVideoCacheInit(struct mCacheSet* cache);
17 void GBVideoCacheAssociate(struct mCacheSet* cache, struct GBVideo* video);
18 
19 void GBVideoCacheWriteVideoRegister(struct mCacheSet* cache, uint16_t address, uint8_t value);
20 
21 CXX_GUARD_END
22 
23 #endif
24