mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
VolumeCreator: Use a unique_ptr in CreateVolumeFromFilename
This commit is contained in:
parent
b9ea9c05ad
commit
1db1a8aacf
7 changed files with 31 additions and 34 deletions
|
@ -23,7 +23,7 @@ class IBlobReader;
|
|||
class CVolumeWiiCrypted : public IVolume
|
||||
{
|
||||
public:
|
||||
CVolumeWiiCrypted(IBlobReader* _pReader, u64 _VolumeOffset, const unsigned char* _pVolumeKey);
|
||||
CVolumeWiiCrypted(std::unique_ptr<IBlobReader> reader, u64 _VolumeOffset, const unsigned char* _pVolumeKey);
|
||||
~CVolumeWiiCrypted();
|
||||
bool Read(u64 _Offset, u64 _Length, u8* _pBuffer, bool decrypt) const override;
|
||||
bool GetTitleID(u8* _pBuffer) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue