Commit Graph

3363 Commits

Author SHA1 Message Date
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