This commit is contained in:
Glenn Maynard
2003-12-13 06:25:28 +00:00
parent 05358c40a2
commit 4054694f63
2 changed files with 11 additions and 2 deletions
@@ -3,12 +3,16 @@
#include "RageSoundReader_MP3.h"
#include "RageTimer.h"
#include "RageInputDevice.h"
#include "RageFileManager.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
CString InitialWorkingDirectory = ".";
CString DirOfExecutable = ".";
void ReadData( SoundReader *snd,
int ms, /* start */
char *buf, /* out */
@@ -243,6 +247,7 @@ bool test_file( const char *fn, float expected_fix )
}
int main()
{
FILEMAN = new RageFileManager;
LOG = new RageLog();
LOG->ShowLogOutput( true );
LOG->SetFlushing( true );
+6 -2
View File
@@ -2,8 +2,12 @@
#include "RageLog.h"
#include "RageFile.h"
#include "RageUtil.h"
#include "RageUtil_FileDB.h"
#include "RageFileManager.h"
CString InitialWorkingDirectory = ".";
CString DirOfExecutable = ".";
void CreateBinaryTestFile( FILE *out, int size )
{
char c = 0;
@@ -228,11 +232,11 @@ void TestSeek( bool relative )
int main()
{
FILEMAN = new RageFileManager;
LOG = new RageLog();
LOG->ShowLogOutput( true );
LOG->SetFlushing( true );
FILEMAN = new RageFileManager;
/* Create a binary file to test with. */
CreateBinaryTestFile( "test.1", 4096 );