Add volume to IBIS cache path

Fixes #16655
This commit is contained in:
Emile Cormier 2024-02-02 18:03:31 -04:00 committed by Ian McInerney
parent 86368abba2
commit b58f318d3f
1 changed files with 2 additions and 2 deletions

View File

@ -478,8 +478,8 @@ void NETLIST_EXPORTER_SPICE::readModel( SCH_SHEET_PATH& aSheet, SCH_SYMBOL& aSym
}
auto spiceGenerator = static_cast<const SPICE_GENERATOR_KIBIS&>( kibisModel->SpiceGenerator() );
std::string modelData = spiceGenerator.IbisDevice( aItem, m_schematic->Prj(),
cacheFn.GetPath( wxPATH_GET_SEPARATOR ) );
std::string modelData = spiceGenerator.IbisDevice(
aItem, m_schematic->Prj(), cacheFn.GetPath( wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR ) );
cacheFile.Write( wxString( modelData ) );
m_rawIncludes.insert( cacheFn.GetFullPath() );