mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #783 from jobermayr/master
Fixes wx2.8. Mkdir() doesn't allow const qualifier [-fpermissive]
This commit is contained in:
commit
579507a6d1
|
@ -1362,7 +1362,7 @@ void FileAccessHelper::WriteMetadata( const wxFileName& folderName, MemoryCardFi
|
||||||
WriteMetadata( metadataIsNonstandard, fn, entry );
|
WriteMetadata( metadataIsNonstandard, fn, entry );
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileAccessHelper::WriteMetadata( bool metadataIsNonstandard, const wxFileName& metadataFilename, const MemoryCardFileEntry* const entry ) {
|
void FileAccessHelper::WriteMetadata( bool metadataIsNonstandard, wxFileName& metadataFilename, const MemoryCardFileEntry* const entry ) {
|
||||||
if ( metadataIsNonstandard ) {
|
if ( metadataIsNonstandard ) {
|
||||||
// write metadata of file if it's nonstandard
|
// write metadata of file if it's nonstandard
|
||||||
if ( !metadataFilename.DirExists() ) {
|
if ( !metadataFilename.DirExists() ) {
|
||||||
|
|
|
@ -228,7 +228,7 @@ protected:
|
||||||
void CloseFileHandle( wxFFile* file, const MemoryCardFileEntry* entry = nullptr );
|
void CloseFileHandle( wxFFile* file, const MemoryCardFileEntry* entry = nullptr );
|
||||||
|
|
||||||
void WriteMetadata( const wxFileName& folderName, MemoryCardFileMetadataReference* fileRef );
|
void WriteMetadata( const wxFileName& folderName, MemoryCardFileMetadataReference* fileRef );
|
||||||
void WriteMetadata( bool metadataIsNonstandard, const wxFileName& metadataFilename, const MemoryCardFileEntry* const entry );
|
void WriteMetadata( bool metadataIsNonstandard, wxFileName& metadataFilename, const MemoryCardFileEntry* const entry );
|
||||||
};
|
};
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue