Commit Graph

3917 Commits

Author SHA1 Message Date
Alcaro b4c6831b56 No need to copy that argument.
The copy also lacked the NUL terminator, wouldn't surprise me if it crashed. Let's just clean it up.
2016-03-22 00:01:25 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
radius 160118ff6c fix android build error 2016-03-17 20:31:33 -05:00
radius e02cc9ae5f make xmb default on atv 2016-03-17 20:10:03 -05:00
radius 6df0249d3e make xmb default on atv 2016-03-17 20:08:00 -05:00
Alwin Garside 97b60b1e20 Fixed emscripten build 2016-03-13 15:30:30 +01:00
twinaphex 75c05a5d7f Do away with no_content member 2016-03-02 06:20:36 +01:00
twinaphex c3f3207b0d Cleanups 2016-02-25 19:33:46 +01:00
Twinaphex 0bbac8da97 Silence unused variable warning 2016-02-21 13:10:49 +01:00
twinaphex 46cc21029b Add CONTENT_CT_LOAD 2016-02-16 05:34:33 +01:00
twinaphex d4846b9021 Refactor content_load 2016-02-15 04:04:14 +01:00
twinaphex b4b50d1972 Create content_push_to_history_playlist 2016-02-15 03:56:10 +01:00
twinaphex a10fae4e8b Move main_load_content to content.c 2016-02-15 01:22:28 +01:00
netux79 a2851ab70b (GX) Resolution Saving's Video Corruption Fix.
Also some cleanups for the RA GX version included.
2016-02-12 16:58:59 -05:00
twinaphex e2e1471946 Only attempt to create default directories if they don't already
exist
2016-02-11 02:25:16 +01:00
twinaphex 3c2f7fadcc (GX) Fix 'Restart RetroArch' 2016-02-07 00:04:19 +01:00
twinaphex 609fa8394e (GX) Fix FRONTEND_FORK_CORE when game has already been selected 2016-02-06 18:18:17 +01:00
twinaphex 24354f477e (GX) Fix FRONTEND_FORK_CORE_WITH_ARGS 2016-02-06 18:06:49 +01:00
twinaphex f29c61bacc (Linux) Restarting of core in non-HAVE_DYNAMIC mode now properly
implemented
2016-02-05 19:16:35 +01:00
twinaphex 8c2ed9f750 Rename FRONTEND_FORK_SALAMANDER_RESTART to FRONTEND_FORK_RESTART
and call FRONTEND_FORK_CORE instead of FRONTEND_FORK_RESTART
when selecting a core from 'Load Core' list
2016-02-05 18:57:44 +01:00
twinaphex 6a64ab1137 (platform_linux.c) Try to stay within 80-char width limit 2016-02-05 18:53:01 +01:00
twinaphex 6130f20d47 (XDK) Reimplement fork mode 2016-02-05 18:47:27 +01:00
twinaphex 17f885d158 (PSP) Refactor fork mode 2016-02-05 18:43:23 +01:00
twinaphex 9e497c1b11 (PS3) Reimplement set_fork_mode 2016-02-05 18:40:24 +01:00
twinaphex d59ffbdd2c (GX/Untested) Reimplement set fork mode 2016-02-05 18:34:28 +01:00
twinaphex 5f3ae10f20 (Linux) Reimplement fork mode functionality 2016-02-05 17:58:50 +01:00
twinaphex d9113b8bc4 (Linux non-HAVE_DYNAMIC) Can now exit properly 2016-02-05 17:44:51 +01:00
twinaphex 58219f897a Dehardcode frontend_linux_exec 2016-02-04 18:28:42 +01:00
twinaphex be94309808 Use execv - seems to work 2016-02-04 17:56:34 +01:00
twinaphex 7a5db5a73a Reimplement frontend_driver_set_fork 2016-02-04 17:46:50 +01:00
twinaphex 332f48f2df Hardcode path for now as a test 2016-02-04 17:28:58 +01:00
twinaphex 84c3b5a546 Implement frontend_linux_exitspawn 2016-02-04 17:16:15 +01:00
twinaphex c3c14c162e Change signature of set_fork so that we can optionally implement
restarting RetroArch (or not)
2016-02-04 17:08:09 +01:00
twinaphex 8709657d4d Start implementing frontend_linux_exec 2016-02-04 14:10:29 +01:00
twinaphex 4d8e579779 Add 'elf' as executable extension for Linux when compiling with
non-HAVE_DYNAMIC
2016-02-04 12:52:49 +01:00
twinaphex ea28f992ac Refactor frontend_driver_set_fork 2016-02-04 11:44:10 +01:00
twinaphex a332643003 (Linux) Start adding frontend_linux_set_fork for non-HAVE_DYNAMIC 2016-02-04 11:25:13 +01:00
twinaphex f70a082626 Create event_cmd_exec - get rid of libretro_private.h 2016-02-03 16:58:06 +01:00
twinaphex cca999ecc7 Remove warning 2016-02-03 15:39:44 +01:00
twinaphex d1957789bc (GX) Dehardcode some code here 2016-02-03 15:38:28 +01:00
twinaphex 4a3263986b Style nits 2016-02-03 15:30:17 +01:00
twinaphex 674f17485d (CTR) Fix build 2016-02-03 15:27:31 +01:00
twinaphex d1097ed967 (PSP1) Buildfix 2016-02-03 15:26:35 +01:00
twinaphex 7e4f17ef8d (PS3) Fix build 2016-02-03 15:23:13 +01:00
twinaphex 2f6f7d9308 (Gamecube) Silence warnings 2016-02-03 14:42:40 +01:00
twinaphex 321690b416 Refactors to do with set_fork method 2016-02-03 14:36:34 +01:00
twinaphex 0e7729c660 Create frontend_driver_get_salamander_basename 2016-02-03 13:36:00 +01:00
twinaphex 9a5ce5fdb3 Make HAVE_LIBRETRO_MANAGEMENT define obsolete 2016-02-03 12:31:29 +01:00
twinaphex fbf6b01209 Add frontend_driver_has_fork 2016-02-03 11:56:01 +01:00
twinaphex f5b7add383 Cleanups 2016-01-30 05:21:05 +01:00
twinaphex 8670c2e405 Create RARCH_CTL_MAIN_INIT and RARCH_CTL_MAIN_DEINIT 2016-01-30 05:03:15 +01:00
twinaphex 4456cb85f6 (Android) Use strstr for detecting devices by name 2016-01-29 10:56:05 +01:00
twinaphex d9d0c0f842 Cleanup 2016-01-28 08:49:39 +01:00
twinaphex 5cf576e2da Remove duplicate line 2016-01-26 09:30:51 +01:00
twinaphex fd94cbdefe Move rarch_main_init_wrap to frontend.c and turn it into
a static function
2016-01-25 05:45:37 +01:00
twinaphex d71c782459 Start getting rid of RETRO_ENVIRONMENT_SET_LIBRETRO_PATH 2016-01-25 03:04:42 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex a767031651 Use string_is_equal in more places 2016-01-20 04:11:25 +01:00
twinaphex 1eac61e9a0 Create RARCH_CTL_IS_DUMMY_CORE 2016-01-19 23:44:32 +01:00
twinaphex 01d58f8681 Create RARCH_CTL_IS_INITED, RARCH_CTL_SET_INITED, RARCH_CTL_UNSET_INITED 2016-01-19 23:26:47 +01:00
twinaphex a5af9b653a Turn global->content.inited into static local variable
and go through content_ctl
2016-01-19 22:57:18 +01:00
twinaphex 32d47d7bd2 Correct database paths 2016-01-18 15:29:47 +01:00
aliaspider 0b4fd4328d - add more heuristics to try to clean up the corrupted argv when using
the homebrew launcher.
- force align the stack pointer to 8 bytes.
- add --gc-sections to the link specs
2016-01-15 22:30:12 +01:00
twinaphex 3d74e7bda9 (OSX) Update paths for databases/cursors 2016-01-14 16:24:53 +01:00
twinaphex 885f4d5b05 (iOS) Change paths 2016-01-14 15:32:20 +01:00
Twinaphex bd07d88184 (OSX) Cleanup 2016-01-14 12:26:23 +01:00
twinaphex 2182fb9b13 (OSX) Fix Gestalt OSX version major/minor detection 2016-01-14 12:24:56 +01:00
twinaphex 65a3df278d Cleanup 2016-01-13 20:52:02 +01:00
Twinaphex aac630a021 (OSX) Implement OSX version number detection 2016-01-13 20:48:56 +01:00
Twinaphex f1923f9a84 (OSX) Fix frontend_darwin_get_name 2016-01-13 20:32:42 +01:00
twinaphex 08bca9017e Silence unused variable warning 2016-01-13 13:00:25 +01:00
twinaphex 457ce1ddf0 Add param to set_fork - for restart 2016-01-13 11:16:03 +01:00
twinaphex 028cfaa048 Attempt to fix 'Restart RetroArch' - move code to platform_gx.c 2016-01-13 08:43:08 +01:00
twinaphex 8caee50fcd (GX) Add way to handle power callback 2016-01-13 08:27:58 +01:00
twinaphex 27b84d349f N/A 2016-01-13 07:05:57 +01:00
twinaphex aa9f9004c5 Cleanups 2016-01-13 07:03:14 +01:00
twinaphex 772558921f Cleanups 2016-01-13 07:01:29 +01:00
twinaphex 58f01fed90 Cleanup 2016-01-13 06:59:01 +01:00
twinaphex 8fbd59b690 Cleanups 2016-01-13 06:38:20 +01:00
twinaphex 8257cb638a Remove this header 2016-01-13 06:32:57 +01:00
twinaphex 06812cc988 (PS3) Setup default RDB dir 2016-01-12 09:01:57 +01:00
twinaphex c9dd3ca621 Cleanup 2016-01-11 07:15:57 +01:00
twinaphex d3c82f433b Add more logs 2016-01-10 13:23:02 +01:00
twinaphex eeb7a33e7b Set extract_version_current instead of extract_version_last 2016-01-10 09:48:27 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
Twinaphex 948544ec42 Start setting up bundle assets extraction - looks for an assets.zip file 2016-01-10 02:21:35 +01:00
twinaphex 243487dd56 N/A 2016-01-10 01:53:45 +01:00
twinaphex 814838badf N/A 2016-01-10 01:52:54 +01:00
twinaphex fdb5f10c71 Check for assets.zip inside bundle 2016-01-10 01:48:41 +01:00
twinaphex 59cdd64267 (platform_wii.c) Remove this line 2016-01-02 20:14:36 +01:00
twinaphex 624ed06a37 Cleanups 2016-01-02 01:38:02 +01:00
twinaphex c7eeb557fa (frontend) Start using string_is_empty 2015-12-26 07:45:19 +01:00
ctult cebb95b0e3 a bit of static analysis
possible memory leaks and null pointer dereferences
2015-12-24 23:04:15 -07:00
twinaphex 7a3df7cd90 remove this obsolete code 2015-12-25 06:20:53 +01:00
twinaphex 8b130b3866 Add RETRO_SIMD_POPCNT and RETRO_SIMD_MOVBE 2015-12-25 06:14:57 +01:00
twinaphex 8ecae597e9 reuse x86_cpuid from performance.c 2015-12-25 06:10:29 +01:00
twinaphex 8da07f277b Fix some bad typos from Google engineers 2015-12-25 06:03:16 +01:00
aliaspider 40ac911a05 build fix. 2015-12-24 21:17:44 +01:00
twinaphex f2911269d5 Create driver_ctl 2015-12-11 10:43:53 +01:00
twinaphex a8c6fc150b Add RUNLOOP_CTL_DATA_ITERATE 2015-12-11 10:17:18 +01:00
twinaphex fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex 23c13c0043 Delay reinit, gets rid of the remaining concurrency errors 2015-12-09 20:30:55 +01:00
twinaphex 94e1148d51 Cleanups 2015-12-09 20:15:55 +01:00
twinaphex 5ac4a8b3f6 Remove APP_CMD_DEAD 2015-12-09 20:10:22 +01:00
twinaphex 959b781c06 (Android) Implement input_alive 2015-12-08 13:47:46 +01:00
twinaphex 5b1e1592cb Rename rarch_main_iterate and rarch_main_data_iterate 2015-12-07 15:22:36 +01:00
twinaphex 8ab15e7ef8 Create RARCH_CTL_DESTROY 2015-12-07 15:03:54 +01:00
twinaphex cad237231e Create RARCH_CTL_PREINIT 2015-12-07 15:01:53 +01:00
twinaphex c62f6ed26d Create RARCH_CTL_DEINIT and RARCH_CTL_INIT 2015-12-07 14:59:09 +01:00
twinaphex 0d52b8ec3a Header include nits 2015-12-06 22:48:57 +01:00
twinaphex f54476fdd8 Remove unused variables 2015-12-06 18:39:48 +01:00
twinaphex d33f0b5239 Don't make async_jobs dependent on global state anymore 2015-12-06 18:37:57 +01:00
Higor Eurípedes aa08f3ba58 (frontend.c) Fix async job leak 2015-12-06 14:28:06 -03:00
twinaphex a3033c2f66 Buildfixes 2015-12-06 18:12:49 +01:00
twinaphex 783881941a Create menu_driver_ctl 2015-12-05 13:00:45 +01:00
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex 63c12b0083 Don't include ui_companion_driver.h inside driver.h 2015-12-05 10:04:06 +01:00
twinaphex de97726323 Take out ui companion state from driver_t 2015-12-05 10:01:20 +01:00
twinaphex 29dcf06a2e Move ui_companion_driver code all to ui_companion_driver.c 2015-12-05 09:55:13 +01:00
twinaphex 4cad9deb81 (frontend_driver.c) Buildfix 2015-12-05 09:13:14 +01:00
twinaphex 70e5283d66 no longer make frontend driver dependent on driver_t 2015-12-05 09:06:43 +01:00
twinaphex c36b8e1ae9 Don't touch driver->frontend outside of frontend_driver.c anymore 2015-12-05 08:52:01 +01:00
twinaphex f16fc89b1b Replace more driver->frontend instances 2015-12-05 08:36:16 +01:00
twinaphex 5ed7c3abed Simplify call to main_load_content 2015-12-05 08:10:01 +01:00
twinaphex 26cd1a3702 Create frontend_driver_set_fork 2015-12-05 07:57:45 +01:00
twinaphex f38cdd1a64 Create frontend_driver_content_loaded 2015-12-05 07:53:02 +01:00
twinaphex c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex 923433ead7 Move engine_handle_dpad code to android_input.c - copy
hat and analog state to intermediary on android_app during
poll time
2015-12-02 22:33:27 +01:00
twinaphex e859fae4ee (Android) Move sensorManager and sensorEventQueue to android_app 2015-12-02 21:38:21 +01:00
twinaphex b7d7dcef1c Expand android_app 2015-12-02 19:28:15 +01:00
twinaphex d6b5dd6ac4 Flesh out android_native_app_glue.c implementation some more 2015-12-02 17:46:20 +01:00
twinaphex 986e4bf40d (Android) Native activity updates 2015-12-02 08:54:24 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
twinaphex 5d52f4856a Get rid of INLINE qualifier for some functions 2015-11-30 05:13:12 +01:00
twinaphex 99d3ddf998 Cleanups 2015-11-29 02:02:34 +01:00
twinaphex 383f24005e Fixup other platform's Salamander versions 2015-11-29 01:59:41 +01:00
twinaphex ac6b705666 (PS3) Buildfix 2015-11-29 01:58:15 +01:00
twinaphex 6a6b230d8e (Wii) Fixups 2015-11-29 01:57:16 +01:00
radius f7b3059dcd change default filter location 2015-11-27 22:01:26 -05:00
twinaphex da8c36b0c3 Don't need sleeping argument anymore for rarch_main_data_iterate 2015-11-28 03:26:01 +01:00
twinaphex a1226004f5 Revert "Don't render menu if unfocused - reimplement this"
This reverts commit ce7ec0681b.
2015-11-28 03:05:37 +01:00
twinaphex ce7ec0681b Don't render menu if unfocused - reimplement this 2015-11-28 03:03:26 +01:00
twinaphex 99ca95a100 (Android) Buildfix 2015-11-28 00:16:31 +01:00
twinaphex f95be06f13 Buildfix 2015-11-27 23:39:43 +01:00
twinaphex a8d868f187 (Android) Implement 'focused' callback for androidegl_ctx 2015-11-27 20:38:29 +01:00
twinaphex 86f0bdd3d8 ifdef certain code with HAVE_LIBRETRODB 2015-11-23 23:45:01 +01:00
twinaphex a9cb970d0d Move log_file code to verbosity.c 2015-11-23 15:45:02 +01:00