mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
AGS: Fix Some GCC Warnings
This commit is contained in:
parent
789e8b1a4d
commit
4a131203ab
@ -266,6 +266,8 @@ const char *GetScriptAPIName(ScriptAPIVersion v) {
|
||||
case kScriptAPI_v350: return "v3.5.0-alpha";
|
||||
case kScriptAPI_v3507: return "v3.5.0-final";
|
||||
case kScriptAPI_v351: return "v3.5.1";
|
||||
case kScriptAPI_v360: return "v3.6.0";
|
||||
case kScriptAPI_Undefined: return "undefined";
|
||||
}
|
||||
return "unknown";
|
||||
}
|
||||
|
@ -36,6 +36,8 @@ String GetDataExtErrorText(DataExtErrorType err) {
|
||||
return "Unexpected end of file.";
|
||||
case kDataExtErr_BlockDataOverlapping:
|
||||
return "Block data overlapping.";
|
||||
case kDataExtErr_BlockNotFound:
|
||||
return "Block not found.";
|
||||
}
|
||||
return "Unknown error.";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user