eden-nx2-old/src/frontend_common
Repository files (latest commit first)
Filename Latest commit message Latest commit date
inix 6bdf479488
[core, android] Initial playtime implementation (#2535)
So firstly, playtime code is moved to src/common and qt specific code to yuzu/utils.cpp.

The dependency on ProfileManager was removed because it was working properly on Android, and I think a shared playtime is better behavior.
Now, playtime is stored in a file called "playtime.bin".

JNI code is from Azahar although modified by me, as well as that I added code to reset the game's playtime which was missing for some reason on there.

Before this gets merged, I plan to add the ability to manually edit the database as well.

Note: Code still needs a bit of cleanup.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2535
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Co-authored-by: inix <Nixy01@proton.me>
Co-committed-by: inix <Nixy01@proton.me>
2025-10-17 22:47:43 +02:00
..
CMakeLists.txt [core, android] Initial playtime implementation (#2535) 2025-10-17 22:47:43 +02:00
config.cpp User Data Migration from Citron, Sudachi, and Yuzu (#91) 2025-05-08 22:16:07 +00:00
config.h general: add default configurations for applet mode 2024-02-09 09:20:53 -05:00
content_manager.h [common, fs] Use std::string_view instead of std::string&; inline functions that are used rarely (#330) 2025-08-27 22:21:04 +02:00
data_manager.cpp [desktop] Data Manager, data import/export (#2700) 2025-10-15 04:54:41 +02:00
data_manager.h [desktop] Data Manager, data import/export (#2700) 2025-10-15 04:54:41 +02:00
firmware_manager.cpp [android] Fix key install and revert to old icon_bg 2025-07-13 01:17:32 -04:00
firmware_manager.h [qt] refactor: qt_common lib (#94) 2025-09-15 17:21:18 +02:00
play_time_manager.cpp [core, android] Initial playtime implementation (#2535) 2025-10-17 22:47:43 +02:00
play_time_manager.h [core, android] Initial playtime implementation (#2535) 2025-10-17 22:47:43 +02:00