mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Update Compress library from RVWorld latest
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Compress.ThreadReaders
|
||||
{
|
||||
public class ThreadCRC : IDisposable
|
||||
{
|
||||
private Utils.CRC crc;
|
||||
private Utils.CRC crc;
|
||||
private readonly AutoResetEvent _waitEvent;
|
||||
private readonly AutoResetEvent _outEvent;
|
||||
private readonly Thread _tWorker;
|
||||
@@ -17,7 +17,7 @@ namespace Compress.ThreadReaders
|
||||
|
||||
public ThreadCRC()
|
||||
{
|
||||
crc = new Utils.CRC();
|
||||
crc=new Utils.CRC();
|
||||
_waitEvent = new AutoResetEvent(false);
|
||||
_outEvent = new AutoResetEvent(false);
|
||||
_finished = false;
|
||||
@@ -44,7 +44,7 @@ namespace Compress.ThreadReaders
|
||||
break;
|
||||
}
|
||||
|
||||
crc.SlurpBlock(_buffer, 0, _size);
|
||||
crc.SlurpBlock(_buffer,0,_size);
|
||||
|
||||
_outEvent.Set();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user