mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -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:
@@ -4,7 +4,7 @@
|
||||
#include "common/goal_constants.h"
|
||||
#include "third-party/dragonbox.h"
|
||||
#include "print_float.h"
|
||||
#include "common/util/assert.h"
|
||||
#include "common/util/Assert.h"
|
||||
|
||||
/*!
|
||||
* Convert a float to a string. The string is _always_ in this format:
|
||||
@@ -28,7 +28,7 @@ std::string meters_to_string(float value, bool append_trailing_decimal) {
|
||||
}
|
||||
|
||||
int float_to_cstr(float value, char* buffer, bool append_trailing_decimal) {
|
||||
assert(std::isfinite(value));
|
||||
ASSERT(std::isfinite(value));
|
||||
// dragonbox gives us:
|
||||
// - an integer, representing the decimal value
|
||||
// - sign
|
||||
|
||||
Reference in New Issue
Block a user