chore(gx): add assertions to CBLPFile::Open

This commit is contained in:
fallenoak 2023-02-21 19:47:02 -06:00
parent 728ad2242d
commit 4b662e6844
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -132,13 +132,8 @@ int32_t CBLPFile::LockChain2(const char* fileName, PIXEL_FORMAT format, MipBits*
}
int32_t CBLPFile::Open(const char* filename, int32_t a3) {
if (!filename) {
// TODO
// nullsub_3();
// SErrSetLastError(0x57u);
return 0;
}
STORM_ASSERT(filename);
STORM_VALIDATE(filename, ERROR_INVALID_PARAMETER, 0);
this->m_inMemoryImage = nullptr;