mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
squash bugs
This commit is contained in:
@@ -229,7 +229,7 @@ int FileStreamer::File::read(int offset, void *destinationBuffer, int numberOfBy
|
||||
newRequest->bytesRead = 0;
|
||||
newRequest->gate = gate;
|
||||
newRequest->priority = priority;
|
||||
newRequest->returnValue = returnValue;
|
||||
newRequest->returnValue = &returnValue;
|
||||
|
||||
// submit the request
|
||||
FileStreamerThread::submitRequest(newRequest);
|
||||
|
||||
@@ -115,7 +115,7 @@ public:
|
||||
AbstractFile::PriorityType priority;
|
||||
|
||||
// storage held by game thread used to pass back return value
|
||||
int returnValue;
|
||||
int *returnValue;
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user