GUI: ps_fopen

This commit is contained in:
tildearrow 2022-04-06 02:46:09 -05:00
parent 132c5007fa
commit 4a131952e4

View file

@ -2697,7 +2697,7 @@ bool FurnaceGUI::loop() {
case GUI_FILE_EXPORT_VGM: {
SafeWriter* w=e->saveVGM(willExport,vgmExportLoop,vgmExportVersion);
if (w!=NULL) {
FILE* f=fopen(copyOfName.c_str(),"wb");
FILE* f=ps_fopen(copyOfName.c_str(),"wb");
if (f!=NULL) {
fwrite(w->getFinalBuf(),1,w->size(),f);
fclose(f);