Commit Graph

4767 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
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
Francisco José García García 78c90d8bb2 (Vita) Increase heap size 2015-09-20 13:07:12 +02:00
Andrés 88db140c32 Merge pull request #2146 from aliaspider/master
(CTR/3DS) fix build.
2015-09-20 01:58:27 -05:00
aliaspider a5b61354f0 (CTR/3DS) fix build. 2015-09-20 07:48:16 +01:00
Andrés 53741a8252 Merge pull request #2145 from aliaspider/master
(CTR/3DS) memory allocation can now be configured from the makefile.
2015-09-20 01:33:16 -05:00
aliaspider d968731c70 (CTR/3DS) memory allocation can now be configured from the makefile.
defaults to 48MBytes for the heap instead of 24MBytes.
2015-09-20 07:28:11 +01:00
Francisco José García García 06a9b8c441 (Vita) Fix remaps and cheats dirs 2015-09-19 17:31:25 +02:00
twinaphex 57cf177286 (Wii) Use retro_read_file 2015-09-19 12:34:52 +02:00
Twinaphex 6ca5145150 Merge pull request #2139 from aliaspider/master
(CTR/3DS) update
2015-09-19 12:26:44 +02:00
aliaspider e2c9b19faa (CTR/3DS) implement some missing toolchain functions required by some
cores.
will be moved to a seperate file later.
2015-09-19 11:12:48 +01:00
twinaphex 2945bb9f50 (Android) Buildfix 2015-09-19 04:37:38 +02:00
twinaphex 958dcc3c02 Get rid of retro_fmemcpy - and use retro_read_file 2015-09-19 01:03:52 +02:00
twinaphex 71c54c607c (Linux/sysfs) Don't need to iterate ac_adapter 2015-09-18 21:22:06 +02:00
twinaphex 270ec2403c Take out printf 2015-09-18 21:19:54 +02:00
twinaphex 1ea6c2691a (platform_linux.c) Fix path for sysfs_ac_adapter 2015-09-18 21:19:33 +02:00
twinaphex 08456c8541 Remove fcntl header includes from more files 2015-09-18 02:48:15 +02:00
Twinaphex 4784371a90 Revert "[WIP] don't create default folders if other folders are set already" 2015-09-17 22:05:14 +02:00
Twinaphex 2f1e3e4cf3 Merge pull request #2131 from fr500/master
[WIP] don't create default folders if other folders are set already
2015-09-17 22:04:19 +02:00
Jorge Suarez 978205c8c0 [all] verify if paths are already configured before creating defaults 2015-09-17 15:00:47 -05:00
Jorge Suarez 6aad439160 [all] verify if paths are already configured before creating defaults 2015-09-17 14:59:39 -05:00
twinaphex 82e15d1377 CLeanups/fixes 2015-09-17 20:24:49 +02:00
twinaphex 2b2767017c (platform_linux.c) CXX_BUILD fix 2015-09-17 10:14:57 +02:00
twinaphex a8acf720dd Properly implement cpu_inited_once 2015-09-16 11:17:52 +02:00
twinaphex 2ea2c90983 (platform_linux.c) Get rid of pthread_once usage 2015-09-16 09:28:25 +02:00
twinaphex 92a566e87f (platform_linux.c) Refactor - create load_generic_file 2015-09-16 07:38:23 +02:00
twinaphex 458a0f3a27 Merge performance_linux.c with platform_linux.c 2015-09-16 05:42:16 +02:00
twinaphex 842c580028 Stub commit 2015-09-15 21:53:14 +02:00
twinaphex 95a7331d01 Remove reference to frontend_ctx_android 2015-09-15 21:07:27 +02:00
twinaphex 8116d118dd (Android/Linux) platform_linux.c now also used for Android 2015-09-15 20:43:54 +02:00
twinaphex e314cc3dce (platform_linux.c) cleanups 2015-09-15 20:12:59 +02:00
Twinaphex cf178fc63a Merge pull request #2120 from fr500/master
[linux] fix cheats dir
2015-09-15 20:09:19 +02:00
Jorge Suarez 0273c36039 [linux] fix cheats dir 2015-09-15 13:08:16 -05:00
Twinaphex 2cdc055c67 Merge pull request #2118 from fr500/master
Linux, implement sane default paths
2015-09-15 20:06:33 +02:00
twinaphex 04c7069f2a (platform_android.c) Cleanups 2015-09-15 19:41:47 +02:00
twinaphex 81302d56cf (platform_android.c) Indenting nits 2015-09-15 19:39:06 +02:00
twinaphex e512c0c601 Start adding ANDROID ifdefs to platform_linux.c 2015-09-15 19:37:26 +02:00
Jorge Suarez 713ed76659 [linux] add cheats 2015-09-15 12:18:33 -05:00
Jorge Suarez 7476ff61da [linux] add screenshots, downloads 2015-09-15 12:18:32 -05:00
Jorge Suarez 9cdb94fd51 [linux] implement more paths 2015-09-15 12:18:32 -05:00
Jorge Suarez 5740e52bed [linux] implement default core path 2015-09-15 12:18:32 -05:00
radius b6207b9b76 [3ds] add remap dir to defaults 2015-09-15 10:19:48 -05:00
radius 2b829a3c47 [3ds] add remap dir to defaults 2015-09-15 10:17:01 -05:00
twinaphex e0c7d0905d Header cleanups 2015-09-15 04:49:10 +02:00
twinaphex ad1b433d57 (platform_linux.c) Refactors 2015-09-14 06:56:32 +02:00
twinaphex 33d4612716 (platform_linux) Get rid of alloca usage 2015-09-14 06:49:02 +02:00
twinaphex 87ece39443 (Linux) Add ACPI sys code 2015-09-14 06:35:11 +02:00
twinaphex ea6119c1c7 (Vita) Add forward declaration for scePowerSetArmClockFrequency 2015-09-14 03:50:34 +02:00
aliaspider 3733956fd0 (CTR/3DS) update makefile.ctr
- move per-core build settings to a seperate file.
- make the griffin build optional (enabled by default).
2015-09-13 22:33:35 +01:00
Francisco José García García 1aeb74a055 (Vita) Set ARM CPU at 444 Mhz 2015-09-09 18:37:24 +02:00
twinaphex 8e9f5d89f2 (platform_linux.c) Turn some functions static 2015-09-06 14:50:21 +02:00
Alcaro 9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
twinaphex 4d8b125c4f Cleanups 2015-09-05 20:40:11 +02:00
twinaphex f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex 90be3f052f Don't use _WIN32 ifdef in platform_win32.c 2015-09-05 14:36:56 +02:00
twinaphex 603f95cbf4 Remove frontend_xenon.c - implement platform_xenon.c instead 2015-09-04 20:45:02 +02:00
twinaphex f7f32f522d (platform_linux.c) Use retro_dirent.h 2015-09-04 20:37:18 +02:00
twinaphex 5e2c998b9c Integrate platform_vita.c into platform_psp.c 2015-09-02 13:07:13 +02:00
twinaphex 97dae69f28 Cleanups 2015-09-02 12:54:31 +02:00
twinaphex a28dd3944c (platform_null.c) Another Emscripten fix 2015-09-02 12:47:44 +02:00
twinaphex 0676738140 Console build fixes 2015-09-01 12:10:26 +02:00
Sergi Granell 5d920aa045 (Vita) vita2d_gfx_free: Set textures to NULL 2015-09-01 01:36:27 +02:00
Sergi Granell 96146e5313 (Vita) Update vita2d driver
(Vita/PSP) Name some stuff to vita
2015-08-31 15:26:37 +02:00
Sergi Granell 5deceb35ba (Vita) Update Vita frontend 2015-08-30 22:48:44 +02:00
Twinaphex ade4f86200 Merge pull request #2077 from xerpi/master
(Vita) Start vita2d_gfx video driver
2015-08-30 20:38:16 +02:00
CautiousAlbino 173dcd3e4c Retry implementation of include_compressed to dir_list_new.
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
Sergi Granell 3b54e81d00 (Vita) Start vita2d_gfx video driver 2015-08-30 20:12:16 +02:00
Sergi Granell d29c242655 (Vita) Add vita frontend driver
(PSP) Remove vita frontend from PSP frontend
2015-08-30 19:47:00 +02:00
Twinaphex aa382a5c7c Revert "Add include_compressed param to dir_list_new." 2015-08-30 18:36:25 +02:00
Twinaphex 0f60388533 Merge pull request #2069 from CautiousAlbino/hang-fix
Add include_compressed param to dir_list_new.
2015-08-30 17:09:20 +02:00
twinaphex bbeb4d4298 (Vita) parse_drive_list - add cache0 path 2015-08-30 17:05:14 +02:00
CautiousAlbino c4691b2668 Add include_compressed param to dir_list_new.
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
twinaphex f95049e99c Add wiiusb_hid driver courtesy of @xerpi 2015-08-30 09:48:38 +02:00
radius 0cd3a9ec63 [android] add defaults for keyboard overlay 2015-08-27 22:16:52 -05:00
twinaphex fdd1d3ee9f Pass sleep_ms argument to rarch_main_iterate 2015-08-27 14:52:02 +02:00
twinaphex 4b0ee4b9c2 Move rarch_sleep outside of rarch_main_iterate so that caller
can implement the idle step itself
2015-08-27 13:13:14 +02:00
Twinaphex f87425ef9a Re-enable UI Companion Start on Boot again 2015-08-23 09:20:24 +02:00
twinaphex 760ff5fa30 (Emscripten) Build fixes 2015-08-20 00:32:24 +02:00
twinaphex a5547aded9 (Emscripten) Fix another header include 2015-08-20 00:27:49 +02:00
twinaphex f908fffac4 (Emscripten) Include headers 2015-08-20 00:25:12 +02:00
twinaphex 27d345c77c (Vita) Add Vita ifndef 2015-08-12 19:30:30 +02:00
twinaphex 0975097ccf Add specific ifdef rule for Vita 2015-08-12 19:29:16 +02:00
twinaphex 536b7fad0b (platform_psp.c) Add some Vita ifdefs 2015-08-12 12:33:27 +02:00
Alcaro ee2ad0c4bd These aren't executable. 2015-08-12 01:31:03 +02:00
radius 828734e007 don't try to autoconfigure GPIO devices 2015-08-11 17:13:25 -05:00
twinaphex ef53ec3d90 Add some Vita ifdefs to platform_psp.c 2015-08-10 23:29:50 +02:00
twinaphex 77aa7535c9 MOve all 'define' headers to central place ' defines' 2015-08-10 23:11:40 +02:00
twinaphex c8dfa27338 (Darwin) Cleanups 2015-08-10 18:12:11 +02:00
Twinaphex 0a324c6021 (iOS) Add Documents directory 2015-08-10 18:11:28 +02:00
twinaphex 65aa759ab8 (iOS) There's currently a problem with enabling the UI companion
driver at startup to boot, so launch into GLUI/RGUI mode first
and allow the user himself to switch to CocoaTouch mode
2015-08-06 08:57:20 +02:00
twinaphex 4410c52d68 Use sceNpDrmProcessExitSpawn instead of sceNpDrmProcessExitspawn2 -
makes it work
2015-07-27 20:12:24 +02:00
twinaphex ad3a53520d Cleanups 2015-07-27 19:28:41 +02:00
Twinaphex 1faa62e902 Remove two unused variables 2015-07-27 17:22:43 +02:00
twinaphex a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex cdef82b185 Make late binding possible for frontend drivers
(PS3) Fix shutdown/quit hang - now we have to fix exitspawn instead
2015-07-27 03:44:28 +02:00
twinaphex 4787c463b6 Backport this - 58748da89d 2015-07-27 00:08:25 +02:00
radius 4b234a4ed9 clean-up System/BIOS in content dir, should now just use the basename instead of actually overwriting the setting 2015-07-26 16:23:41 -05:00
twinaphex b9569296d5 (platform_darwin.m) Add unistd.h 2015-07-25 14:50:40 +02:00
Toad King 866970fb1c small changes to hotplugging support 2015-07-20 21:01:11 -05:00
Toad King 248e8ad1ca [GX] properly shut down dev thread 2015-07-20 20:08:13 -05:00
twinaphex 0bbb0d6913 (Darwin) Cleanups 2015-07-18 23:49:58 +02:00
twinaphex c56f1403e5 (Darwin) Setup default shader dir 2015-07-18 23:41:42 +02:00
Twinaphex 6cb42bde29 Set all paths to bundle dirs when RELEASE_BUILD is defined 2015-07-18 17:36:30 +02:00
Twinaphex 34c2791fa4 Revert "(OSX) Add default dirs for Pictures and Downloads"
This reverts commit b9831cdc14.
2015-07-18 15:16:56 +02:00
twinaphex b9831cdc14 (OSX) Add default dirs for Pictures and Downloads 2015-07-18 15:14:40 +02:00
twinaphex 67c5d14900 (OSX) Fix some paths 2015-07-18 15:05:22 +02:00
radius a06dd9c3a2 fix system dir resetting on each startup 2015-07-17 02:53:59 -05:00
twinaphex b298b2d4f0 platform_android.h - cleanup 2015-07-16 10:54:59 +02:00
radius b717828cf0 fix setting and clearing system directory when using content dir 2015-07-16 01:46:11 -05:00
radius 9992a22e10 create dirs in the internal sd too 2015-07-14 22:38:55 -05:00
Andrés 8bf2b8a309 Fix cleanup of test dir 2015-07-14 20:36:38 -05:00
twinaphex 793e7483ad (platform_ps3.c) Cleanups 2015-07-15 02:09:05 +02:00
twinaphex 89be56a9ae (Android) Some build fixes 2015-07-13 19:50:21 +02:00
fr500 6f645f2cf9 make sure internal dirs are created too 2015-07-12 21:19:10 -04:00
fr500 22b3bc3243 add internal sd status to system info 2015-07-12 20:55:44 -04:00
fr500 39fb39f5f6 improve debug logging 2015-07-12 18:48:32 -04:00
radius 01ce2eaf31 shaders go in a subfolder now 2015-07-12 03:53:09 -04:00
Twinaphex 7f9bd9bd8a Merge pull request #1950 from fr500/master
fix a few issues with savestate sorting and system dir
2015-07-12 09:39:40 +02:00
radius 48068f147a same as the previous commit but when the user exits without unloading content 2015-07-12 02:35:28 -05:00
radius 06f656004b make system directory restore correctly when closing content in case it was set to content dir 2015-07-12 02:35:27 -05:00
twinaphex 10c8c0198b (platform_android.c) Style nits 2015-07-11 23:02:22 +02:00
radius d9b125a645 if using app dir and paths do not exist, create them 2015-07-11 16:32:48 -04:00
radius 5bd889ac02 create directories that do not exist and add savestate dir 2015-07-11 15:25:56 -04:00
radius a1ffbfdec9 make android defaults smarter 2015-07-11 15:16:04 -04:00
twinaphex 34414b5919 Menu toggle should be properly saved now with custom bind - the
forced hack broke all sorts of behavior
2015-07-09 22:16:27 +02:00
twinaphex d7db50e4eb (Android) Cleanups 2015-07-09 21:50:48 +02:00
twinaphex cbc79e0d67 Start adding preliminary bundle extraction code 2015-07-08 16:45:04 +02:00
twinaphex a59fd029b1 Send APK path as param too 2015-07-08 02:42:19 +02:00
radius 610d316852 path had been changed to app_dir 2015-07-07 15:38:00 -05:00
radius 5cb8a0793c make screenshots save in the pictures folder 2015-07-07 15:36:37 -05:00
twinaphex 6a6b419ddb (Android) Add screenshot dir default dir 2015-07-07 22:04:25 +02:00
radius cccc221e8c fix search & replace error 2015-07-07 14:56:01 -05:00
radius 3c5fe79df8 rename a few variables 2015-07-07 14:48:09 -05:00
radius 57ee3c0c33 rename a few variables 2015-07-07 14:38:39 -05:00
radius 6801a0de28 move variable declaration 2015-07-07 13:58:15 -05:00
radius 161a7166c5 set default downloads path to internal sdcard Downloads folder if available 2015-07-07 13:54:32 -05:00
radius 3d348edcb3 add functions to look for certain extra folders that may be useful to set sane defaults 2015-07-07 13:31:59 -05:00
radius 827f32b2d1 make saving to <content dir> possible again 2015-07-05 14:54:15 -04:00
twinaphex a9f398c0c4 (Android) Change default autoconfig dir to 'autoconfig' 2015-07-05 02:30:49 +02:00
radius 394cdf9c7c psp buildfix 2015-07-04 18:11:48 -05:00
radius b0b9ff8d8d add default paths for remaps and cheats 2015-07-04 17:08:32 -05:00
twinaphex e8914563d8 Change "core_assets" dir to "downloads" 2015-07-04 21:44:02 +02:00
twinaphex c32f3926b2 (platform_android.c) Fix typo 2015-07-04 06:40:21 +02:00
twinaphex 362d8025d8 Add g_defaults.core_assets_dir 2015-07-04 04:47:14 +02:00
twinaphex 7c1a5d3e31 (platform_android.c) Use msg_hash_calculate 2015-07-03 22:36:18 +02:00
twinaphex 5de19ed6c2 (Android) Implement parse_drive_list 2015-07-03 22:33:44 +02:00
twinaphex e030aee324 (Android) Add default dirs for playlists, wallpapers, remaps 2015-07-03 22:26:08 +02:00
radius 5abadccb3d add additional android paths 2015-07-03 09:38:54 -05:00
twinaphex 96c119bb1d Move retroarch_logger.h to libretro-common/include 2015-06-30 00:38:10 +02:00
Alcaro 59b35bbc21 Fix printf mismatch. 2015-06-26 20:41:56 +02:00
Alcaro febcbc5ce4 C89 cleanups part 2 2015-06-26 17:48:43 +02:00
twinaphex a132fa0fba Some C89 build fixes 2015-06-26 15:53:18 +02:00
twinaphex 1efaaab53d (main_exit) Don't set shutdown to false 2015-06-25 14:54:40 +02:00
twinaphex 0fa871a296 Use rarch_system_info_get_ptr 2015-06-25 13:46:32 +02:00
twinaphex f5dbf50ebc (frontend.c) Use rarch_system_info_get_ptr 2015-06-25 13:38:46 +02:00
twinaphex 6ee5029bb0 (android_input.c) Use rarch_system_info_get_ptr 2015-06-25 13:20:53 +02:00
twinaphex 42fcb4490c Change signature of rarch_system_info_get_ptr 2015-06-25 12:36:55 +02:00
twinaphex 850d6b0274 (frontend.c) Use rarch_system_info_get_ptr 2015-06-25 11:06:02 +02:00
twinaphex 6f1bc69fc7 Refactor libretro_dummy mechanics 2015-06-20 23:42:30 +02:00
twinaphex 225187dbd0 (platform_darwin.m) Include "../../menu/menu.h" 2015-06-18 10:13:29 +02:00
Higor Eurípedes 1bec7fbaef (platform_win32.c) Add menu.h include 2015-06-17 10:40:23 -03:00
twinaphex 0d400d027b (Salamander) Update 2015-06-15 22:47:20 +02:00
twinaphex a2c8f89137 Create frontend->parse_drive_list 2015-06-15 22:45:02 +02:00
twinaphex bc592859cc Cleanups 2015-06-15 06:01:54 +02:00
twinaphex 23263e2f97 (Android) Use djb2 2015-06-15 04:18:17 +02:00
Twinaphex c5958e2d49 (OSX) Buildfix 2015-06-14 19:28:20 +02:00
twinaphex f32173c007 (platform_darwin.m) Use hashing 2015-06-14 19:26:53 +02:00
twinaphex d3803d0d05 (platform_linux.c) Use hashing 2015-06-14 19:22:22 +02:00
twinaphex 413230d77d (Frontend) Cleanups 2015-06-12 23:38:46 +02:00
twinaphex b70c1c134f (Android) Cleanups 2015-06-12 23:32:23 +02:00
twinaphex 29e3f5ff66 Expand playlist format - rename it to 'lpl' 2015-06-08 23:38:03 +02:00
twinaphex 7f8a2bef79 (Salamander) Some spurious code where it tries to use 'len'
instead of 's'
2015-06-08 00:33:49 +02:00
twinaphex 7979198f08 (Android) Build fix #2 2015-06-02 20:41:14 +02:00
twinaphex c8c4dcfda7 Define NS_INLINE if it does not exist 2015-06-02 18:47:08 +02:00
twinaphex 0cfeff8e1e Cleanups 2015-06-02 18:28:51 +02:00
twinaphex a4812c955f Get rid of 'Gets here' messages 2015-06-01 17:06:28 +02:00
Twinaphex 99099c34ef Fix two serious warnings 2015-05-26 09:06:53 +02:00
radius 51dad5c922 make sure to reset paths when exiting too 2015-05-25 20:54:51 -05:00
radius cc5b069494 make sure to reset paths when exiting too 2015-05-25 20:54:00 -05:00
twinaphex 8fb8887c34 Create new playlist format 2015-05-26 00:12:49 +02:00
twinaphex be6ce5fb34 Get rid of some more useless casts 2015-05-24 05:10:09 +02:00
twinaphex 74ee699d5c Split up rarch_main_data_iterate outside of rarch_main_iterate 2015-05-16 17:00:50 +02:00
twinaphex 7242693e69 (Android) Go back to old input code 2015-05-09 09:38:45 +02:00
twinaphex 87d9834d06 Move dylib.c to libretro-common 2015-05-08 09:49:49 +02:00
twinaphex ff6babc22a (Android) Start using android_main_poll 2015-05-02 07:06:57 +02:00
twinaphex 9a1c90a554 (Android) android_run_events - change signature 2015-05-02 03:52:28 +02:00
twinaphex fed293b6e7 (Android) ALooper_prepare - hook up poll source 2015-05-02 03:00:35 +02:00
twinaphex 14acead3db (Android) Remove deinit function callback 2015-05-02 02:56:33 +02:00
twinaphex bc0a933114 Get rid of APP_CMD_DEAD hack 2015-05-02 02:55:51 +02:00
twinaphex 681f88948b Remove unused onRetroArchExit 2015-05-02 02:36:33 +02:00
twinaphex 421fad50a2 (Android) (android_native_app_glue.c) Should now be identical to mainline 2015-05-02 02:22:20 +02:00
twinaphex ec319a2c76 (Android) Start preparing engine_handle_input and engine_handle_cmd for
input sources
2015-05-02 02:13:16 +02:00
twinaphex 78fcd0312f (Android) Change signature of android_main_poll 2015-05-02 01:05:21 +02:00
twinaphex 2f08c143ec (Android) Cleanups 2015-05-02 00:43:24 +02:00
twinaphex a9aab62169 (Android) Create prototypes for functions 2015-05-02 00:27:33 +02:00
twinaphex 2161b03cf0 Move variables to platform_android.c 2015-05-02 00:25:55 +02:00
twinaphex e16e55cb9b (Android) Backport more functions 2015-05-02 00:22:29 +02:00
twinaphex 1699e877fb (Android) Backport some functions 2015-05-02 00:16:06 +02:00
twinaphex fe5d4e34ab (Android) Native app glue - use pthread again 2015-05-02 00:13:28 +02:00
twinaphex 5a2c6aa5d6 (Android) Create android_app_read_cmd 2015-05-01 23:59:23 +02:00
twinaphex 7bc4a69a4a (Android) Create android_native_app_glue.h 2015-05-01 23:52:36 +02:00
twinaphex 6c94be41a9 (Android) Create android_native_app_glue.c 2015-05-01 23:46:55 +02:00
twinaphex 2cc348a75b (Android) Create android_app_userdata 2015-05-01 20:21:52 +02:00
twinaphex 50ab97d304 (Android) Add back native app glue missing details 2015-05-01 19:56:44 +02:00
twinaphex 349a5890e4 (Android) Set lookup name function pointer at the beginning of the app's
start
2015-05-01 18:20:52 +02:00
twinaphex 8ec5db66cf (Android) Move state around 2015-05-01 18:11:34 +02:00
twinaphex 5e5453488f (Android) Move thread state to android_app 2015-05-01 17:25:26 +02:00
twinaphex 4b289e361d Revert "(Android) Put input event queue on separate thread"
This reverts commit 828421b46b.
2015-04-29 05:59:40 +02:00
twinaphex 828421b46b (Android) Put input event queue on separate thread 2015-04-29 05:43:05 +02:00
twinaphex 201b1d4ec7 (Android) Initialize some code directly in android_app_entry 2015-04-29 03:24:57 +02:00
twinaphex 4cf9227640 (Android) Move all input to android_input.c 2015-04-29 02:48:17 +02:00
Twinaphex af00b958d5 (iOS) Move ios_get_powerstate code to platform_darwin.m 2015-04-21 12:15:42 +02:00
twinaphex f435958371 (Android) Implement display metric DPI 2015-04-21 00:57:51 +02:00
twinaphex e1b697937a (Android) Implement get_architecture function 2015-04-20 22:53:56 +02:00
twinaphex 26d5ee8b4d (Android) Implement frontend_android_get_os 2015-04-20 22:43:46 +02:00
twinaphex 166cfdf211 Cleanup frontend.h 2015-04-20 21:35:51 +02:00
twinaphex 52bf335dd8 (Android) Cleanups 2015-04-20 21:35:31 +02:00
twinaphex d224b5c21d (Android) Buildfix 2015-04-20 21:34:54 +02:00
twinaphex 14505cc222 Create new rarch_main signature 2015-04-20 21:31:25 +02:00
twinaphex 4e187ad642 Refactor around HAVE_MAIN and do away with HAVE_MAIN_LOOP 2015-04-20 21:12:39 +02:00
twinaphex 5d24c75925 Create HAVE_MAIN define 2015-04-20 21:10:01 +02:00
twinaphex 7e95712015 (platform_darwin.m) Style nits 2015-04-20 21:00:40 +02:00
twinaphex 445bf04892 Cleanups to rarch_main - and also fix Android platform struct 2015-04-20 20:53:17 +02:00
twinaphex 7ed40b4401 Rename frontend_ctx_apple to frontend_ctx_darwin 2015-04-20 17:19:51 +02:00
twinaphex aa54f7fb41 Move apple_rarch_exited to UI companion drivers 2015-04-20 17:10:28 +02:00
twinaphex b310e82def Remove HAVE_COCOA/HAVE_COCOATOUCH ifdef in platform_apple.m 2015-04-20 14:09:57 +02:00
twinaphex 5154538ac1 (platform_apple.m) Style nits 2015-04-20 14:07:45 +02:00
Twinaphex a554b1647c Move code around - turn platform_apple.c into platform_apple.m 2015-04-20 14:05:55 +02:00
Twinaphex 6beaa824cd (platform_apple.c) Buildfix 2015-04-20 13:00:44 +02:00
twinaphex a29e97677e Fix CFExtensions.h include 2015-04-20 12:54:04 +02:00
twinaphex 0cbc577324 Cleanups 2015-04-20 12:33:35 +02:00
Twinaphex 425783672e (platform_apple.c) Add some more defines so that it can compile
and link without HAVE_COCOA or HAVE_COCOATOUCH
2015-04-19 17:12:20 +02:00
twinaphex 9d26a321df (OSX) Add platform_apple.c to Makefile.common 2015-04-19 17:08:13 +02:00
twinaphex a1eb931455 (OSX/Apple) Create main() function if HAVE_COCOA and HAVE_COCOATOUCH
are not defined
2015-04-19 17:02:36 +02:00
Twinaphex 6bbe6203a6 (Apple) Cleanups 2015-04-18 21:52:45 +02:00
Twinaphex a642092cb5 (iOS) Fixup frontend_apple_get_name 2015-04-18 21:20:04 +02:00
Twinaphex c03f61152b (Apple) Fixup get_os 2015-04-18 21:14:30 +02:00
twinaphex 0608ea17b8 (Linux) Frontend OS - major/minor now gets properly set 2015-04-18 20:49:05 +02:00
twinaphex 5bc364c1fb (Win32) Buildfix 2015-04-18 20:44:28 +02:00
twinaphex f9adf6ee9d (Win32) Implement OS name 2015-04-18 20:41:17 +02:00
twinaphex b4549d4bf4 Expand frontend_linux_get_architecture some more 2015-04-18 20:16:59 +02:00
twinaphex 5cfc0bb723 (Linux) Implement frontend_linux_get_os - still needs major/minor
set
2015-04-18 20:08:47 +02:00
twinaphex a2195e8cdf Create frontend get_architecture function callback 2015-04-18 20:03:59 +02:00
twinaphex b83a03bad6 (Linux) Start implementing get_powerstate 2015-04-18 19:43:48 +02:00
twinaphex ac2743b842 Create stub frontend/drivers/platform_linux.c 2015-04-18 19:12:14 +02:00
twinaphex 88692cbb07 (CTR) Use rarch_sleep and some style nits 2015-04-18 17:34:14 +02:00
twinaphex 8d4f6a172c (Win32) Implement get_powerstate 2015-04-18 17:16:55 +02:00
Twinaphex 99894c831e (iOS) Implement get_powerstate 2015-04-18 16:42:49 +02:00
twinaphex b810f7579d (PSP) Implement get_powerstate 2015-04-18 15:28:06 +02:00
twinaphex ba69d2ba59 (Apple) Style nits 2015-04-18 15:09:03 +02:00
Twinaphex 9b4d2769f3 (OSX) Start implementing get_powerstate - based on SDL implementation 2015-04-18 15:07:04 +02:00
twinaphex b721389234 Create 'get_powerstate' function for frontend driver 2015-04-18 13:56:40 +02:00
twinaphex 335097f98f (Emscripten) Buildfixes 2015-04-14 22:01:41 +02:00
Twinaphex 146acb62d3 (iOS) Implement frontend_apple_get_os 2015-04-13 18:25:04 +02:00
twinaphex d6d8d32edd Implement stub function apple_get_os 2015-04-13 18:05:55 +02:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
twinaphex 57877284ec (UI Companion) Call UI companion 'toggle' function at startup when setting is
enabled
2015-04-13 02:14:34 +02:00
Twinaphex 7674084904 frontend_apple_load_content - buildfix 2015-04-12 17:07:17 +02:00
twinaphex 35e3daf951 (frontend.c) Cleanup 2015-04-12 16:17:11 +02:00
Twinaphex bd31320612 (Apple) Buildfix 2015-04-12 05:45:28 +02:00
Twinaphex 3e35593f59 (iOS) Implement UI companion driver for iOS CocoaTouch 2015-04-12 03:18:37 +02:00
twinaphex f8a31effb0 (UI companion) Some further improvements 2015-04-12 02:09:14 +02:00
twinaphex 070147187d Refactor frontend_ctx_init_first 2015-04-12 00:24:20 +02:00
twinaphex 7dcbeef98f (platform_android.c) Turn some C++ comments into C comments 2015-04-12 00:03:03 +02:00
twinaphex 867ee391dd (GX) Start using sthread wrapper functions for device notification thread 2015-04-11 23:37:00 +02:00
twinaphex 19260898eb Replace dynamic.h header dependencies to dylib.h header dependencies 2015-04-11 10:38:10 +02:00
Twinaphex 16f20400fa Merge pull request #1618 from aliaspider/master
(3DS) implement the audio driver.
2015-04-10 20:15:14 +02:00
aliaspider 301309304a (3DS) implement the audio driver. 2015-04-10 19:10:34 +01:00
twinaphex 8012b88bcb (PS3) Buildfix 2015-04-10 07:46:54 +02:00
twinaphex 1989f9a0da (Win32) Buildfix 2015-04-09 23:03:24 +02:00
twinaphex 18801c8449 Move gfx_set_dwm call to platform_win32.c 2015-04-09 22:58:57 +02:00
twinaphex edda6bac9e (platform_psp.c) Turn function static 2015-04-09 05:53:58 +02:00
twinaphex c0bd6874cd (platform_android.h) Style nits/cleanups 2015-04-09 05:52:23 +02:00
twinaphex 033ab0891c (platform_win32.c) Cleanups 2015-04-09 05:43:30 +02:00
twinaphex 69762dd339 (platform_win32.c) Cleanup 2015-04-08 08:02:26 +02:00
twinaphex 9f44dcd12c (platform_win32.c) Add dynamic.h 2015-04-08 08:01:54 +02:00
twinaphex 5e905cf526 (Win32) Cleanup frontend_win32_init 2015-04-08 07:44:18 +02:00
twinaphex a72434e945 (Win32) Set DPI Aware for Windows Vista and higher 2015-04-08 07:20:28 +02:00
twinaphex 656d49c12d (Frontend Win32) Update 2015-04-08 02:11:23 +02:00
twinaphex 5a2ed01eec Create frontend_get_ptr 2015-04-08 00:08:53 +02:00
twinaphex 1c2a96ac0b (Win32) Add 'major' and 'minor' arguments to 'get_os' function
pointer
2015-04-07 23:28:45 +02:00
twinaphex a707c24232 Add 'get_os' function pointer to frontend driver 2015-04-07 22:49:00 +02:00
twinaphex 2fbc79e9f3 Cleanup some header includes 2015-04-07 22:21:08 +02:00
twinaphex 052086b9d4 (platform_apple.c) Include "frontend_driver.h" 2015-04-07 22:17:41 +02:00
twinaphex b20a14de81 (platform_win32.c) Buildfix 2015-04-07 22:15:40 +02:00
twinaphex e904298968 (Win32) Buildfix 2015-04-07 22:12:28 +02:00
twinaphex fd6dd4b354 (frontend_driver.h) Add frontend_win32 extern reference 2015-04-07 22:11:28 +02:00
twinaphex 20fbe6876e (platform_win32.c) Update header 2015-04-07 21:52:26 +02:00
twinaphex 935218f8a8 (Win32) Create platform_win32.c 2015-04-07 21:51:57 +02:00
twinaphex 401693ff0a Make iPad Air level 16 and iPad Mini 2/3 level 15 2015-04-07 21:07:09 +02:00
twinaphex 86a47b7dd8 (Apple) Change iPad Air / Mini 2 and 3 rating levels 2015-04-07 21:02:34 +02:00
twinaphex 0734b14266 Make 'iPad Air 2' RetroRating level 18 2015-04-07 20:59:06 +02:00
twinaphex cd148b9540 (Apple) Style nits 2015-04-07 20:57:43 +02:00
twinaphex 23071b6131 (Apple) Style nits 2015-04-07 20:57:20 +02:00
Twinaphex 4bc43fae53 (Apple) Style nits 2015-04-07 20:51:47 +02:00
Twinaphex e836691a20 (iOS) Start implementing frontend_apple_get_rating 2015-04-07 20:42:48 +02:00
Twinaphex fcbea1acb6 (Apple) Cleanup 2015-04-07 19:31:10 +02:00
Twinaphex e54c06150a (Apple) CopyModel - make it work for iOS too 2015-04-07 19:30:24 +02:00
Twinaphex 4c2aa42fce (platform_apple.c) Implement 'get_name' for OSX 2015-04-07 19:18:36 +02:00
Twinaphex a7504510ce (Apple) use autoconfig/hid from now on 2015-04-07 07:25:53 +02:00
twinaphex baafcd2817 (platform_wii.c) Style nits 2015-04-07 05:07:30 +02:00
twinaphex 88b98b568c (Android) Style nits 2015-04-05 21:57:32 +02:00
aliaspider 14ac3fe250 (3DS) use touch for menu toggle.
keep console visible on exit until start is pressed.
2015-04-05 20:39:18 +01:00
twinaphex 5612545b25 (CTR/3DS) Update copyright headers 2015-04-02 01:43:28 +02:00
aliaspider 2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
twinaphex be13f3c8c0 (frontend.c) Style nits 2015-03-22 08:19:14 +01:00
twinaphex a57abb74dc Rename some functions 2015-03-22 03:32:28 +01:00
twinaphex 2a8f9fdfc0 Put g_driver on heap and make it a pointer 2015-03-22 01:16:57 +01:00
twinaphex 248d985ae6 Don't call driver_get_ptr until after call to rarch_main_state_alloc
has been made
2015-03-22 00:43:10 +01:00
Twinaphex a599b399da (iOS) Buildfix 2015-03-21 22:30:58 +01:00
twinaphex f689702727 (Android) Build fixes 2015-03-21 22:29:44 +01:00
Twinaphex 726c64369f (Apple) Buildfix 2015-03-21 22:28:12 +01:00
twinaphex 83947f473b Split up rarch_main_state_new into two - rarch_main_state_alloc
allocates all state, rarch_main_state_new actually 'initializes'
the drivers, etc.
2015-03-21 19:31:38 +01:00
twinaphex ff83aab195 Move rarch_main_state_new up 2015-03-21 19:04:20 +01:00
twinaphex e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex 9f6cb1bca7 Rename settings.c to configuration.c 2015-03-21 00:42:09 +01:00
twinaphex 5d8ce54a9f Updates pt. 4 2015-03-20 22:22:06 +01:00
twinaphex 7bc845006b Start replacing more g_settings usages 2015-03-20 20:43:22 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex 84e9f2fa7d Use retro_inline throughout 2015-03-15 04:52:46 +01:00
Twinaphex b5b6435ab9 (OSX) Set default shader dir to 'shaders_cg' if HAVE_CG is defined 2015-03-13 03:49:42 +01:00
Twinaphex 49f9fbd00c (OSX) Uses CFTemporaryDirectory now too for extraction directory 2015-03-13 03:47:25 +01:00
Twinaphex 55e187748c (platform_apple.c) Cleanups 2015-03-13 02:33:32 +01:00
Twinaphex 309128f7ed (iOS/OSX) Bring the two closer together - for OSX, everything gets
saved now to NSDocumentDirectory/RetroArch - should be compatible
with sandboxed Mac Apps too
2015-03-13 01:33:45 +01:00
Twinaphex 4ad2bd97dc (OSX) get rid of warning for unused variable 2015-03-13 01:22:20 +01:00
twinaphex aa289e3879 (OSX) Add more alterations for OSX 2015-03-13 01:21:20 +01:00
twinaphex 277f8c9ea3 (OSX) Set default extraction dir for OSX too 2015-03-13 00:57:37 +01:00
Twinaphex c9175bbf81 (iOS) Hook up temporary dir for extraction directory 2015-03-13 00:54:44 +01:00
twinaphex ae62c8a477 (iOS) Add default dir for cheats 2015-03-13 00:25:23 +01:00
twinaphex 97d8bc1488 Add cheats_dir to g_defaults 2015-03-13 00:24:17 +01:00
twinaphex 67720e9e52 (iOS) Set up default rdb directory/cursor directory 2015-03-13 00:04:38 +01:00
Twinaphex 2ac4e0248e (iOS) Set up autoconfig and assets dir 2015-03-12 23:40:51 +01:00
Twinaphex 29d546e49d (iOS) Set up all the path to 'Documents' - you can access these with
iTunes File Sharing now - no need to add assets prior to deployment
2015-03-12 23:33:20 +01:00
twinaphex f87f3596ef (Android) Set g_runloop.is_idle to conserve on CPU usage while
idle
2015-03-09 01:59:01 +01:00
Twinaphex f34ae15f3f Cleanup header in platform_apple.c 2015-03-08 02:01:50 +01:00
Twinaphex 75b6bd21c3 (iOS/OSX) Total reimplementation of game loop - does away with
observer callback
2015-03-07 21:33:17 +01:00
Twinaphex 2d0701b1f6 Revert "(iOS/OSX) Only call CFRunLoopWakeUp if menu framebuffer is dirty or the menu"
This reverts commit 0146bf15db.
2015-03-07 17:54:29 +01:00
Twinaphex 0146bf15db (iOS/OSX) Only call CFRunLoopWakeUp if menu framebuffer is dirty or the menu
currently has an animation effect running
2015-03-07 17:37:26 +01:00
Twinaphex 1a62614c78 (Apple) Refactor do_iteration 2015-03-07 17:27:17 +01:00
Twinaphex 37271a0d13 Start debugging do_iteration 2015-03-07 16:17:48 +01:00
twinaphex a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
aliaspider af9ad56268 (PSP) disable forcing g_extern.verbosity to true on program entry to
speed up the startup process a bit (it disables dumping retroarch.cfg to
stdout).
2015-02-25 13:36:32 +01:00
twinaphex e3844f409d (Android) Get rid of some forward decls 2015-02-24 20:42:29 +01:00
twinaphex 85f70e971a (Android) Cleanups to system_property_get 2015-02-24 19:07:44 +01:00
Googer fe176fc01b Fixed silly repeated calls to strlen() 2015-02-24 12:41:23 -05:00
Googer 03b4ace443 (Android) Fix pad input detection for pre-KitKat.
Also update getting system properties to use getprop command instead of
__system_property_get.  Use sdk level to determine which gamepad
detection method to use (only use vendorId and productId if at least
KitKat - i.e., SDK version 19+).
2015-02-24 12:20:21 -05:00
T. Joseph Carter 4bcaf40551 New project file should work. xmb still doesn't 2015-02-10 05:34:28 -08:00
twinaphex 5d95d6d761 Add cursor_dir and database_dir to g_defaults 2015-02-01 12:25:20 +01:00
twinaphex 3b7dac52ef (main_load_content) Do early return if wrap_args can't be allocated 2015-01-30 07:42:58 +01:00
twinaphex 03ec380f56 (PS3) Build fix 2015-01-30 00:29:23 +01:00
twinaphex 756a9bf214 (Android) Add default path for extraction_directory on Android - needed
now ever since increased limitations on SD external storage
2015-01-28 09:29:11 +01:00
twinaphex 6a7268d3cb (OSX) Update default core directory and core info directory for
OSX
2015-01-28 04:45:39 +01:00
Twinaphex e8528d83e0 (Apple) Build fixes 2015-01-26 11:17:38 +01:00
twinaphex 0c8eec085c (iOS) Setup some default dirs 2015-01-17 06:52:54 +01:00
twinaphex 46402deb04 Use PATH_MAX_LENGTH instead of PATH_MAX.
Refactor OSX settings menu code somewhat
2015-01-17 05:47:52 +01:00
twinaphex 2a73d1a85f Cleanups in screenshot code. 2015-01-16 07:03:26 +01:00
twinaphex e82c439d81 Rename menu/disp to menu/drivers_display and menu/backend to
menu/drivers_backend
2015-01-12 23:52:45 +01:00
twinaphex ca67f9c317 Rename frontend/platform/ to frontend/drivers/ 2015-01-12 21:47:01 +01:00
twinaphex 64903de465 Rename frontend_context.c to frontend_driver.c 2015-01-12 21:21:08 +01:00
twinaphex b9ab7a545d Move psp and gx drivers to gfx/drivers 2015-01-12 06:55:31 +01:00
twinaphex 98f35db95c (PSP) Build fixes and rename sdk_defines.h 2015-01-12 06:51:57 +01:00
twinaphex 5c798e6994 Move some defines to frontend.h 2015-01-11 18:26:59 +01:00
twinaphex fae8a8d8d7 Remove main_entry_decide 2015-01-11 17:48:21 +01:00
twinaphex b53e8f6437 Create rarch_main_iterate_quit 2015-01-11 17:33:05 +01:00
twinaphex 90a32b022d Slight refinement to main_entry_decide 2015-01-11 17:10:14 +01:00
twinaphex 44e2504cd7 Some cleanups 2015-01-11 06:57:35 +01:00
twinaphex 16b7ca63c3 (platform_apple.c) Some cleanups 2015-01-11 06:51:43 +01:00
twinaphex 5f26bbcfb9 Move main_entry_decide function prototype to frontend.h 2015-01-10 06:46:21 +01:00
Twinaphex ce46057b5e (Apple) Build fix 2015-01-10 01:00:45 +01:00
twinaphex 2162e9b998 Cleanup frontend_context.h 2015-01-09 23:20:42 +01:00
twinaphex 76c392718f Create runloop.h 2015-01-09 18:40:33 +01:00
twinaphex 2909039e57 Add documentation to frontend_context.c 2015-01-09 18:11:33 +01:00
twinaphex 0121e240d7 (Salamander) Fix GX/Wii build 2015-01-09 18:05:20 +01:00
twinaphex 99c9afa5cd Update PATH_MAX to PATH_MAX_LENGTH 2015-01-09 18:04:29 +01:00
Twinaphex 4bc5b57db6 (Apple) Some warning fixes 2015-01-09 17:44:00 +01:00
twinaphex ec22bada36 Add retroarch.h header 2015-01-09 17:40:47 +01:00
twinaphex 8f511815d1 Create new header 'settings.h' 2015-01-09 16:56:21 +01:00
twinaphex 3521bfadd9 Some cleanups 2015-01-09 02:12:08 +01:00
twinaphex 2929073a42 Document frontend.c 2015-01-09 01:55:10 +01:00
twinaphex 1d45517d48 Declare variables at top 2015-01-09 01:23:58 +01:00
twinaphex 8559d8fc22 Replace MAX_PATH with PATH_MAX_LENGTH 2015-01-08 15:59:28 +01:00
twinaphex 453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex c518d35f18 (iOS) Add ifdef for menu_ctx_ios 2015-01-05 02:43:44 +01:00
twinaphex f283d302a8 (XDK 360) Obfuscate ROM connotations 2015-01-03 23:49:36 +01:00
twinaphex c28430c818 (XDK360) Change 'ROM' to 'EXECUTABLE' 2015-01-03 23:47:26 +01:00
Swizzy f3f527ba20 (XDK) Added support for Aurora Launch Data 2015-01-03 23:39:32 +01:00
twinaphex 24ebb87844 (Android) Add Android 2.3 fallback for engine_lookup_name (turned
this function into a function pointer)
2015-01-03 22:29:37 +01:00
Toad King 3830dbebaf fix emscripten build 2014-12-31 20:26:49 -06:00
Jay McCarthy ace60b5827 Include auto save state in main_exit_save_config so that iOS users actually get auto saving 2014-12-31 15:30:28 -05:00
Jay McCarthy c7cc2827a0 Go from load content directly into game 2014-12-31 15:24:50 -05:00
Twinaphex f2e1641ace Fix 'no previous prototype for function' warning 2014-12-31 14:06:16 +01:00
Twinaphex 95c09844ab Call main_exit_save_config from applicationWillResignActive 2014-12-31 13:27:53 +01:00
twinaphex c76a293a2e Add main_exit_save_config 2014-12-31 13:22:08 +01:00
Jay McCarthy 47588a08f5 Fixing audio/sync problems when gameplay is interrupted by call/etc 2014-12-22 13:24:28 -05:00
twinaphex 9ed2ba8412 [PATCH] Fix some C++ build issues. 2014-11-29 21:07:12 +01:00
twinaphex af0d416323 Fix bug in history_playlist_push 2014-11-29 16:53:26 +01:00
twinaphex 6393badfb5 Move rarch_main_command(RARCH_HISTORY_INIT) outside of check
for history list enable
2014-11-27 09:03:15 +01:00
twinaphex 678460b5c1 Add early return to RARCH_CMD_HISTORY_INIT 2014-11-27 08:58:31 +01:00
twinaphex df8e3dfc55 Add content history dir and change 'retroarch-history.txt' to 'retroarch-content-history.txt' 2014-11-27 08:46:30 +01:00
twinaphex d22a2896b5 Add check for g_extern.system.no_content as well 2014-11-24 06:25:11 +01:00
twinaphex 064f23b354 Add content_is_init - set to true if content file has been loaded
into memory, set to false when it has failed in doing so
2014-11-24 06:21:52 +01:00
twinaphex 4d6c241c0c (Android) Take out default playlists directory 2014-11-20 07:12:40 +01:00
twinaphex 1c1297b3e6 Take out unused process_events callback from frontend_context driver 2014-11-08 16:45:55 +01:00
twinaphex 739cd59dc9 Add video_filter_dir to check_defaults_dir 2014-11-08 02:48:40 +01:00
Twinaphex 12c118ac3f Add menu_config_dir to check_defaults_dirs 2014-11-07 17:08:20 +01:00
twinaphex 4cd4ce9772 (Android) Add some Android default paths 2014-11-02 22:34:46 +01:00
twinaphex 557d2472df Update default shader dir - becomes media/shaders_cg 2014-10-29 07:44:06 +01:00
twinaphex 82f4f1a83a (OSX) Add default video filter dir for OSX 2014-10-29 07:42:07 +01:00
Twinaphex 0fafabd851 (OSX) Start setting up default dirs for OSX - do it lazy and just
include them all inside the app bundle's 'modules' dir
2014-10-29 07:36:15 +01:00
twinaphex 074aa76b90 (PS3) Build fix 2014-10-28 20:05:28 +01:00
twinaphex da746a9f47 (Android) Build fix 2014-10-28 20:04:33 +01:00
Twinaphex 1f3faac713 (Apple) Build fixes 2014-10-28 19:57:22 +01:00
twinaphex 4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00
twinaphex 4b8473f733 Remove header incldue frontend_context.h from frontend/frontend.h 2014-10-28 19:45:06 +01:00
twinaphex 125dc00514 Remove another header include in menu_common.c 2014-10-28 19:43:27 +01:00
twinaphex 428235c9b0 Remove more header includes 2014-10-28 19:40:39 +01:00
twinaphex a10f1bdeb7 Remove more header includes 2014-10-28 19:36:55 +01:00
twinaphex 556abefca7 (Menu) remove header includes 2014-10-28 19:32:45 +01:00
twinaphex d6f81218dd Remove some unused headers 2014-10-28 19:28:17 +01:00
twinaphex ff40e97377 Refactor menu_action_setting_set 2014-10-28 19:08:18 +01:00
twinaphex d7ffa2b622 Remove one header include 2014-10-28 19:05:04 +01:00
twinaphex f8bb9a7d77 Rename MENU_SETTING_CATEGORY to MENU_SETTING_GROUP 2014-10-28 18:49:35 +01:00
twinaphex 7ad55464b5 Put Shader Options above CATEGORY for now 2014-10-28 18:20:52 +01:00
twinaphex 6c076ed3bf Refactor out SD_FLAG_IS_CATEGORY 2014-10-28 18:19:40 +01:00
twinaphex 6b445f1568 (Menu) Use setting_data_get_label as fallback (to show labels for ST_ACTION
items)
2014-10-28 07:18:35 +01:00
twinaphex 3dcf132cae (menu_common_backend.c) Cut down on more code duplication 2014-10-28 07:15:31 +01:00
twinaphex 44703be456 (Menu) Small cleanups 2014-10-28 07:12:59 +01:00
twinaphex e96074d452 Remove SD_FLAG_PUSH_ACTION - no longer necessary 2014-10-28 07:07:07 +01:00
twinaphex 8b518cd60b Remove MENU_FILE_LINEFEED 2014-10-28 06:50:12 +01:00
twinaphex 6a174642db (Menu) Remove MENU_FILE_LINEFEED_SWITCH 2014-10-28 06:48:54 +01:00
twinaphex fab5936bb7 (Menu) Add MENU_FILE_TYPE_T_LAST 2014-10-28 06:45:42 +01:00
twinaphex 82ca0e8853 REname MENU_FILE_PUSH to MENU_SETTING_ACTION 2014-10-28 06:36:52 +01:00
twinaphex 607c6a2809 Rename some menu enums 2014-10-28 06:31:34 +01:00
Lioncash 46c2b05ce2 Revert "Silence signed/unsigned mismatch warnings" 2014-10-27 21:00:56 -04:00
Twinaphex 9b22475649 Merge pull request #1212 from lioncash/warn
Silence signed/unsigned mismatch warnings
2014-10-28 01:43:39 +01:00
Lioncash 641964323c Silence signed/unsigned mismatch warnings 2014-10-27 20:39:07 -04:00
Toad King e30734230e add USB Gecko debugging support 2014-10-27 19:37:08 -05:00
twinaphex 6e9288b8ce Simplify menu_common_backend.c 2014-10-28 00:12:53 +01:00
twinaphex 43e3595790 Combine menu_settings_iterate and menu_common_iterate 2014-10-27 21:01:30 +01:00
twinaphex 58b98aca5c Take out one rule from menu_common_type_is 2014-10-27 02:28:25 +01:00
Jean-André Santoni fd2745e51e (GLUI) Cursor navigation 2014-10-27 00:55:14 +01:00
Jean-André Santoni 90b7f9b225 (RGUI) Move framebuf and pitch from menu_handle_t to rgui_handle_t 2014-10-26 23:43:33 +01:00
Jean-André Santoni d01d42a3a9 (RGUI) Fix two keyboard navigation bugs 2014-10-26 22:39:26 +01:00
Jean-André Santoni 4898090566 (RGUI) Fix mouse scrolling 2014-10-26 22:32:39 +01:00
twinaphex f23b6fd100 Take out remaining callbacks in menu backend driver 2014-10-26 22:17:15 +01:00
twinaphex 804b9112d4 Remove list_clear/list_set_selection callbacks 2014-10-26 22:12:57 +01:00
twinaphex 24f9d740d0 Take out set_label callback 2014-10-26 22:09:49 +01:00
twinaphex 99524703ab Remove type_is callback 2014-10-26 22:03:30 +01:00
Twinaphex 9885c4ecbc Merge pull request #1204 from lioncash/deref
lakka: Fix possible null pointer dereferences in lakka_draw_items.
2014-10-26 18:17:24 +01:00
Lioncash c1bf2f9cf6 lakka: Fix possible null pointer dereferences in lakka_draw_items. 2014-10-26 13:13:56 -04:00
twinaphex 4918381cfb Add Mouse Enable option in Menu Options 2014-10-26 18:06:57 +01:00
twinaphex 29a7984e9d Create separate static functions for mouse code in backend driver -
mouse_iterate and mouse_post_iterate
2014-10-26 17:50:27 +01:00
twinaphex d24691e810 Convert math/matrix.c to math/matrix_4x4.c 2014-10-26 02:32:10 +01:00
twinaphex 0c4de816f9 Dont' have input_common.h include input_autodetect.h 2014-10-26 01:53:13 +02:00
Twinaphex 0fcbecf885 (RGUI) Silence another warning 2014-10-26 01:17:41 +02:00
Twinaphex 6ca1a18571 (menu_common_backend.c) Get rid of some warnings 2014-10-26 01:17:08 +02:00
Jean-André Santoni f52d76f89a (RGUI) Fix cursor navigation bug 2014-10-26 00:54:39 +02:00
Jean-André Santoni bd7e31dc8f (XMB) Cursor navigation 2014-10-26 00:37:33 +02:00
twinaphex 47d01825c8 (menu) Add RARCH_GRAB_MOUSE_TOGGLE to menu_iterate 2014-10-25 23:30:53 +02:00
Jean-André Santoni 86c62c6ed0 (RGUI) Draw cursor 2014-10-25 23:21:28 +02:00
twinaphex bec50883a1 Add driver.menu->mouse 2014-10-25 22:42:19 +02:00
Jean-André Santoni df70e75cfe (Lakka) Remove hardcoded scale_factor 2014-10-25 13:00:45 +02:00
twinaphex ec9f6272ca video_shader_preset_parameters should not immediately apply 2014-10-25 09:47:13 +02:00
twinaphex e46b896ca7 (Menu shader) Small cleanup 2014-10-25 09:36:53 +02:00
twinaphex bcb365309a (Shaders) should fix shader pass 1 always being changed instead
of the appropriate one
2014-10-25 08:40:01 +02:00
Toad King efcd479c4f use persist load for normal loads, fixes exitspawn on consoles 2014-10-24 19:42:37 -05:00
Jean-André Santoni 03dc0dd3b5 (Lakka) Fix setting navigation bug 2014-10-24 23:08:45 +02:00
Twinaphex 9c311d831f Merge pull request #1189 from lakkatv/xmb
(Lakka) Display ON/OFF switch
2014-10-24 22:58:27 +02:00
Jean-André Santoni 921af2c7b0 (Lakka) Display ON/OFF switch 2014-10-24 22:35:03 +02:00
Jay McCarthy 2a0761337a Fixing the way that RA gets the home directory due to iOS8 change
Annoyingly it still works in the iOS8 simulator without this change.
2014-10-24 13:22:50 -04:00
aliaspider 6289abc1e0 (menu) fixes menu not being properly hidden after loading/saving a state 2014-10-24 02:24:38 +01:00
Jean-André Santoni a0dab8d58e (XMB) Prevent list highlighting 2014-10-23 22:22:25 +02:00
twinaphex 9354fd05b1 Cleanup headers in menu_entries_cbs.c 2014-10-23 08:07:00 +02:00
twinaphex c43320f29d Remove MENU_SETTINGS_CUSTOM_BIND_MODE 2014-10-23 08:04:26 +02:00
twinaphex 380041f974 (Menu) Add Bind Mode option 2014-10-23 08:00:45 +02:00
twinaphex 97c1241a89 Remove driver.menu->current_pad 2014-10-23 07:28:16 +02:00
twinaphex 871afbb940 (Menu) Add Bind All / Bind Default All options 2014-10-23 07:26:04 +02:00
twinaphex a06201d73b (Input) Add Analog To Digital Type options 2014-10-23 06:24:02 +02:00
twinaphex 82d64254f4 Fixup some headers 2014-10-23 03:54:18 +02:00
sergiobenrocha2 1b16487458 content.h and fix path to config_file.h 2014-10-22 23:39:36 -02:00
twinaphex 32af71a9ca Start adding new setting type - ST_ACTION 2014-10-23 00:10:58 +02:00
twinaphex 008c5c4cde Revert "(Menu) Performance improvement, prevent drawing the menu texture when using a GL menu driver"
This reverts commit a639e6163d.
2014-10-22 19:52:08 +02:00
twinaphex d1998307df Start implementing 'Device Type' setting 2014-10-22 08:42:51 +02:00
twinaphex ccc4b70123 don't redefine returntype macro 2014-10-22 07:22:24 +02:00
twinaphex ccf43f6e85 Take out dynamic.h header include from general.h 2014-10-22 04:27:51 +02:00
twinaphex a77715dc2f (PS3) Build fix 2014-10-22 04:16:19 +02:00
twinaphex 0b95e3f2d7 (XDK1) C89 build fixes for config_file.c - Salamander build fixes 2014-10-22 03:52:23 +02:00
twinaphex 37ef0a4ce6 Update Salamander targets/Android 2014-10-22 03:42:07 +02:00
Twinaphex cbae1583f3 Merge pull request #1179 from lakkatv/xmb
(XMB) Display ON/OFF switch if such icons are available
2014-10-22 02:42:38 +02:00
Jean-André Santoni 262495f8e7 (XMB) Display ON/OFF switch if such icons are available 2014-10-22 02:41:28 +02:00
twinaphex 3ec3004142 (XDK1) Build fixes 2014-10-22 02:05:01 +02:00
twinaphex a6b52d1f1f (XDK1) Some build fixes 2014-10-22 02:00:12 +02:00
Twinaphex 51122cad6d Merge pull request #1178 from lakkatv/xmb
Xmb
2014-10-22 01:42:56 +02:00
Jean-André Santoni f8185a58d1 (XMB) Fix another regression 2014-10-22 01:40:02 +02:00
Jean-André Santoni d8fbe2105d (XMB) Hide type label for entries already represented by a specific icon 2014-10-22 01:37:55 +02:00
Twinaphex c94a8e24d7 Merge pull request #1177 from lakkatv/xmb
(Lakka) Generate mipmaps, and use only 256x256 png
2014-10-22 01:32:37 +02:00
Jean-André Santoni 1e727c0c31 (Lakka) Generate mipmaps, and use only 256x256 png 2014-10-22 01:28:16 +02:00
Twinaphex 33f541807a Merge pull request #1176 from lakkatv/xmb
(XMB) Generate mipmaps, and use only 256x256 png
2014-10-22 01:26:04 +02:00
Jean-André Santoni e3594f36dd (XMB) Generate mipmaps, and use only 256x256 png 2014-10-22 01:22:22 +02:00
Twinaphex f5ebcb7a94 Merge pull request #1175 from lakkatv/xmb
(XMB) Fix display of items above the horizontal line
2014-10-22 01:17:58 +02:00
twinaphex 174d011bed Move dir_list to SDK 2014-10-22 01:13:05 +02:00
Jean-André Santoni 657312b342 (XMB) Fix display of items above the horizontal line 2014-10-22 01:04:59 +02:00
twinaphex 1291256b66 (360) Build fixes 2014-10-22 00:55:35 +02:00
twinaphex 6849f4f18c (Salamander) Fix Salamander targets 2014-10-22 00:28:56 +02:00
twinaphex 9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
twinaphex dd93d549aa Rename rarch_file_path to file_ops 2014-10-21 23:53:09 +02:00
twinaphex 2c5b744bc4 Compartmentalize file_path functions over to file_path.c 2014-10-21 23:33:20 +02:00
twinaphex a92b675f8e Move string_list to SDK 2014-10-21 19:59:27 +02:00
twinaphex 3d9186f680 Move file_list.c to libretro SDK 2014-10-21 19:23:28 +02:00
twinaphex 383eb08988 Don't have file_path.h include dir_list.h 2014-10-21 18:46:39 +02:00
twinaphex 81c5019afb Move miscellaneous header over to libretro SDK 2014-10-21 08:39:37 +02:00
twinaphex bc254071b9 (360) Build fixes 2014-10-21 08:13:50 +02:00
twinaphex 7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex 002a2f6ecd (XMB) Fix signed/unsigned mismatches 2014-10-21 05:51:30 +02:00
twinaphex ba2a2048a2 (MSVC) Silence signed/unsigned mismatches warnings 2014-10-21 05:45:43 +02:00
twinaphex e33c6ef6b2 (360) Build fixes 2014-10-21 05:44:09 +02:00
twinaphex e0c98a1059 (MSVC) Add XMB 2014-10-21 05:38:23 +02:00
twinaphex 9519304b12 (MSVC) Build fixes 2014-10-21 05:33:58 +02:00
twinaphex c62d52de0f Start properly implementing libretro SDK for boolean.h include
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex 375273720f (GX) Fix implicit declaration warnings 2014-10-21 01:34:00 +02:00
twinaphex df153855c7 (RMenu) Fix build 2014-10-21 01:27:45 +02:00
twinaphex 719c7e445b (Salamander) Fix build 2014-10-21 01:24:25 +02:00
Twinaphex dbb5f02e9d (Lakka) Remove unused variable 2014-10-21 00:23:25 +02:00
Twinaphex b884bc6e7f Merge pull request #1174 from lakkatv/xmb
(Lakka) Remove Main Menu from the settings list
2014-10-21 00:15:05 +02:00
Jean-André Santoni 7908389077 (Lakka) Remove Main Menu from the settings list 2014-10-21 00:13:34 +02:00
twinaphex a14bfdfca2 Don't use variables named 'bind' and 'index' 2014-10-20 23:41:01 +02:00
Twinaphex f3d04f0fde (XMB) Cleanups 2014-10-20 23:08:58 +02:00
Twinaphex 4378ccefcb (XMB) Fix unused variable(s) warnings 2014-10-20 21:53:16 +02:00
twinaphex 42bb37816e Take file_path.h include out of file.h 2014-10-20 21:51:04 +02:00
Jean-André Santoni a639e6163d (Menu) Performance improvement, prevent drawing the menu texture when using a GL menu driver 2014-10-20 21:26:55 +02:00
Twinaphex b4c6715eb0 Merge pull request #1172 from lakkatv/xmb
(XMB) Horizontal animations using file_list cache
2014-10-20 20:06:17 +02:00
Jean-André Santoni 630b5fa320 (XMB) Horizontal animations 2014-10-20 20:00:39 +02:00
Jean-André Santoni d1df2828a7 (Menu) Cache the lists and pointers on OK and CANCEL 2014-10-20 20:00:10 +02:00
Jean-André Santoni 0227602ce5 (Menu) Add cache for selection_buf and menu_stack 2014-10-20 19:56:50 +02:00
Jean-André Santoni 4bdc3a2818 (Menu) Add cache for selection_ptr 2014-10-20 19:56:18 +02:00
Jean-André Santoni 2f988c300b (Menu) Make disp_set_label work with any file_list 2014-10-20 19:54:55 +02:00
twinaphex def41a573f Avoid using 'index' for local variables 2014-10-20 19:18:18 +02:00
twinaphex bbadaf1911 Replace index variable name 2014-10-20 04:37:52 +02:00
Twinaphex 7c45f48965 Clean up unused variable 2014-10-20 02:55:31 +02:00
Jean-André Santoni 99111c2633 (XMB) Fix the offset bug in populate_entries 2014-10-20 01:51:00 +02:00
twinaphex 2050162817 menu_entries_cbs.c - cleanups 2014-10-19 22:42:23 +02:00
twinaphex 3c0dade671 (menu_entries_cbs.c) Remove unused code 2014-10-19 22:39:52 +02:00
aliaspider 10c2784c02 fixes game screen sometimes not showing in combination with some shaders
and menu drivers using GL.
note: this still doesnt fix the game screen not showing when
pause_libretro is set to true.
2014-10-19 21:24:29 +01:00
twinaphex d33a666753 Remove input_bind_device_id code 2014-10-19 19:45:56 +02:00
twinaphex 829060886d Take out more unused input file list settings code 2014-10-19 06:02:11 +02:00
twinaphex 2758646c4b Take out more no-longer needed input settings 2014-10-19 05:51:48 +02:00
twinaphex c99602d72d (menu_entries_cbs.c) Take out unused code 2014-10-19 05:49:37 +02:00
Toad King 0047aa9aaf add fast scrolling to settings menus 2014-10-18 20:38:46 -05:00
Jean-André Santoni 6afddd8261 (XMB) Fix depth animation 2014-10-18 16:49:51 +02:00
Jean-André Santoni 87df98661f (XMB) Display core icon 2014-10-18 16:26:02 +02:00
Jean-André Santoni 24a150cfce (XMB) Typo 2014-10-18 16:04:14 +02:00
Jean-André Santoni 2d3c5aec6f (Menu) Fix menu_entries_parse_list not calling populate_entries 2014-10-18 14:52:32 +02:00
Jean-André Santoni 21db7b262a (Menu) Adjust margins 2014-10-18 14:51:50 +02:00
Twinaphex 9f60f8f28e (OSX) Fix default bundle_path in environment_get function 2014-10-18 04:36:35 +02:00
twinaphex a4f1e9d075 Add ST_INT to menu_action_handle_setting 2014-10-18 04:20:52 +02:00
twinaphex d86e83db15 Turn menu_list_push calls into menu_list_push_stack 2014-10-18 02:37:53 +02:00
twinaphex 73b070b782 Rewrite menu_list_get_size functions 2014-10-18 02:32:59 +02:00
twinaphex c465d25859 (Menu) Refactor menu_list_get_last_stack 2014-10-18 01:59:16 +02:00
twinaphex cef2de6a70 Rewrite menu_list_get_actiondata_last_stack 2014-10-18 01:53:50 +02:00
twinaphex 46f9b325f8 Refactor menu_list_pop_stack functions 2014-10-18 01:44:06 +02:00
twinaphex 3931134924 Rewrite menu_list_flush_stack_* functions - first parameter
becomes menu_list_t *
2014-10-18 01:39:05 +02:00
twinaphex 3b384926b8 (XMB) Build fix 2014-10-18 01:30:43 +02:00
Twinaphex cee30ab29e Merge pull request #1163 from lakkatv/xmb
(XMB) Fix core list display
2014-10-18 01:29:57 +02:00
twinaphex d921061af8 menu_list_push_stack_ * functions now take in a menu_list_t *
parameter for 1st param instead of file_list_t *
2014-10-18 01:24:37 +02:00
Jean-André Santoni 51ff4b52a8 (XMB) Fix core list display 2014-10-18 01:24:14 +02:00
twinaphex e3894e7b9c Start using menu_list_new/menu_list_free 2014-10-18 01:17:00 +02:00
twinaphex ac61e0de3d (Menu) Create menu_list_new 2014-10-18 00:11:42 +02:00
twinaphex ed6fc11e95 Start adding menu_list struct and menu_list_free function 2014-10-17 23:52:36 +02:00
twinaphex b49bcf1541 Rename menu_list_free to menu_list_destroy 2014-10-17 23:49:13 +02:00
twinaphex f3ec94246c (Menu) Add menu_list_sort_on_alt 2014-10-17 23:46:53 +02:00
twinaphex 9bce38426c Add menu_list_set_alt_at_offset and menu_list_get_alt_at_offset 2014-10-17 23:43:53 +02:00
twinaphex 744e87f14d (Menu) Use menu_list_get_size 2014-10-17 23:38:30 +02:00
twinaphex e1e5f2af5d Create menu_list_get_action_data_at_offset 2014-10-17 23:32:40 +02:00
twinaphex 101680fd58 Create menu_list_get_at_offset 2014-10-17 23:28:33 +02:00
twinaphex 1ece7c8228 (Menu) Create menu_list_get_last_stack and menu_list_get_last 2014-10-17 22:53:30 +02:00
twinaphex 43d330fa47 Create menu_list_get_last and menu_list_get_last_stack 2014-10-17 22:41:20 +02:00
twinaphex 25efe98704 Create wrapper function menu_list_push_stack_refresh 2014-10-17 22:29:59 +02:00
twinaphex 4c6aff67f2 Refactor menu_entries_push into menu_list_push_refresh 2014-10-17 22:25:23 +02:00
twinaphex 1daf8c354e (menu_list.c) Add menu_list_get_size and menu_list_get_stack_size 2014-10-17 21:41:45 +02:00
Alcaro 77a131b0f9 Fix warning. It looks invalid, but that code is indeed weird. 2014-10-17 21:37:02 +02:00
twinaphex 858d859d3d Properly namespace menu_navigation.c functions 2014-10-17 21:25:33 +02:00
twinaphex 3164aebab7 Properly namespace functions in menu_entries.c 2014-10-17 21:06:48 +02:00
twinaphex 8da8447b28 Move menu_flush_stack_type to menu_list.c and rename it
menu_list_flush_stack
2014-10-17 21:02:44 +02:00
twinaphex b4cebd605e Refactor menu_entries_pop_stack 2014-10-17 20:55:41 +02:00
twinaphex 2de0775213 Rename menu_entries_pop_list into menu_list_pop_stack 2014-10-17 20:47:32 +02:00
twinaphex 0e2c108a8a Create menu_list_push_stack 2014-10-17 20:44:22 +02:00
twinaphex 687f593174 Create menu_list.c 2014-10-17 20:36:02 +02:00
Twinaphex 0132581ebc (OSX) Move code over to platform_apple.c 2014-10-17 17:05:27 +02:00
twinaphex c53632be81 Start implementing action OK for ST_BIND 2014-10-17 07:11:51 +02:00
twinaphex f901c2967f Revert "(Apple) Implement apple_content_loaded"
This reverts commit 861f9d14cd.
2014-10-17 05:27:54 +02:00
Twinaphex 861f9d14cd (Apple) Implement apple_content_loaded 2014-10-17 04:58:05 +02:00
twinaphex 7b2deee502 Rename playlist_push to history_playlist_push 2014-10-17 04:33:44 +02:00
twinaphex 7adcbc7311 Move rarch_playlist_push to frontend.c 2014-10-17 04:32:56 +02:00
twinaphex 3190b50e94 Move Content History Size option to Playlist Options 2014-10-17 04:27:12 +02:00
twinaphex 0f5161d621 Add History List Enable option 2014-10-17 04:17:28 +02:00
twinaphex d3b27fd888 Add content_loaded callback to frontend context driver 2014-10-17 03:55:16 +02:00
twinaphex d31c903ada (menu_action.c) menu_action_handle_setting - cut down on code duplication 2014-10-17 02:02:23 +02:00
twinaphex f518da61bf (menu_action.c) Cut down on code duplication 2014-10-17 01:37:17 +02:00
twinaphex 8d4fdd9e24 Implement call to populate_entries at the end of menu_entries_parse_list 2014-10-17 01:18:20 +02:00
Twinaphex 3b3b990796 Add early return to menu_environment_get in case wrap_args
is NULL
2014-10-17 00:28:03 +02:00
Twinaphex c0b85ba34a Make apply_deferred_settings more robust when it's being called
when exiting
2014-10-17 00:21:02 +02:00
twinaphex 278d8abd11 Rename MENU_FILE_SWITCH to MENU_FILE_PUSH 2014-10-16 18:29:19 +02:00
twinaphex e49cad7b68 Implement action start callback for ST_PATH and ST_DIR 2014-10-16 18:07:57 +02:00
twinaphex be5914d006 (menu_action.c) Cleanups 2014-10-16 17:57:42 +02:00
twinaphex bd1d8e65bc Implement action start callback for ST_PATH 2014-10-16 17:55:24 +02:00
twinaphex be4c043735 Cleanup menu_action.c 2014-10-16 17:19:48 +02:00
twinaphex 97f26dfae1 (menu_action.c) Get rid of some code duplication 2014-10-16 08:35:44 +02:00
twinaphex 34915aefce Add RARCH_CMD_PERFCNT_REPORT_FRONTEND_LOG 2014-10-16 08:31:10 +02:00
twinaphex ab78b8a4cd Reimplement disk_options_disk_index_toggle 2014-10-16 07:41:29 +02:00
twinaphex 4f0d124793 Don't include stdio.h where not needed 2014-10-16 07:27:42 +02:00
twinaphex fe1a083580 Revert "Simplify menu_common_type_is"
This reverts commit 395dc79f6c.
2014-10-16 07:15:35 +02:00
twinaphex 5ae79ef71d (menu_common_backend.c) Refactor some code 2014-10-16 06:52:25 +02:00
twinaphex 58b3540ef0 (menu_common_backend.c) Add MENU_ACTION_SELECT to menu_common_iterate 2014-10-16 06:49:09 +02:00
twinaphex 9537d5d2e9 Add some more sanity checks in menu_entries.c 2014-10-16 06:42:17 +02:00
twinaphex b6f6871b1c push_main_menu_list - add early return if setting is NULL 2014-10-16 06:39:22 +02:00
twinaphex ffc6b2f6c3 Reduce calls to menu_common_type_is 2014-10-16 06:01:59 +02:00
twinaphex 32944aac12 Revert "Better scrolling acceleration"
This reverts commit 975abe8bc4.
2014-10-16 04:37:20 +02:00
twinaphex 975abe8bc4 Better scrolling acceleration 2014-10-16 04:32:33 +02:00
twinaphex 395dc79f6c Simplify menu_common_type_is 2014-10-16 04:25:38 +02:00
twinaphex e371d598df (menu_common_backend.c) - Cleanups 2014-10-16 03:55:20 +02:00
Twinaphex 443a11a52b Get rid of unused variable warning 2014-10-16 03:17:44 +02:00
twinaphex 253d8e0da9 Properly split up callbacks 2014-10-16 02:53:35 +02:00
twinaphex 823884a508 Properly implement other start actions as well 2014-10-16 02:15:05 +02:00
twinaphex 4a581078fa Refactor more toggle functions to be action_start functions 2014-10-16 02:01:40 +02:00
twinaphex b9338a0067 Implement action OK callback for video resolution 2014-10-16 01:41:10 +02:00
twinaphex c488562755 Remove action_ok callbacks that are functionally the same as
MENU_ACTION_RIGHT
2014-10-16 01:38:06 +02:00
twinaphex 4f45bf694c MENU_ACTION_OK actions need to be functionally unique from MENU_ACTION_RIGHT 2014-10-16 01:36:39 +02:00
twinaphex 92d1d57b9f Implement action OK callbacks properly 2014-10-16 01:34:57 +02:00
twinaphex 8d68031ec4 Properly clean up function pointers in menu_common_list_delete 2014-10-16 00:53:10 +02:00
twinaphex fbc3abb621 Refactor push_list into static function push_main_menu_list 2014-10-15 22:13:17 +02:00
twinaphex 65c048b611 Reimplement deferred push input options 2014-10-15 22:10:41 +02:00
twinaphex 4d189d38c9 Reimplement deferred push for category 2014-10-15 22:04:02 +02:00
twinaphex 9f314ef50d Reimplement shader parameter deferred push callbacks 2014-10-15 22:01:15 +02:00
twinaphex 8174fdfb9a Reimplement deferred_push_disk_options 2014-10-15 21:54:51 +02:00
twinaphex 1d31ffe3e3 Reimplement deferred_push_input_options 2014-10-15 21:52:02 +02:00
twinaphex 0fd812049c Reimplement deferred_push_settings 2014-10-15 21:38:30 +02:00
twinaphex ac8093ecbf Reimplement deferred_push_performance_counters 2014-10-15 21:34:48 +02:00
twinaphex 280730638d Cleanup push_list 2014-10-15 21:30:20 +02:00
twinaphex ed7bda43ca Reimplement core_information deferred push 2014-10-15 21:29:06 +02:00
twinaphex b3b56fd995 Reimplement deferred core list push 2014-10-15 21:18:27 +02:00
twinaphex 8aff0fc34a Reimplement deferred push for core_counters and frontend_counters 2014-10-15 21:11:43 +02:00
twinaphex fad3cbdb50 Remove menu_parse_check 2014-10-15 21:04:21 +02:00
twinaphex a7c49cc3dc Move core options to deferred push callback 2014-10-15 20:52:02 +02:00
twinaphex 110d802319 (Menu) Move disk_options to deferred push callback 2014-10-15 20:50:20 +02:00
twinaphex 1f5276ee62 Start getting rid of menu_parse_check 2014-10-15 20:47:43 +02:00
twinaphex 426bff2041 Simplify menu_common_type_is 2014-10-15 20:41:51 +02:00
twinaphex b443a032f6 Reimplement menu_parse_checkx 2014-10-15 20:39:11 +02:00
twinaphex eb347b0d4e Reimplement deferred core list push list 2014-10-15 20:13:21 +02:00
twinaphex 6b12a9fed2 Turn if conditional into else if for history_list deferred push 2014-10-15 19:53:00 +02:00
twinaphex 0b8beb8874 Get rid of unnecessary 'change' boolean variable in apply_deferred_settings 2014-10-15 19:45:44 +02:00
twinaphex 1834bad53c Simplify menu_common_type_is 2014-10-15 19:44:01 +02:00
twinaphex fbeb79504a Move history_list to deferred push callback too 2014-10-15 08:22:28 +02:00
twinaphex 53804dfa16 (Menu) Implement deferred push callback 2014-10-15 08:04:10 +02:00
twinaphex 78c136b218 Start setting the stage for deferred push callback 2014-10-15 07:40:19 +02:00
twinaphex 28b5826cde Return setting->action_toggle 2014-10-15 06:47:43 +02:00
twinaphex 459e4fa0d2 Move more settings callbacks over to settings_data.c 2014-10-15 06:46:00 +02:00
twinaphex 368e3455f9 Make menu_action_setting_driver a static function 2014-10-15 06:01:36 +02:00
twinaphex 5636414e31 Refactor Lakka action code 2014-10-15 05:57:15 +02:00
twinaphex bb3caf7005 Get rid of static inline function 2014-10-15 05:51:00 +02:00
twinaphex c0113bef6a Cleanups to menu_action_handle_settings 2014-10-15 03:34:20 +02:00
Twinaphex 6ffd0d2ea7 platform_apple.c - Fix warnings 2014-10-15 03:14:57 +02:00
Twinaphex ff72ddebdd menu_entries.c - cleanups 2014-10-15 03:12:19 +02:00
twinaphex 2210932e90 Turn menu_action_setting_apply into static function 2014-10-15 03:06:44 +02:00
twinaphex 23b69085d3 Move code over to menu_entries_cbs.c 2014-10-15 03:05:21 +02:00
twinaphex d7a216e889 Get rid of fallback action in menu_action_setting_set 2014-10-15 03:02:43 +02:00
twinaphex 2c15e652f9 Move more shader setting code to menu_entries_cbs.c 2014-10-15 02:34:43 +02:00
twinaphex df922034aa Move shader parameter setting toggle code to menu_entries_cbs.c 2014-10-15 02:07:30 +02:00
twinaphex ea8808a63e Cleanup 2014-10-15 01:58:55 +02:00
twinaphex 5eed703d64 Cleanups 2014-10-15 01:23:13 +02:00
twinaphex aa4cc4f4a2 Move menu_entries_set_current_path_selection to menu_entries.c
and make it static
2014-10-15 01:14:35 +02:00
twinaphex 0ab30f4409 Turn menu_action_handle_setting into a static function 2014-10-15 01:04:37 +02:00
twinaphex 9ade7b5245 Add action OK fraction callbacks 2014-10-15 00:56:20 +02:00
twinaphex 88aa5e62e3 Implement action OK for ST_UINT settings 2014-10-15 00:47:38 +02:00
Jean-André Santoni d724d59d60 (XMB) Folder, file and archive icons 2014-10-14 23:05:53 +02:00
Twinaphex c06a549bfe (XMB/Lakka) Silence some warnings 2014-10-14 22:37:01 +02:00
Twinaphex ffb9047961 menu_action.c - Fix 'declaration shadows global variable' 2014-10-14 22:11:44 +02:00
twinaphex b16ce98e34 menu_action.c - cleanups 2014-10-14 22:10:18 +02:00
twinaphex 5506674c69 settings_list.c - Add action OK callback 2014-10-14 22:02:42 +02:00
Twinaphex 97567a5c9a (lakka.c) Silence some warnings 2014-10-14 19:43:29 +02:00
twinaphex 24ac566fbb menu_entries_cbs.c was not including menu_entries_cbs.h header 2014-10-14 19:40:52 +02:00
Twinaphex b38c5c6cab Get rid of some 'no previous prototype for function' warnings in lakka.c and rgui.c 2014-10-14 18:54:59 +02:00
twinaphex 8e0e93d844 (menu_shader.c) Build fix 2014-10-14 18:53:41 +02:00
Twinaphex 16a9cb338d (menu_action.c) Fix 'declaration shadows a global variable' warning 2014-10-14 18:48:35 +02:00
Twinaphex 4ff31b9357 (menu_shader.c) Fix 'declaration(s) shadows variables in local/global scope' warnings 2014-10-14 18:46:40 +02:00
Twinaphex 40f97cde13 (gl_common.c) Fix declaration shadows a variable in global scope warning 2014-10-14 18:30:22 +02:00
Lioncash 4bd2c6b786 rgui: Fix potential memory leak 2014-10-14 00:31:55 -04:00
Twinaphex b940ca9b79 (RGUI) Get rid of unused variable 2014-10-13 23:52:59 +02:00
Lioncash c5512dbd5b xmb: Fix a potential memleak 2014-10-13 17:30:39 -04:00
Lioncash 14189c08a2 frontend: Fix possible memory leaks in lakka, rgui, and rmenu 2014-10-13 16:58:53 -04:00
Twinaphex c7733f705b Merge pull request #1141 from lioncash/menu
menu_animation: Fix a guard against realloc
2014-10-13 20:41:03 +02:00
twinaphex 26ceac8bf7 Should fix remaining SRAM issues 2014-10-13 19:40:40 +02:00
Lioncash 73b9452a16 menu_animation: Fix a guard against realloc 2014-10-13 13:31:52 -04:00
Mike Robinson a94bf32f89 Apply deferred settings before freeing settings list
Deferred settings were getting lost on exiting the settings menu.
2014-10-13 04:30:12 +01:00
twinaphex 750ac33b8d Add 'Cycle Tray Status' option 2014-10-13 05:30:14 +02:00
Twinaphex 2df870f7d0 (menu_settings_iterate) clean up unused variable 2014-10-13 05:02:42 +02:00
twinaphex 54d6a73b72 disp_set_label = set type_str to '\0' by default 2014-10-13 04:33:48 +02:00
twinaphex c46242f637 (RGUI and friends) Assign more label room for history list 2014-10-13 04:28:29 +02:00
twinaphex 4f97781f42 Cleanup some code in menu_action.c 2014-10-13 04:02:53 +02:00
twinaphex 467a5144c4 Get rid of obsolete log 'Gets here' 2014-10-13 03:32:43 +02:00
twinaphex 15201318da Reimplement custom bind mode setting 2014-10-13 03:32:22 +02:00
twinaphex 481c5ce9d4 Start hooking up Disk Options -> Disk Index again 2014-10-13 03:26:44 +02:00
twinaphex b623b42615 Rename menu_entries_push_list to push_list 2014-10-13 03:01:59 +02:00
twinaphex 681c082a67 Cleanup info_screen_iterate 2014-10-13 02:56:14 +02:00
twinaphex 83442ee467 Cleanups - grab pointer to menu_filelist_cbs_t only once and then
pass it around in menu_common_iterate
2014-10-13 02:15:45 +02:00
twinaphex d2f5d39259 Rename menu_parse_and_resolve to menu_entries_deferred_push 2014-10-13 02:10:27 +02:00
twinaphex 503329c9a6 Make menu_entries_push_list static 2014-10-13 02:08:39 +02:00
twinaphex e3807b87f7 Cut down on menu_entries_push_list 2014-10-13 02:03:36 +02:00
twinaphex 9f9978c0a2 Refactor action_ok_push_history_list 2014-10-13 01:42:10 +02:00
twinaphex 58f16896c8 Have to resort to this to have detect core working properly
again for zipped archives
2014-10-13 00:37:27 +02:00
Jean-André Santoni 50bda012ed (Lakka) Fix FBO 2014-10-13 00:21:23 +02:00
Jean-André Santoni e4e892efad (XMB) Fix navigation_clear regression 2014-10-12 23:53:37 +02:00
twinaphex 94110ea997 Add bool pending_push parameter to menu_clear_navigation 2014-10-12 23:44:10 +02:00
twinaphex 5f8fb88d19 Revert "start reducing calls to menu_clear_navigation"
This reverts commit 202b1e2006.
2014-10-12 23:36:54 +02:00
twinaphex 202b1e2006 start reducing calls to menu_clear_navigation 2014-10-12 23:31:04 +02:00
twinaphex f52c79e197 menu_shader_manager_setting_toggle - rename id to type 2014-10-12 22:16:10 +02:00
twinaphex e11abc3f76 (Menu) Reimplement deferred_core list without needing need_refresh 2014-10-12 21:55:59 +02:00
twinaphex 789ef212a5 Cleanups in menu_common_backend.c 2014-10-12 21:38:24 +02:00
twinaphex 10602ee796 (menu_common_backend.c) Get rid of some unnecessary header includes 2014-10-12 21:23:48 +02:00
twinaphex 97d41dae64 (XMB) Get rid of some unneeded header includes 2014-10-12 21:21:43 +02:00
twinaphex adb9e392ed (glui.c) Get rid of some unnneeded header includes 2014-10-12 21:20:31 +02:00
twinaphex cc3c116868 (lakka.c) Get rid of some unneeded header includes 2014-10-12 21:19:36 +02:00
Twinaphex 8793508779 Merge pull request #1135 from lakkatv/xmb
(Menu) Fade on search
2014-10-12 21:00:39 +02:00
Jean-André Santoni e27ed089f5 (Menu) Fade on search 2014-10-12 20:58:48 +02:00
Twinaphex b38e7718a5 Merge pull request #1134 from lakkatv/xmb
(Menu) Ticker line
2014-10-12 20:38:10 +02:00
Jean-André Santoni 3f7af3d164 (Menu) Remove the unwanted vertical animation on screen switch 2014-10-12 20:34:55 +02:00
Jean-André Santoni e0a33a9b3c (Menu) Ticker line 2014-10-12 20:30:19 +02:00
twinaphex 23c3ae3d79 Get rid of some unnecessary header includes in rgui.c 2014-10-12 20:25:12 +02:00
twinaphex f1511e76f1 (Menu) Add missing extern C namespaces for C++ builds 2014-10-12 20:22:33 +02:00
twinaphex b1eb0e6493 Reduce header includes in menu_common_backend.c 2014-10-12 20:17:12 +02:00
twinaphex fae308d1f9 (menu_common_backend.c) Cut down on some code duplication 2014-10-12 20:15:02 +02:00
twinaphex bbb28c06e6 (Menu) Implement action_start callback as well 2014-10-12 20:11:45 +02:00
twinaphex 0245be3193 Refactor remaining toggle functions 2014-10-12 19:45:38 +02:00
Twinaphex 61fd8b38dc Merge pull request #1133 from lakkatv/xmb
(Menu) Use a scale factor, fix shader color
2014-10-12 19:21:40 +02:00
Jean-André Santoni 16c9cf2698 (Menu) Use a scale factor, fix shader color 2014-10-12 19:22:01 +02:00
twinaphex 528cb1dd60 Move core_setting_toggle to menu_entries_cbs.c as static function 2014-10-12 19:21:19 +02:00
twinaphex 896bff00cc Change menu_common_core_setting_toggle to be bindable to cbs->action_toggle 2014-10-12 19:18:37 +02:00
twinaphex e71486a9bf Start implementing toggle actions in menu_entries_cbs.c 2014-10-12 19:13:42 +02:00
twinaphex 1196e3b4eb (menu_common_backend.c) Indenting nits 2014-10-12 18:59:28 +02:00
twinaphex c3f9bd022b Move menu_parse_list up 2014-10-12 18:37:35 +02:00
Twinaphex d15d7c9e8f Merge pull request #1132 from lakkatv/xmb
(Menu) Fix transparent overlay when displaying messages with pause_libre...
2014-10-12 18:24:26 +02:00
Jean-André Santoni 6ffa9b1f08 (Menu) Fix transparent overlay when displaying messages with pause_libretro 2014-10-12 18:22:51 +02:00
twinaphex 7643445862 Create menu_parse_list 2014-10-12 18:15:03 +02:00
twinaphex 752fb8e472 (menu_common_backend.c) Indenting nits 2014-10-12 18:01:07 +02:00
twinaphex b1e636a1ff (XMB) Same here 2014-10-12 17:56:32 +02:00
twinaphex 2d42c43d52 (Lakka) Don't use unsafe strcpy anywhere in codebase 2014-10-12 17:55:09 +02:00
twinaphex 2fc208ed57 Reduce code duplication in menu_load_or_open_zip_iterate 2014-10-12 17:53:01 +02:00
twinaphex da821ead36 Get rid of unnecessary conditional in menu_settings_iterate 2014-10-12 17:50:01 +02:00
twinaphex 71978000b4 (Menu) Hook up action OK for help screen 2014-10-12 17:46:08 +02:00
twinaphex aefe0f00e6 (Menu common backend) Simplify menu_action_ok 2014-10-12 17:37:37 +02:00
twinaphex cb5cea205a (Menu) Some cleanups 2014-10-12 17:30:04 +02:00
twinaphex 38e671dd8f (menu_entries.c) Small nits 2014-10-12 07:03:58 +02:00
Twinaphex 8a2535f547 Merge pull request #1131 from lioncash/leak
glui: Fix potential memory leak
2014-10-12 06:27:48 +02:00
Lioncash de1de54ef6 glui: Fix potential memory leak 2014-10-12 00:25:18 -04:00
Twinaphex 76d003dc77 Merge pull request #1130 from aliaspider/master
use menu_set_navigation after a keyboard search instead of modifying
2014-10-12 06:16:41 +02:00
twinaphex d824279198 Move more code over to menu_entries_cbs.c 2014-10-12 05:36:54 +02:00
twinaphex 7a1851f80c (menu_common_backend.c) cleanups 2014-10-12 05:24:52 +02:00
twinaphex dce09587ba Move more settings over to menu_entries_cbs.c 2014-10-12 05:15:36 +02:00
aliaspider a3cef5ec38 use menu_set_navigation after a keyboard search instead of modifying
menu->selection_ptr directly.
2014-10-12 04:03:22 +01:00
twinaphex 170fbdc494 Move more settings over to menu_entries_cbs.c 2014-10-12 05:01:52 +02:00
twinaphex 3c7919ec51 Get rid of HAVE_SHADER_MANAGER definition in menu_common_backend.c 2014-10-12 04:45:31 +02:00
twinaphex 6dcef65dba Get rid of menu_parse_check function call in menu_action_ok 2014-10-12 04:43:43 +02:00
twinaphex c8e121173a Move MENU_FILE_PLAIN action OK handling over to menu_entries_cbs.c 2014-10-12 04:41:33 +02:00
twinaphex 17035b82c5 Create action_ok_set_path in menu_entries_cbs.c 2014-10-12 04:21:08 +02:00
twinaphex 57ef160288 Refactor menu_entries_cbs_init_bind_ok 2014-10-12 04:16:39 +02:00
twinaphex 3440b97b4d (menu_entries_cbs.c) Implement action_ok_config_load 2014-10-12 04:11:41 +02:00
twinaphex aa1e56fd29 Move menu_action_ok of MENU_FILE_DIRECTORY and MENU_FILE_CARCHIVE
over to menu_entries_cbs.c
2014-10-12 04:06:36 +02:00
twinaphex ad9e618ec6 Reimplement menu_action_ok - MENU_FILE_CORE actions 2014-10-12 03:57:03 +02:00
Twinaphex 7ee79593a4 Merge pull request #1129 from lakkatv/xmb
XMB
2014-10-12 03:26:13 +02:00
Jean-André Santoni 7be7205880 (XMB)(Lakka)(GLUI) Do not display png background when a content is launched if pause_libretro is false 2014-10-12 03:24:12 +02:00