Add support for custom resource parameters
And allow users to skip a precise loader using them Former-commit-id: 297af2e4a24ad67c343aae5d89352abf4ea05f63
This commit is contained in:
@@ -47,7 +47,9 @@ namespace Nz
|
||||
|
||||
Ternary Check(Stream& stream, const ImageParams& parameters)
|
||||
{
|
||||
NazaraUnused(parameters);
|
||||
bool skip;
|
||||
if (parameters.custom.GetBooleanParameter("NativePCXLoader_Skip", &skip) && skip)
|
||||
return Ternary_False;
|
||||
|
||||
UInt8 manufacturer;
|
||||
if (stream.Read(&manufacturer, 1) == 1)
|
||||
|
||||
Reference in New Issue
Block a user