* Make the fiasco writing api work (some hardcoded things, but mostly ok)
* Move documentation of fiasco format to doc/ * 0.3 release
This commit is contained in:
1 parent
d15412a788
commit
fbdac811fc
5 files changed
+61
-46
No files matched your search
+2
-4
@@ -20,7 +20,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
char *fpid_file(char *filename)
|
||||
const char *fpid_file(const char *filename)
|
||||
{
|
||||
FILE *fd;
|
||||
char buf[512];
|
||||
@@ -45,11 +45,9 @@ char *fpid_file(char *filename)
|
||||
size = ftell(fd);
|
||||
fclose(fd);
|
||||
|
||||
#if 0
|
||||
if (!memcmp(b+0x34, "2NDAPE", 6))
|
||||
return PIECE_2ND;
|
||||
return pieces[PIECE_2ND];
|
||||
else
|
||||
#endif
|
||||
if (!memcmp(b+0x04, "NOLOScnd", 8))
|
||||
return pieces[PIECE_SECONDARY];
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user