mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
ENGINES: Add a thorough explanation of the ugliness caused by _singleId
This commit is contained in:
parent
170f9f7040
commit
65c60ef027
@ -171,8 +171,18 @@ protected:
|
||||
/**
|
||||
* Name of single gameid (optional).
|
||||
*
|
||||
* If set, the target ID will always be set to this one. Probably useful
|
||||
* for engines with few game targets.
|
||||
* If set, the target ID will always be set to this one. Currently, it is a
|
||||
* necessary evil to avoid polluting the global namespace with loads of IDs.
|
||||
* Needed for engines that define a lot of game targets, so that there won't
|
||||
* be a situation where two different engines define the same game ID.
|
||||
*
|
||||
* FIXME: Remove this field altogether! This is a temporary (and ugly)
|
||||
* workaround to a more generic problem.
|
||||
*
|
||||
* TODO: A more correct way to do this would be to distinguish targets with
|
||||
* a singleid-gameid combination, so that there will never be a duplicate
|
||||
* game ID across different engines.
|
||||
*
|
||||
*/
|
||||
const char *_singleid;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user