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:
parent
9b88e46fce
commit
c538d483bc
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user