8000 Android: `SDL_GetPathInfo` doesn't default to "assets" like other file functions. · Issue #13050 · libsdl-org/SDL · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Android: SDL_GetPathInfo doesn't default to "assets" like other file functions. #13050
Open
@AntTheAlchemist

Description

@AntTheAlchemist

The following line will return false, to suggest the file doesn't exist:

SDL_GetPathInfo("example.text", 0);

However, the following line will work, because the file does exist:

SDL_LoadFile("example.text", 0);

The file is in \app\src\main\assets, which seems to be the default for many file operations, but not SDL_GetPathInfo, maybe? Is it unreasonable to assume it should default to assets without a full path specified?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0