mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-24 01:30:14 +00:00
update space shooter
修复了DEMO里IOS平台流解密失败的问题。
This commit is contained in:
@@ -8,7 +8,7 @@ public class BundleStream : FileStream
|
|||||||
{
|
{
|
||||||
public const byte KEY = 64;
|
public const byte KEY = 64;
|
||||||
|
|
||||||
public BundleStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync) : base(path, mode, access, share, bufferSize, useAsync)
|
public BundleStream(string path, FileMode mode, FileAccess access, FileShare share) : base(path, mode, access, share)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
public BundleStream(string path, FileMode mode) : base(path, mode)
|
public BundleStream(string path, FileMode mode) : base(path, mode)
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ internal class FsmInitialize : IStateNode
|
|||||||
|
|
||||||
public Stream LoadFromStream(DecryptFileInfo fileInfo)
|
public Stream LoadFromStream(DecryptFileInfo fileInfo)
|
||||||
{
|
{
|
||||||
BundleStream bundleStream = new BundleStream(fileInfo.FilePath, FileMode.Open);
|
BundleStream bundleStream = new BundleStream(fileInfo.FilePath, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||||
return bundleStream;
|
return bundleStream;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user