Merge pull request #4212 from EmptyChaos/nand-leak
DiscIO: Fix NAND Memory Leak
This commit is contained in:
commit
564d04cdd3
|
@ -29,6 +29,8 @@
|
||||||
|
|
||||||
namespace DiscIO
|
namespace DiscIO
|
||||||
{
|
{
|
||||||
|
CNANDContentData::~CNANDContentData() = default;
|
||||||
|
|
||||||
CSharedContent::CSharedContent()
|
CSharedContent::CSharedContent()
|
||||||
{
|
{
|
||||||
UpdateLocation();
|
UpdateLocation();
|
||||||
|
|
|
@ -25,6 +25,7 @@ bool AddTicket(u64 title_id, const std::vector<u8>& ticket);
|
||||||
class CNANDContentData
|
class CNANDContentData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~CNANDContentData() = 0;
|
||||||
virtual void Open(){};
|
virtual void Open(){};
|
||||||
virtual const std::vector<u8> Get() = 0;
|
virtual const std::vector<u8> Get() = 0;
|
||||||
virtual bool GetRange(u32 start, u32 size, u8* buffer) = 0;
|
virtual bool GetRange(u32 start, u32 size, u8* buffer) = 0;
|
||||||
|
|
Loading…
Reference in New Issue