Plugins: Add PostProcessImage

This commit is contained in:
Katy Coe
2020-12-29 17:18:31 +01:00
parent b5f6bcba72
commit dbee37d4de

View File

@@ -209,9 +209,12 @@ namespace Il2CppInspector
OnStatusUpdate = statusCallback; OnStatusUpdate = statusCallback;
Position = 0; Position = 0;
return Init(); if (Init()) {
// Call post-process plugin hook if load succeeded
// TODO: Plugin hook PostProcessFile IsModified |= PluginHooks.PostProcessImage(this).IsStreamModified;
return true;
}
return false;
} }
// Confirm file is valid and set up RVA mappings // Confirm file is valid and set up RVA mappings