mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Merge pull request #12323 from lioncash/virt
CustomAssetLibrary: Add virtual destructor
This commit is contained in:
commit
c16e98a31f
1 changed files with 3 additions and 1 deletions
|
@ -28,9 +28,11 @@ public:
|
|||
struct LoadInfo
|
||||
{
|
||||
std::size_t m_bytes_loaded = 0;
|
||||
CustomAssetLibrary::TimeType m_load_time = {};
|
||||
TimeType m_load_time = {};
|
||||
};
|
||||
|
||||
virtual ~CustomAssetLibrary() = default;
|
||||
|
||||
// Loads a texture, if there are no levels, bytes loaded will be empty
|
||||
virtual LoadInfo LoadTexture(const AssetID& asset_id, TextureData* data) = 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue