mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 10:00:16 +02:00
Disk Cache initial implementation
Serializes code blocks to disk - only blocks coming from known regions, for now Disabled by default, key and versioning still needs work, but works for testing
This commit is contained in:
1 parent
f42dc71972
commit
561c32b45d
19 files changed
+973
-18
No files matched your search
+2
-2
@@ -35,13 +35,13 @@ if [ "$CHANGED_ONLY" = true ]; then
|
||||
|
||||
CHANGED_FILES=$(git ls-files -m '*.cpp' '*.h' '*.inl')
|
||||
if [ -n "$CHANGED_FILES" ]; then
|
||||
echo "$CHANGED_FILES" | xargs -d '\n' -n 1 -P "$(nproc)" clang-format-19 -i
|
||||
echo "$CHANGED_FILES" | xargs -d '\n' -n 1 -P "$(nproc)" $CLANG_FORMAT -i
|
||||
else
|
||||
echo "No changed files to format."
|
||||
fi
|
||||
else
|
||||
# Reformat whole tree (original behavior)
|
||||
git ls-files -z '*.cpp' '*.h' '*.inl' | xargs -0 -n 1 -P "$(nproc)" clang-format-19 -i
|
||||
git ls-files -z '*.cpp' '*.h' '*.inl' | xargs -0 -n 1 -P "$(nproc)" $CLANG_FORMAT -i
|
||||
fi
|
||||
|
||||
cd "$DIR"
|
||||
Reference in new issue
Block a user