Lines Matching refs:opl_dbg_fp
44 static FILE *opl_dbg_fp = NULL; variable
1030 if(opl_dbg_fp) in YM3812UpdateOne()
1034 fprintf(opl_dbg_fp,"%c%c%c",0x20+opl_dbg_chip,length&0xff,length/256); in YM3812UpdateOne()
1100 if(!opl_dbg_fp) in OPLCreate()
1102 opl_dbg_fp = fopen("opllog.opl","wb"); in OPLCreate()
1105 if(opl_dbg_fp) in OPLCreate()
1108 fprintf(opl_dbg_fp,"%c%c%c%c%c%c",0x00+opl_dbg_maxchip, in OPLCreate()
1124 if(opl_dbg_fp) in OPLDestroy()
1126 fclose(opl_dbg_fp); in OPLDestroy()
1127 opl_dbg_fp = NULL; in OPLDestroy()
1153 if(opl_dbg_fp) in OPLWrite()
1157 fprintf(opl_dbg_fp,"%c%c%c",0x10+opl_dbg_chip,OPL->address,v); in OPLWrite()