mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Fixed extractor deadlock
This commit is contained in:
@@ -21,6 +21,9 @@ if [ -d "$UCODE_DIR" ]; then
|
||||
rm -r $UCODE_DIR
|
||||
fi
|
||||
|
||||
if ! ./tools/dkr_assets_tool -bc "$VER" ./include/enums.h ; then
|
||||
exit 1
|
||||
fi
|
||||
if ! ./tools/dkr_assets_tool -e "$VER" ./assets ./extract-ver ./baseroms . ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -131,6 +131,7 @@ void load_enums_cache() {
|
||||
|
||||
void generate_enums_cache(std::string enumsHeaderPath) {
|
||||
set_enums_cache_path();
|
||||
ensure_that_path_exists("build/" + get_version() + "/");
|
||||
// Generate enums map
|
||||
path_must_exist(enumsHeaderPath);
|
||||
std::string enumsIncludeText = read_text_file(enumsHeaderPath);
|
||||
|
||||
Reference in New Issue
Block a user