Commit Graph

3619 Commits

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