theoretically this helps performance

This commit is contained in:
DarthArgus
2014-10-27 19:47:38 -07:00
parent 203a1aee47
commit fe5cf0b145
4 changed files with 27 additions and 22 deletions
@@ -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);