update readme and fix always playing str (#1139)

* update readme deps

* replace assert

* bump timeout

* fix memory corruption in kernel

* use unknown if level name is invalid
This commit is contained in:
water111
2022-02-08 19:02:47 -05:00
committed by GitHub
parent 3f394ef4d6
commit 78cde74d5a
243 changed files with 3525 additions and 3503 deletions
+3 -3
View File
@@ -4,7 +4,7 @@
*/
#include "OpcodeInfo.h"
#include "common/util/assert.h"
#include "common/util/Assert.h"
namespace decompiler {
OpcodeInfo gOpcodeInfo[(uint32_t)InstructionKind::EE_OP_MAX];
@@ -462,12 +462,12 @@ void init_opcode_info() {
// for the UNKNOWN op which shouldn't be valid.
total_count--;
assert(total_count == valid_count);
ASSERT(total_count == valid_count);
opcodes_initialized = true;
}
void OpcodeInfo::step(DecodeStep& s) {
assert(step_count < MAX_DECODE_STEPS);
ASSERT(step_count < MAX_DECODE_STEPS);
steps[step_count] = s;
step_count++;
defined = true;