From 57cbdaeffe078c21e5d2444c1bbfc6bd893ea42d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 28 Apr 2007 22:06:57 +0000 Subject: [PATCH] cleanup --- stepmania/src/RageFileDriverTimeout.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/stepmania/src/RageFileDriverTimeout.cpp b/stepmania/src/RageFileDriverTimeout.cpp index 13a21803ab..2bfce4e80f 100644 --- a/stepmania/src/RageFileDriverTimeout.cpp +++ b/stepmania/src/RageFileDriverTimeout.cpp @@ -671,13 +671,11 @@ public: m_iFileSize = iSize; m_iMode = iMode; /* We have a lot of overhead per read and write operation, since we send - * commands to the worker thread. Buffer these operations. */ - if( iMode & RageFile::WRITE ){ + * commands to the worker thread. Buffer these operations. */ + if( iMode & RageFile::WRITE ) EnableWriteBuffering(); - } - if( iMode & RageFile::READ ){ + if( iMode & RageFile::READ ) EnableReadBuffering(); - } } ~RageFileObjTimeout()