mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-20 01:15:08 -05:00
TextureCacheBase: Support loading custom mipmaps.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user