Skip to content

Screenshot counter isn't updating correctly with a separate directory as the path #1153

Open
@Miss-Inputs

Description

@Miss-Inputs

mGBA version: 0.7-5198-c5ff781e (revision c5ff781)
OS: Antergos Linux
CPU/GPU: Intel i7-3720QM @ 2.6GHz, integrated Ivy Bridge graphics

If I have my screenshot folder set to a specific folder, as I like to do, instead of the same directory as the ROM, the screenshots don't increment correctly, in a way that's a bit hard to explain:

I open "Game A" (it does the same thing with any game I try, GB or GBA so I'm not being specific), and take a screenshot. This saves it to /screenshot/folder/Game A-0.jpg, as I would expect.

If I progress the game a bit and take the screenshot again, it should save the screenshot to /screenshot/folder/Game A-1.jpg, but it overwrites the earlier Game A-0.jpg instead.

If I open "Game B", and take screenshots there, it will still save to /screenshot/folder/Game B-0.jpg as expected. If I then open "Game A" again (or close mGBA and reopen it) it will save to /screenshot/folder/Game A-1.jpg this time as expected.

Everything works as expected when the screenshot path is set to "Same folder as the ROM".

The actual screenshot folder I use is /media/Stuff/Roms/GB and GBA Shared/Snaps/ and not /screenshot/folder in case that makes any difference.

Hopefully that all makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions