mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
support c++ tools on macos (#2063)
Running reference tests/decompiler should now be possible on macos (arm). Most of the changes were just cleaning up places where we were sloppy with ifdefs, but there were two interesting ones: - `Printer.cpp` was updated to not use a recursive function for printing lists, to avoid stack overflow - I replaced xxhash with another version of the same library that supports arm (the one that comes in zstd). The interface is C instead of C++ but it's not bad to use. I confirmed that the extractor succeeds on jak 1 iso so it looks like this gives us the same results as the old library.
This commit is contained in:
@@ -67,7 +67,7 @@ OfflineTestDecompiler setup_decompiler(const OfflineTestWorkGroup& work,
|
||||
}
|
||||
|
||||
if (db_files.size() != object_files.size()) {
|
||||
lg::error("DB file error: has {} entries, but expected {", db_files.size(),
|
||||
lg::error("DB file error: has {} entries, but expected {}", db_files.size(),
|
||||
object_files.size());
|
||||
for (const auto& coll : work.work_collections) {
|
||||
for (auto& file : coll.source_files) {
|
||||
|
||||
Reference in New Issue
Block a user