mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 12:27:43 +00:00
setGlobalProject now called in cook transactions
This commit is contained in:
@@ -37,7 +37,7 @@ SpecBase::SpecBase(const hecl::Database::DataSpecEntry* specEntry, hecl::Databas
|
||||
: hecl::Database::IDataSpec(specEntry), m_project(project), m_pc(pc),
|
||||
m_masterShader(project.getProjectWorkingPath(), ".hecl/RetroMasterShader.blend")
|
||||
{
|
||||
DataSpec::UniqueIDBridge::setGlobalProject(m_project);
|
||||
DataSpec::UniqueIDBridge::setThreadProject(m_project);
|
||||
}
|
||||
|
||||
static const hecl::SystemString regNONE = _S("");
|
||||
@@ -45,6 +45,11 @@ static const hecl::SystemString regE = _S("NTSC");
|
||||
static const hecl::SystemString regJ = _S("NTSC-J");
|
||||
static const hecl::SystemString regP = _S("PAL");
|
||||
|
||||
void SpecBase::setThreadProject()
|
||||
{
|
||||
UniqueIDBridge::setThreadProject(m_project);
|
||||
}
|
||||
|
||||
bool SpecBase::canExtract(const ExtractPassInfo& info, std::vector<ExtractReport>& reps)
|
||||
{
|
||||
m_disc = nod::OpenDiscFromImage(info.srcpath.c_str(), m_isWii);
|
||||
|
||||
Reference in New Issue
Block a user