Skip to content

Commit ef0457b

Browse files
authored
Fix generate_asm_macros_files option (#473)
* Fix generate_asm_macros_files * bump * Fix outdated spimdisasm version
1 parent 6ddd0c9 commit ef0457b

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# splat Release Notes
22

3+
### 0.35.2
4+
5+
* Fix splat not respecting when `generate_asm_macros_files` was being turned off.
6+
37
### 0.35.1
48

59
* Fixes issues in the generated `macro.inc` and `labels.inc` files on psx projects.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The brackets corresponds to the optional dependencies to install while installin
2121
If you use a `requirements.txt` file in your repository, then you can add this library with the following line:
2222

2323
```txt
24-
splat64[mips]>=0.35.1,<1.0.0
24+
splat64[mips]>=0.35.2,<1.0.0
2525
```
2626

2727
### Optional dependencies

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "splat64"
33
# Should be synced with src/splat/__init__.py
4-
version = "0.35.1"
4+
version = "0.35.2"
55
description = "A binary splitting tool to assist with decompilation and modding projects"
66
readme = "README.md"
77
license = {file = "LICENSE"}
@@ -20,7 +20,7 @@ dependencies = [
2020

2121
[project.optional-dependencies]
2222
mips = [
23-
"spimdisasm>=1.32.0,<2.0.0", # This value should be keep in sync with the version listed on disassembler/spimdisasm_disassembler.py
23+
"spimdisasm>=1.36.0,<2.0.0", # This value should be keep in sync with the version listed on disassembler/spimdisasm_disassembler.py
2424
"rabbitizer>=1.12.0,<2.0.0",
2525
"pygfxd",
2626
"n64img>=0.3.3",

src/splat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__package_name__ = __name__
22

33
# Should be synced with pyproject.toml
4-
__version__ = "0.35.1"
4+
__version__ = "0.35.2"
55
__author__ = "ethteck"
66

77
from . import util as util

src/splat/util/file_presets.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515

1616
def write_all_files():
17+
if not options.opts.generate_asm_macros_files:
18+
return
19+
1720
write_include_asm_h()
1821
write_assembly_inc_files()
1922

0 commit comments

Comments
 (0)