Corrected .gitignore for Plan 9-specific executables and object files.

This commit is contained in:
kvothe. 2020-08-22 21:17:22 -04:00
parent 2c91ae32af
commit e80a80e4d4
2 changed files with 6 additions and 54 deletions

56
.gitignore vendored
View File

@ -1,54 +1,6 @@
# ---> C
# Prerequisites
*.d
# Object files
*.o
*.ko
*.obj
*.elf
# Linker output
*.ilk
*.map
*.exp
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
*.su
*.idb
*.pdb
# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf
# Plan 9 executable files.
[0125678kqv].*
# Plan 9 object files.
*.[0125678kqv]

View File

@ -40,12 +40,12 @@ loadmemlist(char *filename)
get2(bankmap, offset, (ushort*) &readAsset.packedlength); offset += 2; offset += 2;
get2(bankmap, offset, (ushort*) &readAsset.length ); offset += 2;
USED(offset); /* this is stupid */
print("--[asset %d]--\n", assetno);
print("--[asset %d]--\n", assetno);
print("state: 0x%02X.\n", readAsset.state);
print("type: 0x%02X.\n", readAsset.type);
print("rank: 0x%02X.\n", readAsset.rank);
print("bank: 0x%02X.\n", readAsset.bank);
print("offset: %lld.\n", readAsset.bankoffset);
print("offset: %lld.\n", readAsset.bankoffset);
print("packed: %d.\n", readAsset.packedlength);
print("length: %d.\n", readAsset.length);
}