Commit Graph

3936 Commits

Author SHA1 Message Date
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
aliaspider
8741ec48d5 (3DS) implement dynamic memory management.
heap/linear heap and stack sizes can now change dynamically at runtime,
depending on usage, no need to specify those on a per-core basis
anymore.
2015-11-02 01:24:11 +01:00
twinaphex
7091e23254 (PS3) Copy GLUI/XMB assets 2015-11-01 11:28:25 +01:00
twinaphex
61a67f0938 Cleanups 2015-10-31 21:41:31 +01:00
twinaphex
f8fae2914f (iOS) Should set buildbot_server_url to correct URL now if iOS 9 is detected 2015-10-31 17:54:31 +01:00
aliaspider
39c5b683b8 (3DS) auto-extract /3ds/dspfirm.cdc from /3ds/code.bin when needed/ 2015-10-27 19:50:39 +01:00
Twinaphex
0447c1b442 Merge pull request #2293 from aliaspider/master
(3DS) - add an audio driver using the DSP.
2015-10-27 01:38:38 +01:00
aliaspider
aeeb2a62d6 (3DS) - add an audio driver using the DSP.
- add some hooks to inspect memory usage.
2015-10-27 01:06:34 +01:00
twinaphex
0dc9c8df95 Rename extraction_directory to cache_directory 2015-10-27 00:48:35 +01:00
aliaspider
04c79791e8 (CTR/3DS) fix for hbl 2.5 2015-10-26 04:58:39 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
aliaspider
ac119b04f6 (CTR/3DS) improve memory management.
- use a custom crt0 to allow overriding __heap_size and
__linear_heap_size
- add a setting for maximum heap size. unallocated memory can be freely
mapped by the core.
- add better detection of the extra memory available when running from
the HBL.
2015-10-22 20:35:22 +01:00
Twinaphex
9302ce939b Only use RELEASE_BUILD on OSX 2015-10-21 23:40:23 +02:00
aliaspider
9fbb790404 (CTR/3DS) heap_size can't be bigger than 0x6000000. 2015-10-21 01:38:04 +01:00
Twinaphex
6fc6f681f5 Merge pull request #2270 from aliaspider/master
(CTR/3DS) allow changing cpu speed on n3DS at runtime.
2015-10-21 01:11:22 +02:00
aliaspider
3e4f38a38e (CTR/3DS) allow changing cpu speed on n3DS at runtime.
set cpu speed to max by default.
2015-10-20 23:52:52 +01:00
Twinaphex
257fed3228 Merge pull request #2264 from aliaspider/master
(CTR/3DS) update
2015-10-20 17:32:47 +02:00
aliaspider
8cc805c38a (CTR/3DS) reduce memory usage.
build fix.
2015-10-20 12:34:53 +01:00
radius
a0fe04ead5 cleaner implementation of save file / save state sorting 2015-10-19 19:55:41 -05:00
Andrés
93696ad8bc Update platform_darwin.m 2015-10-19 15:48:50 -05:00
twinaphex
776707577b Use menu_entries_push 2015-10-17 17:14:41 +02:00
jakcron
e798377492 (CTR/3DS) Enabled access to more memory.
o3DS can get access to 80MB max, and n3DS can get access to 124MB
(actually 110MB due to ctrulib issues). Since 80MB triggers a reboot for
o3DS, it is only set in titles that need it.
2015-10-17 14:13:07 +08:00
Francisco Jose Garcia Garcia
398ba9e42a (Vita) Fixes #2216 - exiting back to the homebrew menu 2015-10-06 11:56:17 +02:00
aliaspider
b7be1862a3 (CTR/3DS) increase the default size of the linear heap.
makefile: allow changing stack/linear heap size without requiring a
clean.
2015-10-05 21:45:17 +01:00
aliaspider
b9978317cc (CTR/3DS) video driver: increase texture width. 2015-10-04 19:22:23 +01:00
twinaphex
3fb709ef4c Remove unused variable 2015-10-03 22:05:59 +02:00
Twinaphex
b1f946ea75 Merge pull request #2208 from fr500/master
don't use $HOME/downloads or $HOME/pictures
2015-10-03 21:59:08 +02:00
aliaspider
71efe15bce (CTR/3DS) don't turn off the LCD for 2DS models. 2015-10-03 19:37:01 +01:00
radius
a92dfd4668 fix downloads dir 2015-10-03 11:30:13 -05:00
radius
300617b190 set defaults always to XDG dirs 2015-10-03 11:24:44 -05:00
radius
1f52b81a28 add screenshot dir 2015-10-03 11:24:17 -05:00
radius
13f2cce9a1 check for default dirs after loading config 2015-10-03 11:10:36 -05:00
radius
8556fe08f5 fix some nits 2015-10-03 11:10:00 -05:00
radius
7798be9f6e [android] add a default config dir 2015-10-03 10:56:19 -05:00
aliaspider
6528c71e3a (CTR/3DS) don't query APPMEMALLOC when started from the HBL. 2015-10-02 01:45:34 +01:00
aliaspider
5e05ad443a (CTR/3DS) allow access for more RAM. (.cia builds only)
124MB are used by default for n3DS.
80MB can be used on o3DS with a build option.
2015-10-01 23:18:59 +01:00
aliaspider
63ab3b02b8 (CTR/3DS) shut down the LCD backlight when toggling the buttom display
off.
courtesy of @thedax.
2015-10-01 18:12:59 +01:00
radius
d4a8d97ed3 [windows] build fix 2015-09-29 21:44:38 -05:00
twinaphex
084217fa42 (win32) Move gfx_set_dwm call 2015-09-29 03:19:48 +02:00
Francisco José García García
7fa6a796be (Vita) First Networking Code and Download Overlays 2015-09-29 00:40:53 +02:00
twinaphex
02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
Twinaphex
b1f6c88626 Merge pull request #2177 from aliaspider/master
(CTR/3DS) update
2015-09-28 16:21:57 +02:00
twinaphex
a79b571d7b Static code analysis fixes 2015-09-28 16:20:26 +02:00
aliaspider
e2037c477e (CTR/3DS) build fix. 2015-09-28 14:55:23 +01:00
twinaphex
f22436e39f Possible ARM Linux buildfix 2015-09-24 23:11:24 +02:00
twinaphex
364034f1b2 (Vita) Remove unused variable 2015-09-24 21:27:36 +02:00
radius
0e69f5bcb0 workaround to disable OSD fonts without restarting 2015-09-24 00:33:25 -05:00
twinaphex
5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
twinaphex
3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
aliaspider
4c34badf8b (CTR/3DS) improve memory management.
only stacksize and linear heap size need to be specified now.
regular heap size will be determined automatically.
2015-09-20 21:46:10 +01:00
twinaphex
7ad32fc8aa (XDK) Move files around 2015-09-20 15:39:59 +02:00
twinaphex
919220751c (PSP) Move files around 2015-09-20 15:33:54 +02:00
twinaphex
07f5d2e399 (Wii) Buildfixes 2015-09-20 15:03:49 +02:00