mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-26 09:08:18 +00:00
Allow access to the compressed data if the user promises not to change it.
This commit is contained in:
parent
95e86cbf0d
commit
553dc44ca5
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ class CompressedImage : public FasTC::Image<FasTC::Pixel> {
|
||||||
// size for a given compressed image.
|
// size for a given compressed image.
|
||||||
bool DecompressImage(uint8 *outBuf, uint32 outBufSz) const;
|
bool DecompressImage(uint8 *outBuf, uint32 outBufSz) const;
|
||||||
|
|
||||||
|
const uint8 *GetCompressedData() const { return m_CompressedData; }
|
||||||
|
|
||||||
FasTC::ECompressionFormat GetFormat() const { return m_Format; }
|
FasTC::ECompressionFormat GetFormat() const { return m_Format; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue