d9b8b7acad
* WIP support for Nintendo Switch * OpenAL is usable * Remove some debug code, add manual crash when DEBUG_NXLINK is on * Remove more debug logs * Support touch, account name detection, language detection. Remove resolution settings * Stylistic changes * SFXManager: update on main thread * Add build script, remove crypto.hpp changes, disable opengl recorder on switch * make: use sudo where needed, libs=>lib, portlib=>portlibs * make: build harfbuzz with freetype * main: remove DEBUG_NXLINK * socket_address: this comment is no longer relevant * Fix indentation in SDL, remove extra debug logs from InputManager * InputManager: make log debug, not info * CMakeLists: add mbedtls include dirs on switch * main: deinitialize stuff * main_loop: fix format
25 lines
529 B
JavaScript
25 lines
529 B
JavaScript
const child_process = require("child_process");
|
|
const fs = require("fs");
|
|
|
|
const file = fs.readFileSync(process.argv[2], "utf8");
|
|
console.log(
|
|
file.replace(
|
|
/ \(supertuxkart \+ (0x[0-9a-f]{1,16})\)/g,
|
|
(existing, offset) =>
|
|
existing +
|
|
" => " +
|
|
child_process
|
|
.execFileSync("aarch64-none-elf-addr2line", [
|
|
"-e",
|
|
"./bin/supertuxkart",
|
|
"-f",
|
|
"-p",
|
|
"-C",
|
|
"-a",
|
|
offset,
|
|
])
|
|
.toString("utf8")
|
|
.trim()
|
|
)
|
|
);
|