Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into promote_overlapping…
Browse files Browse the repository at this point in the history
…_warning_to_error
  • Loading branch information
AngheloAlf committed Dec 2, 2024
2 parents b0798fb + 0a29471 commit b260b0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### 0.31.1

* Tag `PSYQ` as a compiler that uses `j` instructions as branches.
* Fixes incorrect detection of non existing functions under the mentioned compiler.
* Try to tell the users what segments are causing the overlapping issue.
* The overlap warning has been promoted to an error.

Expand Down
5 changes: 4 additions & 1 deletion src/splat/util/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ class Compiler:
)

# PS1
PSYQ = Compiler("PSYQ")
PSYQ = Compiler(
"PSYQ",
j_as_branch=True,
)

# PS2
MWCCPS2 = Compiler("MWCCPS2")
Expand Down

0 comments on commit b260b0c

Please sign in to comment.