Skip to content

Commit

Permalink
Merge pull request #185 from steven11sjf/bcskla-dread
Browse files Browse the repository at this point in the history
bcskla parse/build for dread and MSR
  • Loading branch information
duncathan authored Jul 25, 2024
2 parents 0ba26cf + b71a46f commit 2cf2996
Show file tree
Hide file tree
Showing 6 changed files with 12,075 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Construct type definitions for Mercury Engine
| BCLGT | ✗ | ✗ | Missing | Missing |
| BCMDL | ✗ | ✗ | ✓ | ✗ |
| BCPTL | ✗ | ✗ | ✗ | ✗ |
| BCSKLA | ✗ | ✗ | ✗ | ✗ |
| BCSKLA | ✓ | ✓ | ✓ | ✓ |
| BCTEX | ✗ | ✗ | ✓ | ✗ |
| BCURV | Missing | Missing | ✗ | ✗ |
| BCUT | ✗ | ✗ | Missing | Missing |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@


class AlignTo(Construct):
def __init__(self, modulus):
def __init__(self, modulus, pattern = b"\x00"):
super().__init__()
self.modulus = modulus
self.pattern = b"\x00"
self.pattern = pattern
self.flagbuildnone = True

def _parse(self, stream, context, path):
Expand Down
Loading

0 comments on commit 2cf2996

Please sign in to comment.