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

s/vfs_/aud_vfs_/g
author William Pitcock <nenolod@atheme.org>
date Sun, 07 Oct 2007 00:25:33 -0500
parents 4709ce4e209e
children
comparison
equal deleted inserted replaced
1977:5a6b60ceaa0f 1978:fa9f85cebade
68 std::string instfilename (filename, 0, filename.find_last_of ('.')); 68 std::string instfilename (filename, 0, filename.find_last_of ('.'));
69 instfilename += ".ins"; 69 instfilename += ".ins";
70 AdPlug_LogWrite ("CadtrackLoader::load(,\"%s\"): Checking for \"%s\"...\n", 70 AdPlug_LogWrite ("CadtrackLoader::load(,\"%s\"): Checking for \"%s\"...\n",
71 filename.c_str (), instfilename.c_str ()); 71 filename.c_str (), instfilename.c_str ());
72 72
73 VFSFile *instfd = vfs_fopen (instfilename.c_str (), "rb"); 73 VFSFile *instfd = aud_vfs_fopen (instfilename.c_str (), "rb");
74 instf = fp.open (instfd); 74 instf = fp.open (instfd);
75 if (!instf || fp.filesize (instf) != 468) 75 if (!instf || fp.filesize (instf) != 468)
76 { 76 {
77 fp.close (f); 77 fp.close (f);
78 vfs_fclose (instfd); 78 aud_vfs_fclose (instfd);
79 return false; 79 return false;
80 } 80 }
81 81
82 // give CmodPlayer a hint on what we're up to 82 // give CmodPlayer a hint on what we're up to
83 realloc_patterns (1, 1000, 9); 83 realloc_patterns (1, 1000, 9);