mirror of
https://github.com/ScrelliCopter/VGM-Tools
synced 2025-02-21 04:09:25 +11:00
add stub for loading vgz directly
This commit is contained in:
@@ -12,6 +12,14 @@ int main(int argc, char** argv)
|
||||
if (!file)
|
||||
return 1;
|
||||
|
||||
if (fgetc(file) == 0x1F && fgetc(file) == 0x8B)
|
||||
{
|
||||
printf("I'm a little gzip short and stout\n");
|
||||
return 2;
|
||||
}
|
||||
|
||||
fseek(file, 0, SEEK_SET);
|
||||
|
||||
int err = vgmExtractSamples(file);
|
||||
fclose(file);
|
||||
return err;
|
||||
|
||||
Reference in New Issue
Block a user