2021-03-02 02:13:17 +00:00
|
|
|
// Project64 - A Nintendo 64 emulator
|
2021-05-18 11:51:36 +00:00
|
|
|
// https://www.pj64-emu.com/
|
2021-03-02 02:13:17 +00:00
|
|
|
// Copyright(C) 2001-2021 Project64
|
|
|
|
// Copyright(C) 2007 Hiroshi Morii
|
|
|
|
// Copyright(C) 2003 Rice1964
|
|
|
|
// GNU/GPLv2 licensed: https://gnu.org/licenses/gpl-2.0.html
|
2013-04-17 10:30:38 +00:00
|
|
|
|
|
|
|
#ifndef __TXTEXCACHE_H__
|
|
|
|
#define __TXTEXCACHE_H__
|
|
|
|
|
|
|
|
#include "TxCache.h"
|
|
|
|
|
|
|
|
class TxTexCache : public TxCache
|
|
|
|
{
|
|
|
|
public:
|
2017-04-26 10:23:36 +00:00
|
|
|
~TxTexCache();
|
|
|
|
TxTexCache(int options, int cachesize, const char *path, const char *ident,
|
|
|
|
dispInfoFuncExt callback);
|
2021-05-18 11:51:36 +00:00
|
|
|
bool add(uint64_t checksum, // checksum hi:palette low:texture
|
2017-04-26 10:23:36 +00:00
|
|
|
GHQTexInfo *info);
|
2013-04-17 10:30:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __TXTEXCACHE_H__ */
|