Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Detect build when Hearthstone is launched #211

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

angrylinuxuser
Copy link
Contributor

Hi,
We only need to detect build on hearthstone start ( since it won't change until restart )
DetecBuid() is invoked multiple of times and via HearthstoneCardDB::CardsJsonLocalPath() ( among others) - on mac it opens a file and reads it; if it the same on windows as its done in wine there are also multiple allocations to get file version.

@stevschmid
Copy link
Owner

This is an infrequent operation. Can you specify why these rare multiple allocations are a problem for you?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants