Commit graph

109 commits

Author SHA1 Message Date
Leon Styhre 90e3fe0fac Fixed a memory leak related to the gamelist placeholders. 2021-03-19 18:47:49 +01:00
Leon Styhre 0cf6914e16 (Windows) Fixed a MinGW compile error. 2021-03-14 10:48:43 +01:00
Leon Styhre 380881f69f (Windows) Fixed a compile error. 2021-03-10 18:52:39 +01:00
Leon Styhre 2432e118a7 Added the ability to automatically generate the game systems directory structure. 2021-03-10 18:21:49 +01:00
Leon Styhre 5bcb9446f4 Fixed a small memory leak in SystemData. 2021-02-28 16:56:50 +01:00
Leon Styhre e0e358e5f4 Fixed a memory leak when filtering MAME BIOSes and devices. 2021-02-28 16:37:22 +01:00
Leon Styhre 7da2f6b039 Fixed an issue where recursive symlinks in the ROM directory could cause endless loops. 2021-02-07 18:09:32 +01:00
Leon Styhre 7a079acb17 Minor cosmetic log output change for SystemData. 2021-02-07 12:36:33 +01:00
Leon Styhre 6713d0f7a5 Small cosmetic log output change when an unsupported platform has been entered into es_systems.cfg. 2021-02-07 12:24:22 +01:00
Leon Styhre 9c2d582f7d (Windows) Properly fixed a cosmetic log output issue when loading the game systems. 2021-02-07 11:49:50 +01:00
Leon Styhre 9be90fa39a (Windows) Fixed a cosmetic log output issue when loading the game systems. 2021-02-07 11:46:02 +01:00
Leon Styhre a7ed75b18c Removed some unnecessary processing for empty game systems.
Also made some minor cosmetic log output changes related to the loading of game systems and fixed an issue where infinitely recursive symlinks would not get caught.
2021-02-07 11:30:54 +01:00
Leon Styhre 735ce39812 Some cosmetic code cleanup. 2021-01-19 22:29:13 +01:00
Leon Styhre 9f04f1419c Changed logging from Warning to Info when missing the es_systems.cfg file. 2021-01-10 21:55:33 +01:00
Leon Styhre 5565170d93 Fixed an issue where randomly selecting an empty custom collection could crash the application. 2021-01-02 15:11:56 +01:00
Leon Styhre b1bb9743f2 Made the 'fullname' tag in es_systems.cfg mandatory. 2020-12-26 20:20:45 +01:00
Leon Styhre 327676d7d7 Renamed CollectionSystemManager to CollectionSystemsManager. 2020-12-23 18:06:30 +01:00
Leon Styhre bddc87bbcc Changed some more code from C to C++ 2020-12-17 20:43:52 +01:00
Leon Styhre debf072a0e Rewrote some code from C to C++ 2020-12-16 23:59:00 +01:00
Leon Styhre 024e073e86 Added support for %COREPATH% variable and reverted to a single Unix es_systems.cfg template file. 2020-12-15 18:42:38 +01:00
Leon Styhre e752904ab1 Added logic to retrieve default setting values. 2020-12-14 17:25:41 +01:00
Leon Styhre aefc80b222 Differentiated the system config template files for Unix. 2020-11-26 19:19:35 +01:00
Leon Styhre 1a6bec2e3b Overhaul of settings code. 2020-11-05 18:18:11 +01:00
Leon Styhre 94cc4b2158 Rewrote the random game function. 2020-10-31 11:33:43 +01:00
Leon Styhre 07efcd19d0 Simplified the detection of grouped custom collections. 2020-10-30 10:12:15 +01:00
Leon Styhre 1a0b2f8bb7 Multiple improvements to the handling of custom collections.
Also improved the random game and random system functions.
2020-10-21 21:56:31 +02:00
Leon Styhre 844d733c89 Fixed an issue where the random game function would return an empty result. 2020-10-20 22:02:33 +02:00
Leon Styhre 0b6d0bfcd6 Improved some logging as well as handling of a missing es_systems.cfg file. 2020-10-19 17:28:20 +02:00
Leon Styhre 370914791e Removed unnecessary cleanup for empty game systems. 2020-10-18 19:18:02 +02:00
Leon Styhre 0beb40d9c9 Fixed a tiny memory leak.
Also fixed a Clang static analyzer error for SystemData.
2020-10-17 14:32:08 +02:00
Leon Styhre b83bacc160 Fixed a small memory leak. 2020-10-11 20:54:37 +02:00
Leon Styhre 54ea153d93 Game systems are now sorted by their full names. 2020-09-27 12:49:14 +02:00
Leon Styhre 707850b339 Added a system sorting function to SystemData. 2020-09-26 13:03:14 +02:00
Leon Styhre 1c831249da Moved game counting to the sort function and improved the custom collection handling. 2020-09-21 18:13:27 +02:00
Leon Styhre 14e2ede448 Moved a sorting function to the proper location inside the correct class. 2020-09-17 22:18:13 +02:00
Leon Styhre 9da16dd00e Some minor cosmetic code changes. 2020-08-30 22:25:38 +02:00
Leon Styhre 88a5962926 Changed '#ifdef' to '#if defined()' throughout the code. 2020-08-23 17:04:30 +02:00
Leon Styhre 541f7202d8 Added copying of macOS systems template upon application startup. 2020-08-19 22:17:32 +02:00
Leon Styhre ad960b28ac Various updates to make the application compile on macOS. 2020-08-17 19:15:05 +02:00
Leon Styhre d2dfbc5919 Fixed two issues with random game selection. 2020-08-06 23:41:44 +02:00
Leon Styhre 5f7ffe98c8 Added metadata flag to mark whether a file should be counted as a game.
This is useful for DOS games for instance, to exclude files such as installers, setup files etc.
2020-07-29 19:01:49 +02:00
Leon Styhre afe5d98c39 Enabled scraping for folders and changed file info to lowercase. 2020-07-28 21:08:17 +02:00
Leon Styhre ea59d9f9c4 Fixed multiple issues with random selection of systems and games. 2020-07-28 15:19:54 +02:00
Leon Styhre b21dbc4ada (Windows) Improved handling of hidden files and folders. 2020-07-27 13:06:46 +02:00
Leon Styhre b5485b4ca9 Changed log levels from numbers to text. 2020-07-26 23:30:45 +02:00
Leon Styhre 329a8da441 Properly implemented hiding of games.
Also added a flag to force the Full UI mode from the command line.
2020-07-26 22:19:29 +02:00
Leon Styhre e2bd5d05b1 Fixed an issue where hidden files would still show up if they had a gamelist.xml entry. 2020-07-26 13:58:49 +02:00
Leon Styhre fe0e09ec7b Changed log level for missing or empty game systems from Info to Debug.
Also did some small changes to the OpenGL logging.
2020-07-12 12:09:01 +02:00
Leon Styhre 472a973f66 Added %ESPATH% variable support and fixed some other minor issues with the launch command. 2020-07-10 20:58:53 +02:00
Leon Styhre 31da561695 Complete UTF-16 (Unicode) support added for Windows.
ROM names with Unicode characters are supported, as well as running ES from a directory that has Unicode characters in its name.
2020-07-10 18:32:23 +02:00