mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Android: Fixed assets:// access i.e. fixed .pck from assets://
This commit is contained in:
parent
cb3af5afff
commit
84365402f8
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ internal class AssetData(context: Context, private val filePath: String, accessF
|
||||||
|
|
||||||
override fun seek(position: Long) {
|
override fun seek(position: Long) {
|
||||||
try {
|
try {
|
||||||
|
inputStream.reset();
|
||||||
inputStream.skip(position)
|
inputStream.skip(position)
|
||||||
|
|
||||||
this.position = position
|
this.position = position
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue