mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 07:46:11 +00:00
Add a flag which makes it possible to disable the default savefile man (for backends which want to use our Makefile build system but don't want the default saveman)
svn-id: r26152
This commit is contained in:
parent
feba06717f
commit
5d59ee6091
@ -1,5 +1,5 @@
|
||||
/* ScummVM - Scumm Interpreter
|
||||
* Copyright (C) 2002-2006 The ScummVM project
|
||||
* Copyright (C) 2002-2007 The ScummVM project
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@ -20,6 +20,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(DISABLE_DEFAULT_SAVEFILEMANAGER)
|
||||
|
||||
#include "common/stdafx.h"
|
||||
#include "common/savefile.h"
|
||||
#include "common/util.h"
|
||||
@ -180,3 +182,5 @@ void DefaultSaveFileManager::listSavefiles(const char * /* prefix */, bool *mark
|
||||
// Even better, replace this with a better design...
|
||||
memset(marks, true, num * sizeof(bool));
|
||||
}
|
||||
|
||||
#endif // !defined(DISABLE_DEFAULT_SAVEFILEMANAGER)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* ScummVM - Scumm Interpreter
|
||||
* Copyright (C) 2002-2006 The ScummVM project
|
||||
* Copyright (C) 2002-2007 The ScummVM project
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@ -20,7 +20,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef BACKEND_SAVES_DEFAULT_H
|
||||
#if !defined(BACKEND_SAVES_DEFAULT_H) && !defined(DISABLE_DEFAULT_SAVEFILEMANAGER)
|
||||
#define BACKEND_SAVES_DEFAULT_H
|
||||
|
||||
#include "common/stdafx.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user