mirror of
https://github.com/open-goal/jak-project
synced 2026-08-11 11:33:51 -04:00
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:
@@ -2,7 +2,7 @@
|
||||
#include <algorithm>
|
||||
#include "DataObjectGenerator.h"
|
||||
#include "common/link_types.h"
|
||||
#include "common/util/assert.h"
|
||||
#include "common/util/Assert.h"
|
||||
|
||||
namespace {
|
||||
template <typename T>
|
||||
@@ -171,7 +171,7 @@ std::vector<u8> DataObjectGenerator::generate_link_table() {
|
||||
auto& entry = m_ptr_links.at(i);
|
||||
int diff = int(entry.source_word) - int(last_word);
|
||||
last_word = entry.source_word + 1;
|
||||
assert(diff >= 0);
|
||||
ASSERT(diff >= 0);
|
||||
push_variable_length_integer(diff, &link);
|
||||
m_words.at(entry.source_word) = entry.target_byte;
|
||||
|
||||
@@ -205,7 +205,7 @@ std::vector<u8> DataObjectGenerator::generate_link_table() {
|
||||
|
||||
for (auto& x : sl.second) {
|
||||
int diff = x - prev;
|
||||
assert(diff >= 0);
|
||||
ASSERT(diff >= 0);
|
||||
push_better_variable_length_integer(diff * 4, &link);
|
||||
m_words.at(x) = 0xffffffff;
|
||||
prev = x;
|
||||
@@ -226,7 +226,7 @@ std::vector<u8> DataObjectGenerator::generate_link_table() {
|
||||
|
||||
for (auto& x : tl.second) {
|
||||
int diff = x - prev;
|
||||
assert(diff >= 0);
|
||||
ASSERT(diff >= 0);
|
||||
push_better_variable_length_integer(diff * 4, &link);
|
||||
m_words.at(x) = 0xffffffff;
|
||||
prev = x;
|
||||
|
||||
Reference in New Issue
Block a user