mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-30 22:14:20 +01:00
Allow access to the compressed data if the user promises not to change it.
This commit is contained in:
parent
95e86cbf0d
commit
553dc44ca5
@ -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 New Issue
Block a user