2013-05-05 09:21:30 +00:00
|
|
|
struct Cache {
|
|
|
|
uint8* tiledata[3];
|
|
|
|
uint8* tilevalid[3];
|
2010-09-01 13:20:05 +00:00
|
|
|
|
|
|
|
uint8* tile_2bpp(unsigned tile);
|
|
|
|
uint8* tile_4bpp(unsigned tile);
|
|
|
|
uint8* tile_8bpp(unsigned tile);
|
|
|
|
uint8* tile(unsigned bpp, unsigned tile);
|
|
|
|
|
2010-09-24 13:18:09 +00:00
|
|
|
void serialize(serializer&);
|
2013-05-05 09:21:30 +00:00
|
|
|
Cache(PPU& self);
|
2010-09-01 13:20:05 +00:00
|
|
|
|
2013-05-05 09:21:30 +00:00
|
|
|
PPU& self;
|
2010-09-01 13:20:05 +00:00
|
|
|
friend class PPU;
|
|
|
|
};
|