mirror of
https://github.com/zeldaret/tmc
synced 2026-09-03 10:21:18 -04:00
Extract voicegroups
This commit is contained in:
@@ -31,8 +31,13 @@ AsmFile::AsmFile(std::string filename) : m_filename(filename)
|
||||
{
|
||||
FILE *fp = std::fopen(filename.c_str(), "rb");
|
||||
|
||||
if (fp == NULL)
|
||||
FATAL_ERROR("Failed to open \"%s\" for reading.\n", filename.c_str());
|
||||
if (fp == NULL) {
|
||||
// TODO pass current build assets path to preproc
|
||||
fp = std::fopen(("build/tmc_eu/assets/" + filename).c_str(), "rb");
|
||||
|
||||
if (fp == NULL)
|
||||
FATAL_ERROR("Failed to open \"%s\" for reading.\n", filename.c_str());
|
||||
}
|
||||
|
||||
std::fseek(fp, 0, SEEK_END);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user