mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 22:51:11 +00:00
Removed MAX_FILENAME_LENGTH workaround (using enum's instead of #defines means we can take advantage of namespaces)
svn-id: r26019
This commit is contained in:
parent
89095f10a8
commit
273480d492
@ -34,12 +34,11 @@
|
||||
#include "backends/fs/abstract-fs.h"
|
||||
//#include "backends/fs/fs.h"
|
||||
|
||||
// Fix name clash with FOTAQ engine, cutaway.h
|
||||
#undef MAX_FILENAME_LENGTH
|
||||
// This class is used when a Flash cart is in use
|
||||
|
||||
namespace DS {
|
||||
|
||||
/**
|
||||
* This class is used when a Flash cart is in use.
|
||||
*/
|
||||
class DSFileSystemNode : public AbstractFilesystemNode {
|
||||
protected:
|
||||
static ZipFile* _zipFile;
|
||||
@ -72,8 +71,9 @@ public:
|
||||
};
|
||||
|
||||
|
||||
// This class is used when the GBAMP (GBA Movie Player) is used with a CompactFlash card
|
||||
|
||||
/**
|
||||
* This class is used when the GBAMP (GBA Movie Player) is used with a CompactFlash card.
|
||||
*/
|
||||
class GBAMPFileSystemNode : public AbstractFilesystemNode {
|
||||
protected:
|
||||
typedef class Common::String String;
|
||||
|
@ -66,7 +66,9 @@ extern "C" {
|
||||
// Important constants
|
||||
|
||||
|
||||
#define MAX_FILENAME_LENGTH 256 // Maximum LFN length. Don't change this one
|
||||
enum {
|
||||
MAX_FILENAME_LENGTH = 256 // Maximum LFN length. Don't change this one
|
||||
};
|
||||
|
||||
// File Constants
|
||||
#ifndef EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user