libretro / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
68 stars 73 forks source link

Expose and update emulator version #240

Closed Ryunam closed 2 years ago

Ryunam commented 3 years ago

Just a quick update to libretro.c to expose the emulator version (currently 0.9.2) before the commit hash, as was the case for the previous versions of the same core.

inactive123 commented 3 years ago

Hi there @endrift , I'll leave it up to you to approve this or not.

endrift commented 2 years ago

That version number isn't even accurate...this is closer to 0.10 than 0.9.2. It's impossible to keep an accurate version number in the libretro core that actually maps to the same thing as the standalone.

endrift commented 2 years ago

Not to mention the fact that we'll have to remember to update it with any regularity. Which historically hasn't been done.

endrift commented 2 years ago

...Doesn't this also elide a separator between the version number and the git commit, so it'd be 0.9.2fda6556...? Not exactly readable.

Ryunam commented 2 years ago

Hi @endrift, let me try to address a few of your concerns here:

Screenshot 2021-10-17 160906

This is the formatting that is also used with all the other cores that show the internal version number and the commit hash. I believe it should be readable enough, but if you'd rather have some more distinct separator I can add it as well.