squash bugs

This commit is contained in:
DarthArgus
2015-10-27 21:19:20 -05:00
parent ab9c60957f
commit bd4f3699c2
4 changed files with 3 additions and 4 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);
@@ -115,7 +115,7 @@ public:
AbstractFile::PriorityType priority;
// storage held by game thread used to pass back return value
int returnValue;
int *returnValue;
public: