From d7bb90ba84615f9e261118abb13d88b316cb92d7 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 25 Feb 2016 20:24:41 +0100 Subject: ENGINES: Document sorting guaranty for MetaEngine::listSaves. --- engines/metaengine.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/metaengine.h b/engines/metaengine.h index 41f3ec4cba..3f8f56c1dd 100644 --- a/engines/metaengine.h +++ b/engines/metaengine.h @@ -96,6 +96,9 @@ public: /** * Return a list of all save states associated with the given target. * + * The list return is guarnateed to be sorted by slot numbers. That means + * lower slot numbers are always stored before bigger slot numbers. + * * The caller has to ensure that this (Meta)Engine is responsible * for the specified target (by using findGame on it respectively * on the associated gameid from the relevant ConfMan entry, if present). -- cgit v1.2.3