Fix resource stream impl for android
This commit is contained in:
parent
17a0aef630
commit
ffc77e5fa3
1 changed files with 5 additions and 0 deletions
|
|
@ -30,6 +30,11 @@ namespace
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool finished() const override
|
||||||
|
{
|
||||||
|
return AAsset_getRemainingLength64(asset_) == 0;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AAsset * asset_;
|
AAsset * asset_;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue