Skip to content

Commit

Permalink
Add some usage and build insturctions for the extractor
Browse files Browse the repository at this point in the history
Signed-off-by: Taggerung <[email protected]>
  • Loading branch information
Taggerung committed Oct 8, 2023
1 parent a8c37b7 commit 4abffc3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tools/vtx_extract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,13 @@ inline short bswap(short in) {
return ((in & 0xFF) << 8) | ((in >> 8) & 0xFF);
}

// argv[1] -> path to baserom file
/**
* Usage:
* vtx_extract /path/to/baserom.us.z64
*
* How to build:
* make -C tools -f vtx_extract.mk
**/
int main(int argc, char **argv) {
int err;
int num_tris;
Expand Down

0 comments on commit 4abffc3

Please sign in to comment.