From 322b40e1f60141bc242a747457a670310c67097c Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 6 Oct 2004 03:28:33 +0000 Subject: [PATCH] fix change I reverted. Oops. --- stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp | 3 --- stepmania/src/arch/MemoryCard/MemoryCardDriver.h | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp b/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp index 16ba0957a4..874fabb640 100644 --- a/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp +++ b/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp @@ -18,14 +18,11 @@ bool UsbStorageDevice::operator==(const UsbStorageDevice& other) const #undef COMPARE } -// What is this? -#if 0 void UsbStorageDevice::SetOsMountDir( const CString &s ) { sOsMountDir = s; FixSlashesInPlace( sOsMountDir ); } -#endif MemoryCardDriver *MakeMemoryCardDriver() { diff --git a/stepmania/src/arch/MemoryCard/MemoryCardDriver.h b/stepmania/src/arch/MemoryCard/MemoryCardDriver.h index 91908629d1..fb98d88b15 100644 --- a/stepmania/src/arch/MemoryCard/MemoryCardDriver.h +++ b/stepmania/src/arch/MemoryCard/MemoryCardDriver.h @@ -36,7 +36,8 @@ struct UsbStorageDevice CString sVendor; CString sProduct; - bool IsBlank() { return sOsMountDir.empty(); } + bool IsBlank() const { return sOsMountDir.empty(); } + void SetOsMountDir( const CString &s ); bool operator==(const UsbStorageDevice& other) const; };