Commit Graph

265 Commits

Author SHA1 Message Date
twinaphex
1eb80f6c93 More static code analysis fixes 2015-09-28 17:18:48 +02:00
Twinaphex
f44852b35b Fix redefinition of variable 2015-09-28 03:32:05 +02:00
Twinaphex
f2f3374760 Get rid of unused variable 2015-09-28 03:31:09 +02:00
twinaphex
d3792d9f66 (task_database_cue.c) Cleanups 2015-09-28 01:52:56 +02:00
twinaphex
c7fe8922a1 Allow upper-case CUE extension too 2015-09-27 03:50:45 +02:00
twinaphex
1d33bf5db7 Add uppercase 'ISO' extension too 2015-09-27 03:48:58 +02:00
Jean-André Santoni
d2d402ea1b Refactor CD scanning, and detect PSP games before searching serials 2015-09-27 02:14:24 +02:00
Jean-André Santoni
1ffe9eae43 Implement PSP scanning 2015-09-27 00:12:17 +02:00
twinaphex
cdf597aa89 Add settings->overlay_directory 2015-09-26 19:21:32 +02:00
aliaspider
eb10e8b977 (PS1) serial lookup: improve error detection. 2015-09-26 01:27:17 +01:00
aliaspider
bdcc7c81ce (PS1) convert serial to uppercase. 2015-09-26 00:44:47 +01:00
twinaphex
e280ff2767 (PS1) PS1 serial lookup fix 2015-09-26 01:29:17 +02:00
twinaphex
8c87f0bd31 Add alternative PS1 detect game code by aliaspider 2015-09-26 00:05:15 +02:00
Jean-André Santoni
c4450d29f0 Fix psx scanning, thanks to @aliaspider 2015-09-25 02:38:28 +02:00
Jean-André Santoni
938e89562b Search the ps1 serial in the whole binary 2015-09-25 00:36:12 +02:00
Jean-André Santoni
fea95aa4a1 Finish implementing psx scanning 2015-09-24 14:14:42 +02:00
Jean-André Santoni
0e7018c27d Serial lookup for psx scanning 2015-09-22 15:22:15 +02:00
twinaphex
3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex
f75cdd1e97 (Vita) Fix some warnings about possibly uninitialized variables 2015-09-20 22:44:03 +02:00
twinaphex
3564532564 Create retro_write_file 2015-09-19 00:34:24 +02:00
twinaphex
432aac58a3 Get rid of more fcntl header includes 2015-09-18 04:03:11 +02:00
twinaphex
d74be88d0a (tasks/database_cue.c) Use RFILE 2015-09-17 20:31:04 +02:00
twinaphex
78185be8bf Build fixes 2015-09-16 22:44:16 +02:00
twinaphex
097da7ca9d Add kivutar to copyrights 2015-09-16 22:40:49 +02:00
twinaphex
fad78d8b81 Split up code to task_database_cue.c 2015-09-16 22:39:47 +02:00
Jean-André Santoni
07f362e88d Start adding ps1 scanning 2015-09-16 22:11:08 +02:00
twinaphex
504bea51e0 Cleanups 2015-09-16 10:28:54 +02:00
twinaphex
8ca8b43545 Take out retro_endianness.h include out of retro_miscellaneous.h 2015-09-14 03:34:05 +02:00
Alcaro
9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
Twinaphex
8d2eceaa22 (rpng) Cleanups 2015-09-06 13:02:44 +02:00
twinaphex
f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex
c259b983de struct definitions now go inside rpng_common.h - move them
away from public headers
2015-09-01 13:08:10 +02:00
twinaphex
2194ab6631 Cleanups 2015-09-01 13:01:16 +02:00
twinaphex
511b2c6d83 Create rpng_set_buf_ptr 2015-09-01 13:00:02 +02:00
twinaphex
d5837f4b7c Don't take in as first argument rpng->buff_data - handle this internally 2015-09-01 12:56:39 +02:00
twinaphex
cd79143038 (rpng) Encapsulate incrementation of buffer position 2015-09-01 12:52:04 +02:00
twinaphex
3762502112 Create rpng_is_valid 2015-09-01 12:41:31 +02:00
twinaphex
09aac8a320 Create rpng_nbio_is_valid 2015-09-01 12:39:17 +02:00
twinaphex
15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
twinaphex
31e093dadb (Android) Fix Android build 2015-08-29 17:06:39 +02:00
Alcaro
c05bb6e0c3 Tolerate unset database path. 2015-08-20 19:24:08 +02:00
Alcaro
28b1c9eada Rename this variable, every other instance of it has the same name. 2015-08-20 19:08:07 +02:00
twinaphex
c4ff5e73f1 (task_database.c) Refactor away get_ptr function 2015-08-06 04:14:49 +02:00
twinaphex
52c2e76ec8 (task_http.c) Cleanups 2015-08-06 04:08:20 +02:00
twinaphex
2ea5dda564 Refactor away rarch_main_data_nbio_get_ptr 2015-08-06 04:01:44 +02:00
twinaphex
6b261aad87 rarch_main_data_nbio_iterate_poll - get rid of implicit memset 2015-08-06 03:58:45 +02:00
twinaphex
f967c88ff0 (runloop_data.c) Cleanups 2015-08-06 02:31:50 +02:00
twinaphex
a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex
9185d37710 Bump up collection limit 2015-07-26 00:40:24 +02:00
twinaphex
2dbc3c4b56 (Overlays) Cleanups 2015-07-12 07:12:33 +02:00
twinaphex
f58c171428 (task_overlay.c) Cleanups 2015-07-12 01:19:58 +02:00
twinaphex
2121f7a813 Create overlay->alive 2015-07-11 23:45:23 +02:00
twinaphex
1b163e6a5a Cleanup input_overlay.c 2015-07-11 08:07:14 +02:00
twinaphex
51137d5351 Set pending_scan_finished to false in rarch_main_data_db_uninit 2015-07-09 02:33:46 +02:00
twinaphex
1c406bc098 Add rarch_main_data_pending_scan_finished and other mechanisms
so that the call to menu_environment_cb gets made on main thread
2015-07-09 02:31:46 +02:00
twinaphex
701b5609d4 (task_overlay.c) Using rarch_main_is_idle here is not thread-safe 2015-07-09 01:16:03 +02:00
twinaphex
cdf3ce309e Decouple 'overlay' state from driver_t 2015-07-09 01:10:30 +02:00
twinaphex
387d687ef9 (MSVC) Some MSVC buildfixes 2015-07-09 00:24:10 +02:00
twinaphex
51e2a128c5 (runloop data) Don't have to pass around runloop pointer anymore 2015-07-08 23:01:11 +02:00
twinaphex
c90072df55 Move lock to task_overlay.c 2015-07-08 22:42:45 +02:00
twinaphex
04b98bebd9 Cut down on header includes 2015-07-08 22:14:31 +02:00
twinaphex
000f9650d7 (task_http.c) Get rid of header include 2015-07-08 22:11:45 +02:00
twinaphex
52e2fd1689 Refactor task_database.c 2015-07-08 22:03:23 +02:00
twinaphex
c84ddb53fa (task_databse.c) Refactors 2015-07-08 21:48:58 +02:00
twinaphex
3605b97c80 Create rarch_main_data_http_uninit 2015-07-08 21:38:22 +02:00
twinaphex
dcd5a4fdcc Refactor task_http.c 2015-07-08 21:35:24 +02:00
twinaphex
74627d1497 (task_http.c) Some refactors 2015-07-08 21:18:34 +02:00
twinaphex
84066e1a5d Move all sorts of structs over to task_file_transfer.c 2015-07-08 20:12:20 +02:00
twinaphex
664592b354 Use rarch_main_data_nbio_get_handle and rarch_main_data_nbio_image_get_handle 2015-07-08 20:10:18 +02:00
twinaphex
a1a4bc4057 task_file_transfer.c - decouple 'nbio' state from runloop data struct 2015-07-08 20:04:16 +02:00
twinaphex
08b56582b2 (task_file_transfer.c) Add workaround for bogus file transfer requests 2015-07-08 16:52:40 +02:00
twinaphex
039ba91c48 Add mechanism so that task_database informs the menu driver that
we need to refresh the horizontal list. Kivutar; make the icons
work again after we do a horizontal list refresh
2015-07-08 01:01:41 +02:00
Higor Eurípedes
a3aab2f98e (task_database) Dont call zlib_parse_file_iterate_stop so much 2015-07-05 10:40:51 -03:00
Higor Eurípedes
3cc6e07174 (task_database) Fix leaks when scanning zip files 2015-07-05 10:23:21 -03:00
twinaphex
4b118323d4 Add better place to put EVENT_CMD_CORE_INFO_INIT 2015-07-04 06:35:17 +02:00
Twinaphex
f2e5b969a7 Merge pull request #1886 from fr500/master
make info files reload after a successful download/extraction
2015-07-04 06:31:56 +02:00
radius
da7cf5df8e make info files reload after a successful download/extraction 2015-07-03 23:30:01 -05:00
twinaphex
431169d86b Add 'Update Core Info Files' 2015-07-04 06:18:02 +02:00
twinaphex
38839dc8eb Make 'Download Core Content 'work 2015-07-04 04:01:35 +02:00
twinaphex
d20f110a2f Start adding 'Content Downloader' options 2015-07-04 03:37:43 +02:00
radius
a47ff23546 Revert "make shaders unzip on shader_dir instead of a subdirectory for consistency"
This reverts commit c78cf7dde6.
2015-07-03 09:42:32 -05:00
radius
2836eb976f Merge remote-tracking branch 'upstream/master' 2015-07-02 17:45:12 -05:00
twinaphex
d4dcf784c9 Update msg_hash.c 2015-07-01 19:40:50 +02:00
radius
c78cf7dde6 make shaders unzip on shader_dir instead of a subdirectory for consistency 2015-06-30 21:08:45 -05:00
twinaphex
8bf46e4424 Add call to network_init before setting up http connection 2015-06-28 19:10:36 +02:00
twinaphex
52e99f5417 Hook up 'Update Cg Shaders' and 'Update GLSL Shaders' 2015-06-24 17:56:44 +02:00
twinaphex
90a6932b53 Implement 'Update Databases' 2015-06-24 17:42:31 +02:00
twinaphex
9a991e4852 Implement 'Update Overlays' 2015-06-24 17:37:15 +02:00
twinaphex
d88738e28d Hook up 'Update Cheats' - cheats.zip on buildbot needs to be
updated so that it no longer has a rootsubdir 'cht'
2015-06-24 16:55:18 +02:00
twinaphex
badaae7198 (Menu) Hook up 'Update Autoconfig Profiles' 2015-06-24 16:36:29 +02:00
twinaphex
b2e27a452e Create cb_generic_download 2015-06-24 16:21:58 +02:00
twinaphex
f3814c2b02 (Updater) Implement 'Update Assets' 2015-06-24 16:17:29 +02:00
twinaphex
13a2336231 (Core Updater) Start adding the other update options - stub 2015-06-24 15:12:30 +02:00
twinaphex
272063b351 (Core download) Now removes ZIP file after extracting archive 2015-06-24 14:44:21 +02:00
twinaphex
5d576ce61d (task_database.c) Use fill_pathname_join_delim in task_database.c 2015-06-22 19:51:13 +02:00
twinaphex
5f67c53e6a Use fill_short_pathname_representation 2015-06-22 19:39:56 +02:00
twinaphex
2057e0f1d7 (task_file_transfer.c) Cleanup 2015-06-19 07:00:16 +02:00
Jools Wills
83efc830e4 fix compilation with --disable-threads
fixes this error

tasks/task_overlay.c: In function ‘rarch_main_data_overlay_iterate’:
tasks/task_overlay.c:92:1: error: label at end of compound statement
2015-06-17 20:18:15 +01:00
twinaphex
b08c399d3b (task_database.c) Fix some warnings 2015-06-15 22:48:41 +02:00
twinaphex
a86977de3a (tasks) Use hashes 2015-06-14 17:11:48 +02:00
twinaphex
25372dfb56 (task_database.c) Refactor to not use strcmp 2015-06-14 16:59:38 +02:00
Higor Eurípedes
dba40157e3 (task_file_transfer.c) Attempt to fix rpng_nbio leak 2015-06-12 18:21:11 -03:00
twinaphex
a10cdfa8b1 (tasks) Cleanups 2015-06-12 22:37:06 +02:00
Higor Eurípedes
85800a81b6 (task_database.c) Use a query for faster CRC scanning 2015-06-10 14:51:26 -03:00
Higor Eurípedes
4d23fd211c (libretro-db) Store CRC32 as uint32_t 2015-06-09 20:21:14 -03:00
twinaphex
b321c38d62 (task_database.c) If 0 out some excessive logging 2015-06-09 21:10:57 +02:00
twinaphex
9487def760 (task_database.c) We can now scan individual files 2015-06-09 19:38:51 +02:00
Twinaphex
ba0e25dd88 Rename database_info_init to database_info_dir_init 2015-06-09 18:53:18 +02:00
twinaphex
29e3f5ff66 Expand playlist format - rename it to 'lpl' 2015-06-08 23:38:03 +02:00
twinaphex
2cfa890a58 Move code over to task_http.c 2015-06-08 11:10:12 +02:00
twinaphex
1b67864a3b Change menu_driver_load_background to menu_driver_load_image 2015-06-04 10:39:48 +02:00
twinaphex
959fd621a5 Create cb_menu_boxart 2015-06-04 10:02:43 +02:00
twinaphex
0cfeff8e1e Cleanups 2015-06-02 18:28:51 +02:00
twinaphex
4a37c4e020 Remove duplicate strcasestr 2015-06-02 16:49:35 +02:00
twinaphex
0a6be4c82e (task_database.c) Fix database_info_iterate_start for Windows 2015-05-28 08:57:50 +02:00
twinaphex
fe5880355d database_info_list_iterate_next - set db_state->info to NULL
after freeing
2015-05-28 02:55:39 +02:00
twinaphex
8bde46deb9 Free db_state->info first in database_info_list_iterate_new 2015-05-28 01:25:42 +02:00
twinaphex
0e23908b78 (Task database) Should fix ZIP playlist scanning 2015-05-27 07:23:09 +02:00
twinaphex
65b8b2e0cb (Database dir scanning) Can now add ZIP entry to collection 2015-05-27 04:42:22 +02:00
twinaphex
d72df8492b (Task database) Compare first entry of ZIP file 2015-05-27 03:23:27 +02:00
twinaphex
aa56b8e1e3 (Task database) Start using zlib_parse_file_iterate in task_database.c 2015-05-27 01:36:15 +02:00
twinaphex
d33ee0ca90 (task_database.c) Update TODO notes 2015-05-26 09:04:57 +02:00
twinaphex
c94e29ed02 Create rarch_strcasestr 2015-05-26 02:31:29 +02:00
twinaphex
d275f8dd8f Database dir scanning now creates 'rpl' (retroarch playlist) files 2015-05-26 00:25:07 +02:00
twinaphex
8fb8887c34 Create new playlist format 2015-05-26 00:12:49 +02:00
twinaphex
e05c0ab4f4 Set 'display name' to crc 2015-05-25 21:39:50 +02:00
twinaphex
350a33a4ae Start implementing database_info_list_iterate_found_match 2015-05-25 18:46:36 +02:00
Twinaphex
1a85dfe60a (Database) Remove some unused variables 2015-05-25 10:04:54 +02:00
twinaphex
0242b38c12 (task_database.c) Cleanups 2015-05-25 07:54:44 +02:00
twinaphex
23299eb74d (task_database.c) Do string compare of CRC 2015-05-25 07:34:42 +02:00
twinaphex
0f58ad0e4e (Task database) Experimental database scanning 2015-05-25 07:05:00 +02:00
twinaphex
76e1c2d965 database_info_iterate_crc_lookup - cleanup 2015-05-25 05:36:23 +02:00
twinaphex
32412ab918 Simplify rarch_main_data_db_cleanup_state 2015-05-25 03:46:03 +02:00
twinaphex
befa2f111c Create database_info_iterate_crc_lookup 2015-05-25 03:20:43 +02:00
twinaphex
3c6dd65208 Pass db_state to zlib_parse_file 2015-05-24 08:06:29 +02:00
twinaphex
566eb771ba Refactor db_state code 2015-05-24 08:04:13 +02:00
twinaphex
07019909f3 (task_database.c) Start creating directory list of database entries
to browse over
2015-05-24 07:36:30 +02:00
twinaphex
a7c124e68f Add DATABASE_STATUS_ITERATE_BEGIN 2015-05-24 06:14:44 +02:00
twinaphex
344fe41c53 Create static function rarch_main_data_db_cleanup 2015-05-23 22:52:22 +02:00
twinaphex
c4becceb96 Refactor database_info_iterate 2015-05-23 22:46:23 +02:00
twinaphex
0f4d71477e Dehardcode database_info_poll 2015-05-23 22:07:59 +02:00
twinaphex
3de904cb78 Create DATABASE_STATUS_ITERATE_START 2015-05-23 21:56:29 +02:00
twinaphex
62de3336f5 (task_database.c) Call snprintf just once 2015-05-23 21:18:59 +02:00
twinaphex
9102ae125b Call rarch_main_msg_queue_push just once 2015-05-23 21:17:32 +02:00
twinaphex
938edba8b3 Add 'Scanning' message to ZIP file 2015-05-23 21:07:45 +02:00
twinaphex
74bea2c6e2 Add DATABASE_STATUS_ITERATE_NEXT 2015-05-23 20:53:43 +02:00
twinaphex
7696d55047 (Database) cleanup 2015-05-23 19:18:56 +02:00
twinaphex
e5e9e80cfb Reimplement MENU_ACTION_TESTx 2015-05-23 18:45:58 +02:00
twinaphex
e8691eb4d6 Move db.handle to runloop_data.h 2015-05-23 18:13:23 +02:00
twinaphex
ba6c563b83 (task_database) Small cleanup 2015-05-23 18:08:42 +02:00