mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
Added a const qualifier inside struct ADGameDescription (rule of thumb: Make as many pointers and members const as possible, it helps prevent bugs, and potentially helps the optimizer)
svn-id: r24181
This commit is contained in:
parent
fbbc609610
commit
dca237598b
@ -63,7 +63,7 @@ ADList AdvancedDetector::detectGame(const FSList *fslist, Language language, Pla
|
||||
|
||||
uint matchedCount = 0;
|
||||
bool fileMissing;
|
||||
ADGameFileDescription *fileDesc;
|
||||
const ADGameFileDescription *fileDesc;
|
||||
|
||||
assert(_gameDescriptions.size());
|
||||
|
||||
|
@ -36,7 +36,7 @@ struct ADGameDescription {
|
||||
const char *name;
|
||||
const char *extra;
|
||||
int filesCount;
|
||||
ADGameFileDescription *filesDescriptions;
|
||||
const ADGameFileDescription *filesDescriptions;
|
||||
Language language;
|
||||
Platform platform;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user