1
0
forked from 0ad/0ad

fix overzealous assert (if windows doesn't provide the ACPI routines, the returned list of tables will of course be empty)

see
http://www.wildfiregames.com/forum/index.php?showtopic=12669&st=250&p=207927&#

This was SVN commit r7728.
This commit is contained in:
janwas 2010-07-10 16:44:34 +00:00
parent 9b88e46fce
commit c538d483bc

View File

@ -306,7 +306,6 @@ static void AllocateAndCopyTables(const AcpiTable**& tables, size_t& numTables)
DeallocateTable(rsdt);
#else
const std::vector<u32> tableIDs = wacpi_TableIDs();
debug_assert(!tableIDs.empty());
numTables = tableIDs.size();
tables = new const AcpiTable*[numTables];