RageFile::READ, RageFile::WRITE

This commit is contained in:
Glenn Maynard
2003-12-03 23:50:53 +00:00
parent 35d1eadc3e
commit 51b65b039b
3 changed files with 119 additions and 51 deletions
+2 -2
View File
@@ -92,7 +92,7 @@ void Bookkeeper::ReadFromDisk()
ini.GetValue( "MachineStatistics", "TotalPlays", m_iTotalPlays );
// read dat
RageFile file(COINS_DAT, "r");
RageFile file( COINS_DAT );
if (file.IsOpen())
{
const CString line = file.GetLine();
@@ -130,7 +130,7 @@ void Bookkeeper::WriteToDisk()
ini.WriteFile();
// write dat
RageFile file(COINS_DAT, "w");
RageFile file( COINS_DAT, RageFile::WRITE );
if (file.IsOpen())
{