Fixed extractor deadlock

This commit is contained in:
David Benepe
2022-04-10 16:52:42 -04:00
parent 05f080ca44
commit 18a05050ac
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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);