comparison src/adplug/core/rol.cxx @ 1978:fa9f85cebade

s/vfs_/aud_vfs_/g
author William Pitcock <nenolod@atheme.org>
date Sun, 07 Oct 2007 00:25:33 -0500
parents 88ba14f18587
children bc94a0cca4f5
comparison
equal deleted inserted replaced
1977:5a6b60ceaa0f 1978:fa9f85cebade
467 } 467 }
468 //--------------------------------------------------------- 468 //---------------------------------------------------------
469 bool CrolPlayer::load_voice_data( binistream *f, std::string const &bnk_filename, const CFileProvider &fp ) 469 bool CrolPlayer::load_voice_data( binistream *f, std::string const &bnk_filename, const CFileProvider &fp )
470 { 470 {
471 SBnkHeader bnk_header; 471 SBnkHeader bnk_header;
472 VFSFile *fd = vfs_fopen(bnk_filename.c_str(), "rb"); 472 VFSFile *fd = aud_vfs_fopen(bnk_filename.c_str(), "rb");
473 binistream *bnk_file = fp.open(fd); 473 binistream *bnk_file = fp.open(fd);
474 474
475 if( bnk_file ) 475 if( bnk_file )
476 { 476 {
477 load_bnk_info( bnk_file, bnk_header ); 477 load_bnk_info( bnk_file, bnk_header );
490 490
491 voice_data.push_back( voice ); 491 voice_data.push_back( voice );
492 } 492 }
493 493
494 fp.close(bnk_file); 494 fp.close(bnk_file);
495 vfs_fclose(fd); 495 aud_vfs_fclose(fd);
496 496
497 return true; 497 return true;
498 } 498 }
499 499
500 return false; 500 return false;