git @ Cat's Eye Technologies linapple / pcm-files
Don't create files we literally never write anything to. Chris Pressey 3 years ago
2 changed file(s) with 0 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
1111 #define LINAPPLE_VERSION 2
1212
1313 #include <curl/curl.h>
14
15 extern FILE * spMono,*spStereo;
1614
1715 extern char VERSIONSTRING[]; // Contructed in WinMain()
1816
782782 }
783783
784784
785 FILE *spMono, *spStereo;
786
787785 //---------------------------------------------------------------------------
788786
789787 int main(int argc, char * lpCmdLine[])
803801 bool bBoot = false;
804802
805803 registry = fopen(REGISTRY, "rt"); // open conf file (linapple.conf by default)
806 spMono = fopen("speakersmono.pcm","wb");
807 spStereo = fopen("speakersstereo.pcm","wb");
808804
809805 LPSTR szImageName_drive1 = NULL; // file names for images of drive1 and drive2
810806 LPSTR szImageName_drive2 = NULL;
10971093 {
10981094 fclose(registry); //close conf file (linapple.conf by default)
10991095 }
1100 fclose(spMono);
1101 fclose(spStereo);
11021096
11031097 SDL_Quit();
11041098 // CURL routines