Diff for /np2/common/wavefile.c between versions 1.4 and 1.6

version 1.4, 2005/02/07 14:46:08 version 1.6, 2007/01/08 08:52:21
Line 3 Line 3
 #include        "wavefile.h"  #include        "wavefile.h"
   
   
 static BOOL headwrite(WAVEWR hdl) {  static BRESULT headwrite(WAVEWR hdl) {
   
         RIFF_HEADER             rif;          RIFF_HEADER             rif;
         WAVE_HEADER             hdr;          WAVE_HEADER             hdr;
Line 51  static void dataflash(WAVEWR hdl) { Line 51  static void dataflash(WAVEWR hdl) {
   
         UINT    size;          UINT    size;
   
         size = hdl->ptr - hdl->buf;          size = (UINT)(hdl->ptr - hdl->buf);
         if (size) {          if (size) {
                 hdl->size += file_write((FILEH)hdl->fh, hdl->buf, size);                  hdl->size += file_write((FILEH)hdl->fh, hdl->buf, size);
         }          }
Line 62  static void dataflash(WAVEWR hdl) { Line 62  static void dataflash(WAVEWR hdl) {
   
 // ----  // ----
   
 WAVEWR wavewr_open(const char *filename, UINT rate, UINT bits, UINT ch) {  WAVEWR wavewr_open(const OEMCHAR *filename, UINT rate, UINT bits, UINT ch) {
   
         FILEH   fh;          FILEH   fh;
         WAVEWR  ret;          WAVEWR  ret;

Removed from v.1.4  
changed lines
  Added in v.1.6


RetroPC.NET-CVS <cvs@retropc.net>