Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
theCapypara committed Aug 3, 2024
1 parent 4d17838 commit 5a1d08f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ data from the game, as well as patches.
This API provides two types of data access:

- Assets: Machine- and human-readable versions of the files stored in the game. These are always used primarily if
they exist. They are specified as part of PMDCollab eos-asset-spec_ for support for best other ROM hacking tools.
they exist. They are specified as part of PMDCollab eos-asset-spec_.
- ROM: The actual ROM file where all of the binary serialized files are stored.

If the contents of assets does not match the contents of the file in the ROM, this can be handled in different ways.
Expand Down
3 changes: 1 addition & 2 deletions skytemple_files/common/file_api_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ def open_file(
Loads this model from assets from the asset storage or ROM.
Reads from assets if they exist, otherwise falls back to ROM if all assets are missing.
Raises `AssetHashMismatchError` if the hash of any asset mismatches and that asset path
is not in `force`.
Raises `AssetHashMismatchError` if the hash of any asset mismatches and `force` is not True.
If only some but not all assets are missing, raises a `AssetHashMismatchError` with no hashes
but `missing_asset` set to `True`.
May raise any other exception if an asset exists but is not loadable.
Expand Down

0 comments on commit 5a1d08f

Please sign in to comment.