Remove some annoying and useless asserts.

This commit is contained in:
Jean-Philip Desjardins 2018-04-07 09:48:22 -04:00
parent 18ead6cc02
commit 018889ceb5
2 changed files with 0 additions and 2 deletions

View file

@ -522,7 +522,6 @@ void CIopBios::FinishModuleStart()
if(!stopRequest)
{
assert(moduleResidentState != MODULE_RESIDENT_STATE::NO_RESIDENT_END);
assert(loadedModule->state == MODULE_STATE::STOPPED);
loadedModule->state = MODULE_STATE::STARTED;
loadedModule->residentState = moduleResidentState;

View file

@ -146,7 +146,6 @@ uint32 CLoadcore::RegisterLibraryEntries(uint32 exportTablePtr)
uint32* exportTable = reinterpret_cast<uint32*>(&m_ram[exportTablePtr]);
auto module = std::make_shared<CDynamic>(exportTable);
bool registered = m_bios.RegisterModule(module);
assert(registered);
return 0;
}