Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug where log file was not generated on first run #729

Merged
merged 2 commits into from
Mar 20, 2025

Conversation

wrybyte
Copy link
Contributor

@wrybyte wrybyte commented Mar 19, 2025

This fix resolves issue #727.

On first start, Log::Initialize attempts to create the azahar-emu/log/ directory. However, it fails because azahar-emu/ does not exist. Using FileUtil::CreateFullPath instead will create both azahar-emu/ and log/.

@OpenSauce04 OpenSauce04 self-requested a review March 19, 2025 10:13
@OpenSauce04 OpenSauce04 added this to the 2121 milestone Mar 19, 2025
wrybyte added 2 commits March 19, 2025 15:25
This fix resolves issue azahar-emu#727.

On first start, Log::Initialize attempts to create the `azahar-emu/log/`
directory. However, it fails because `azahar-emu/` does not exist. Using
FileUtil::CreateFullPath instead will create both `azahar-emu` and
`log/`.
@PabloMK7 PabloMK7 force-pushed the bugfix/initialise-log branch from 5f16531 to 2deafdb Compare March 19, 2025 14:25
@PabloMK7 PabloMK7 added the squash This pull request should be squashed if approved label Mar 19, 2025
@OpenSauce04 OpenSauce04 removed their request for review March 20, 2025 11:39
@OpenSauce04 OpenSauce04 merged commit d82be7a into azahar-emu:master Mar 20, 2025
12 checks passed
OpenSauce04 pushed a commit that referenced this pull request Mar 20, 2025
* Fix bug where log file was not generated on first run

This fix resolves issue #727.

On first start, Log::Initialize attempts to create the `azahar-emu/log/`
directory. However, it fails because `azahar-emu/` does not exist. Using
FileUtil::CreateFullPath instead will create both `azahar-emu` and
`log/`.

* Update license header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS squash This pull request should be squashed if approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants