mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-15 02:20:14 +03:00
[WiP] Weird story still continues. Part 6. Test PV
This commit is contained in:
+8
-11
@@ -214,18 +214,15 @@ void item_table_handler::read() {
|
||||
|
||||
data_struct* aft_data = &data_list[DATA_AFT];
|
||||
for (const std::string& i : mdata_manager_get()->GetPrefixes()) {
|
||||
std::string dir;
|
||||
dir.assign("rom/");
|
||||
dir.append(i);
|
||||
std::string farc_file;
|
||||
farc_file.assign(i);
|
||||
farc_file.append("chritm_prop.farc");
|
||||
|
||||
const char* farc_file = "chritm_prop.farc";
|
||||
|
||||
if (!aft_data->check_file_exists(dir.c_str(), farc_file))
|
||||
continue;
|
||||
|
||||
p_file_handler* pfhndl = new p_file_handler;
|
||||
pfhndl->read_file(aft_data, dir.c_str(), farc_file, file, false);
|
||||
file_handlers.push_back(pfhndl);
|
||||
if (aft_data->check_file_exists("rom/", farc_file.c_str())) {
|
||||
p_file_handler* pfhndl = new p_file_handler;
|
||||
pfhndl->read_file(aft_data, "rom/", farc_file.c_str(), file, false);
|
||||
file_handlers.push_back(pfhndl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user