[Scummvm-devel] fsnode-gsoc remove file method

Max Horn max at quendi.de
Mon Oct 29 11:32:49 CET 2007


On So, Oktober 28, 2007 22:32, Marcus Comstedt wrote:
>
> "David Corrales" <corrales.david at gmail.com> writes:
>
>> The removeSaveFile() calls the common::removeFile() method to perform
>> the file
>> deletion :)
>
> removeSavefile() is pure virtual, so it depends entirely on the
> SaveFileManager implementation what it does.  The SaveFileManager on
> the Dreamcast does not call common::removeFile().  Are you saying that
> this environmental dependency exists in Common just for the benefit of
> backends/saves/default/default-saves.cpp?  That sounds backwards;
> better have such dependencies in backends/saves/default in that case,
> so that only platforms which uses it needs to deal with that
> dependency.

I agree. David, please have a look at that.

>
> But I take it then that it should be safe to simply stub the
> removeFile function on systems which don't use the default save
> manager, if this is indeed the only indented use...
>

Aye. Until we properly fix it, at least.


Max




More information about the Scummvm-devel mailing list