mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
String constants are const -> fixing compiler warnings
svn-id: r21036
This commit is contained in:
parent
5e1f3fa2fa
commit
5d3ef6aec2
@ -447,7 +447,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
|
||||
_fileHandle = new ScummNESFile();
|
||||
_containerFile = tmpBuf;
|
||||
} else if ((_game.platform == Common::kPlatformC64) && _substResFileName.winName) {
|
||||
char *tmpBuf1, *tmpBuf2;
|
||||
const char *tmpBuf1, *tmpBuf2;
|
||||
if (_game.id == GID_MANIAC) {
|
||||
tmpBuf1 = "maniac1.d64";
|
||||
tmpBuf2 = "maniac2.d64";
|
||||
|
@ -1567,7 +1567,7 @@ static const int zakResourcesPerFile[59] = {
|
||||
};
|
||||
|
||||
|
||||
ScummC64File::ScummC64File(char *disk1, char *disk2, bool maniac) : _stream(0), _buf(0), _maniac(maniac) {
|
||||
ScummC64File::ScummC64File(const char *disk1, const char *disk2, bool maniac) : _stream(0), _buf(0), _maniac(maniac) {
|
||||
_disk1 = disk1;
|
||||
_disk2 = disk2;
|
||||
|
||||
|
@ -142,7 +142,7 @@ private:
|
||||
uint16 fileReadUint16LE();
|
||||
|
||||
public:
|
||||
ScummC64File(char *disk1, char *disk2, bool maniac);
|
||||
ScummC64File(const char *disk1, const char *disk2, bool maniac);
|
||||
void setEnc(byte value);
|
||||
|
||||
bool open(const char *filename, AccessMode mode = kFileReadMode);
|
||||
|
Loading…
Reference in New Issue
Block a user