mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 12:47:44 +00:00
Update libphysis, prevent more crashes with invalid game data
This commit is contained in:
parent
6c6f7c5b62
commit
6668091131
2 changed files with 5 additions and 1 deletions
2
external/libphysis
vendored
2
external/libphysis
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 99105e92caac2fd4eff70c5ca7fc81ebe4fac415
|
Subproject commit 5c4b5132ee95e2a6cd529f64464580148bc4808d
|
|
@ -74,6 +74,10 @@ void Profile::readDalamudInfo()
|
||||||
|
|
||||||
void Profile::readGameData()
|
void Profile::readGameData()
|
||||||
{
|
{
|
||||||
|
if (!physis_gamedata_exists(m_gameData, "exd/exversion.exh")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
auto header = physis_gamedata_extract_file(m_gameData, "exd/exversion.exh");
|
auto header = physis_gamedata_extract_file(m_gameData, "exd/exversion.exh");
|
||||||
physis_EXH *exh = physis_parse_excel_sheet_header(header);
|
physis_EXH *exh = physis_parse_excel_sheet_header(header);
|
||||||
if (exh != nullptr) {
|
if (exh != nullptr) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue