mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:25:53 +01:00
[PR #766] file_system: GetTempPath and GetTempFileName resolve GAME:, G: and T: to overlay scratch (OLD-10017) #804
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#804
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/766
Author: @abnalstlll-byte
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:restore/old-10017-fs-temppath📝 Commits (5)
846b055file_system: route console temporary paths to the overlayd081e83file_system: preserve temporary directory components17fbb03file_system: preserve Unicode temporary pathsf7e3aa7file_system: reject lossy temporary pathsdf309d9Fix GetTempPathA exact capacity return📊 Changes
2 files changed (+246 additions, -0 deletions)
View changed files
📝
runtime/shims/file_system.cpp(+122 -0)📝
runtime/test/file_system_test.cpp(+124 -0)📄 Description
Restore old upstream PR 10017 (OLD-10017).
Implements \GetTempPathW, \GetTempPathA, \GetTempFileNameW, and \GetTempFileNameA\ shims routing console temporary directories (\GAME:, \G:, \T:) to the writable overlay's scratch directory (.gta6rt-temp).
Clean-room verified; zero game data.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.