Gave file scope to functions and consts that are not declared in the header.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@637 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fa83ed62a0
commit
65d59e8d6a
|
@ -29,15 +29,14 @@
|
|||
#include "VolumeDirectory.h"
|
||||
#include "FileBlob.h"
|
||||
|
||||
const u8 ENTRY_SIZE = 0x0c;
|
||||
const u8 FILE_ENTRY = 0;
|
||||
const u8 DIRECTORY_ENTRY = 1;
|
||||
const u64 FST_ADDRESS = 0x440;
|
||||
const u32 MAX_NAME_LENGTH = 0x3df;
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
|
||||
static const u8 ENTRY_SIZE = 0x0c;
|
||||
static const u8 FILE_ENTRY = 0;
|
||||
static const u8 DIRECTORY_ENTRY = 1;
|
||||
static const u64 FST_ADDRESS = 0x440;
|
||||
static const u32 MAX_NAME_LENGTH = 0x3df;
|
||||
|
||||
CVolumeDirectory::CVolumeDirectory(const std::string& _rDirectory, bool _bIsWii)
|
||||
: m_totalNameSize(0)
|
||||
|
@ -452,7 +451,7 @@ void CVolumeDirectory::WriteEntry(const FSTEntry& entry, u32& fstOffset, u32& na
|
|||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
bool ReadFoundFile(const WIN32_FIND_DATA& ffd, CVolumeDirectory::FSTEntry& entry)
|
||||
static bool ReadFoundFile(const WIN32_FIND_DATA& ffd, CVolumeDirectory::FSTEntry& entry)
|
||||
{
|
||||
// ignore files starting with a .
|
||||
if(strncmp(ffd.cFileName, ".", 1) == 0)
|
||||
|
|
Loading…
Reference in New Issue