mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
TextureCacheBase: Support loading custom mipmaps.
This commit is contained in:
parent
a5e68ab10e
commit
41d37ab0a0
4 changed files with 71 additions and 17 deletions
|
@ -90,7 +90,13 @@ void Init(const char *gameCode)
|
|||
}
|
||||
}
|
||||
|
||||
PC_TexFormat GetHiresTex(const char *fileName, unsigned int *pWidth, unsigned int *pHeight, int texformat, u8 *data)
|
||||
bool HiresTexExists(const char* filename)
|
||||
{
|
||||
std::string key(filename);
|
||||
return textureMap.find(key) != textureMap.end();
|
||||
}
|
||||
|
||||
PC_TexFormat GetHiresTex(const char *fileName, unsigned int *pWidth, unsigned int *pHeight, unsigned int *required_size, int texformat, unsigned int data_size, u8 *data)
|
||||
{
|
||||
std::string key(fileName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue