mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
VideoCommon: change asset loading to return the number of bytes loaded instead of a pass/fail
This commit is contained in:
parent
316740daed
commit
15f125ebee
2 changed files with 5 additions and 4 deletions
|
@ -25,8 +25,8 @@ public:
|
|||
CustomAsset& operator=(const CustomAsset&) = delete;
|
||||
CustomAsset& operator=(CustomAsset&&) = delete;
|
||||
|
||||
// Loads the asset from the library returning a pass/fail result
|
||||
bool Load();
|
||||
// Loads the asset from the library returning the number of bytes loaded
|
||||
std::size_t Load();
|
||||
|
||||
// Unloads the asset data, resets the bytes loaded and
|
||||
// returns the number of bytes unloaded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue