repo.or.cz
/
svpe-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tachtig: Add some error checking; put output in a new directory.
[svpe-tools.git]
/
tmd-dump.c
blob
2ef63f80a65d514674435ead9ad05d88149d5658
1
#include <stdio.h>
2
3
#include
"tools.h"
4
5
int
main
(
int
argc
,
char
**
argv
)
6
{
7
FILE
*
fp
;
8
u8 tmd
[
0x2000
];
9
10
fp
=
fopen
(
argv
[
1
],
"rb"
);
11
fread
(
tmd
,
1
,
sizeof
tmd
,
fp
);
12
fclose
(
fp
);
13
14
dump_tmd
(
tmd
);
15
16
return
0
;
17
}