Commit Graph

3888 Commits

Author SHA1 Message Date
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
twinaphex
b434689d39 (Win32) Buildfixes 2015-11-23 12:14:53 +01:00
Twinaphex
5974f81ed8 (OSX) Buildfixes 2015-11-23 12:07:00 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex
6f0425bdc3 Make calls to event_command(EVENT_CMD_LOG_FILE_DEINIT) 2015-11-22 22:04:33 +01:00
twinaphex
8a16897aea Update verbosity checks 2015-11-22 21:55:06 +01:00
Twinaphex
0223290fad Revert "(iOS) Use the sandboxed Documents directory"
This reverts commit 13b8b957b2.
2015-11-19 02:38:33 +01:00
twinaphex
00127979d2 (XDK) Buildfix 2015-11-18 14:27:27 +01:00
twinaphex
9d98bfbe6b (GX) Move defines to defines/gx_defines.h 2015-11-18 12:55:28 +01:00
twinaphex
a4ae655ff4 Start going through rarch_main_ctl for grabbing fullpath 2015-11-18 11:43:25 +01:00
twinaphex
13b8b957b2 (iOS) Use the sandboxed Documents directory 2015-11-18 03:27:50 +01:00
twinaphex
50c00b5172 (platform_xdk.cpp) Remove RARCH_LOG 2015-11-17 22:51:50 +01:00
twinaphex
406d37eb88 Convert xdk360_fonts.c to C++ 2015-11-17 22:48:11 +01:00
twinaphex
81ab687713 (platform_xdk.h) Buildfixes 2015-11-17 22:28:05 +01:00
twinaphex
ff03f83994 (Xbox 1) Some preliminary build fixes 2005-04-23 20:22:55 +02:00
twinaphex
2fd6843a18 (XDK) Buildfixes 2015-11-17 11:35:46 +01:00
twinaphex
b4432f7a0c (GX) Rename to official SDK functions through macros 2015-11-15 20:22:19 +01:00
twinaphex
e4ba9efae1 Should fix Wii boot.dol regression - apparently some problem
with retro_file ?
2015-11-15 03:13:34 +01:00
aliaspider
bf407606bc (3DS) allow reading content path from argv. 2015-11-14 22:21:24 +01:00
twinaphex
91192f4aca Make popen no longer Android-specific 2015-11-14 19:53:54 +01:00
twinaphex
e5af70e091 system_property_get - add goto error 2015-11-14 19:52:12 +01:00
twinaphex
63924971aa (Android) Refactor away system_property_get_density - make regular calls to
system_property_get instead
2015-11-14 19:22:33 +01:00
aliaspider
dfe5c33f34 (3ds) set a default video filter dir. 2015-11-12 15:15:40 +01:00
twinaphex
ea189e5fe5 Remove main_exit_save_config 2015-11-11 02:58:21 +01:00
twinaphex
38f30c8f10 Add Save Current Config to Menu 2015-11-11 02:57:20 +01:00
thedax
b46ae033ab 3DS: Fix compilation for great-refactor.
exitCfgu/initCfgu changed to cfguInit/cfguExit.
2797540a3d
2015-11-09 15:23:36 -05:00
Andre Leiradella
b6f995a1d7 moved the async job queue to the global_t scope 2015-11-08 22:53:17 -02:00
aliaspider
9d17abf131 (3ds) fix service calls enabling hack for new 3DS. 2015-11-05 06:11:39 +01:00
aliaspider
d262361b97 (3DS) enable access to all service calls when possible. 2015-11-04 15:27:30 +01:00
Andrés
d638a12c87 Merge pull request #2328 from aliaspider/master
(3DS) implement dynamic memory management.
2015-11-01 19:27:27 -05:00