fix link
This commit is contained in:
@@ -3,12 +3,16 @@
|
|||||||
#include "RageSoundReader_MP3.h"
|
#include "RageSoundReader_MP3.h"
|
||||||
#include "RageTimer.h"
|
#include "RageTimer.h"
|
||||||
#include "RageInputDevice.h"
|
#include "RageInputDevice.h"
|
||||||
|
#include "RageFileManager.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
CString InitialWorkingDirectory = ".";
|
||||||
|
CString DirOfExecutable = ".";
|
||||||
|
|
||||||
void ReadData( SoundReader *snd,
|
void ReadData( SoundReader *snd,
|
||||||
int ms, /* start */
|
int ms, /* start */
|
||||||
char *buf, /* out */
|
char *buf, /* out */
|
||||||
@@ -243,6 +247,7 @@ bool test_file( const char *fn, float expected_fix )
|
|||||||
}
|
}
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
FILEMAN = new RageFileManager;
|
||||||
LOG = new RageLog();
|
LOG = new RageLog();
|
||||||
LOG->ShowLogOutput( true );
|
LOG->ShowLogOutput( true );
|
||||||
LOG->SetFlushing( true );
|
LOG->SetFlushing( true );
|
||||||
|
|||||||
@@ -2,8 +2,12 @@
|
|||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
#include "RageFile.h"
|
#include "RageFile.h"
|
||||||
#include "RageUtil.h"
|
#include "RageUtil.h"
|
||||||
|
#include "RageUtil_FileDB.h"
|
||||||
#include "RageFileManager.h"
|
#include "RageFileManager.h"
|
||||||
|
|
||||||
|
CString InitialWorkingDirectory = ".";
|
||||||
|
CString DirOfExecutable = ".";
|
||||||
|
|
||||||
void CreateBinaryTestFile( FILE *out, int size )
|
void CreateBinaryTestFile( FILE *out, int size )
|
||||||
{
|
{
|
||||||
char c = 0;
|
char c = 0;
|
||||||
@@ -228,12 +232,12 @@ void TestSeek( bool relative )
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
FILEMAN = new RageFileManager;
|
||||||
|
|
||||||
LOG = new RageLog();
|
LOG = new RageLog();
|
||||||
LOG->ShowLogOutput( true );
|
LOG->ShowLogOutput( true );
|
||||||
LOG->SetFlushing( true );
|
LOG->SetFlushing( true );
|
||||||
|
|
||||||
FILEMAN = new RageFileManager;
|
|
||||||
|
|
||||||
/* Create a binary file to test with. */
|
/* Create a binary file to test with. */
|
||||||
CreateBinaryTestFile( "test.1", 4096 );
|
CreateBinaryTestFile( "test.1", 4096 );
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user