Commit Graph

158 Commits

Author SHA1 Message Date
twinaphex 1265d7546c Revert "Start using raw constants for OSX version detection"
This reverts commit ab34a70873.
2018-08-31 19:19:42 +02:00
twinaphex ab34a70873 Start using raw constants for OSX version detection 2018-08-30 16:35:44 +02:00
neville d7899c51aa Compatibility fixes for OSX PPC 2018-08-30 16:18:51 +02:00
Twinaphex 2bdffff435 Silence more warnings 2018-06-21 07:34:27 +02:00
Stuart Carnie 411bcf8bdd feat(apple): Metal support for macOS
* includes rgui
* shader support

This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
twinaphex 5bfa63e4bd (Darwin) Fix warnings 2018-01-31 11:23:57 +01:00
twinaphex c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
Justin Weiss 4069ddc926 Expand symlinks in default configuration paths for iOS devices
CFSearchPathForDirectoriesInDomains returns a path in /var, while
getenv(HOME) returns the same path in /private/var. /var is a symlink
to /private/var, but when config is generated, the difference in paths
means they won't be abbreviated correctly.

This change expands symlinks before filling in the default
directories, so those paths will match.
2017-11-22 20:07:27 -08:00
twinaphex 9f2c15c17c (Frontend) Change MENU_SETTING_ACTION to FILE_TYPE_DIRECTORY 2017-05-26 16:45:28 +02:00
twinaphex e2a6a7ad17 Add 'load_content' parameter to parse_drive_list 2017-05-26 15:52:38 +02:00
Twinaphex 37f74de732 (OSX) Buildfix 2017-05-24 20:19:48 +02:00
Fabio Ritrovato 341d1f9528 Fix default record output dir on Mac 2017-05-24 15:48:45 +01:00
twinaphex b70b40969b Set record output/config default dirs for Windows/Linux/Mac 2017-05-24 01:56:09 +02:00
twinaphex ccba9635b6 Update the way default directories are handled 2017-05-23 19:43:58 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex f75fbafeb2 Cleanups 2017-04-28 23:10:24 +02:00
twinaphex 35ac275f62 (OSX) Buildfix 2017-04-28 21:18:35 +02:00
Twinaphex 2606218aa1 Silence implicit declaration warning 2017-01-30 17:35:00 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
Seth Kingsley d79cdffe37 Don't set config path until open_default_config_file()
This allows overriding of the config with --config
2016-12-17 21:06:07 -08:00
Twinaphex ecf60f0ef3 (OSX) Buildfixes 2016-12-13 01:34:55 +01:00
twinaphex 2a139b7d72 Add frontend_driver_attach_console/frontend_driver_detach_console 2016-10-09 17:15:50 +02:00
twinaphex 1b9a067bcc Move code to apple_compat.h 2016-09-14 14:10:39 +02:00
twinaphex 7ac1ed7e10 Cleanups 2016-09-11 14:54:34 +02:00
twinaphex 164d3b034c Get rid of OSX_PPC 2016-09-09 15:56:56 +02:00
twinaphex 87e33c56f1 Add HAVE_CONFIG_H ifdefs 2016-09-08 11:22:08 +02:00
Twinaphex ed5b82f4c2 (iOS) Buildfix 2016-09-05 18:52:52 +02:00
twinaphex ea175fd26f Rename menu_entries_add_enum to menu_entries_append_enum 2016-07-13 01:17:09 +02:00
Yoshi Sugawara 9173397f08 iOS 10 support: cores need to be in the modules directory of app bundle, added script to code sign cores in modules directory 2016-07-10 09:02:40 -10:00
twinaphex e9dc729503 Create set_signal_handler_state 2016-07-08 12:48:01 +02:00
twinaphex 05467443a2 Add destroy_signal_handler_state 2016-07-08 02:24:56 +02:00
twinaphex a735114780 Add get_signal_handler_state 2016-07-08 02:20:42 +02:00
twinaphex 6cdc34e891 Add install_signal_handler callback 2016-07-08 02:10:40 +02:00
twinaphex c2c59e8e16 Buildfix for consoles 2016-06-20 16:02:06 +02:00
twinaphex 35b078857d Create file_path_str.c 2016-06-20 05:20:14 +02:00
twinaphex 65dff0a03a menu_hash_to_str_enum has now become msg_hash_to_str 2016-06-20 00:31:13 +02:00
twinaphex ae2be8b53b Replace most menu_entries_add function calls 2016-06-16 22:03:12 +02:00
twinaphex dae55553b7 Rename memory_free to memory_used 2016-06-12 20:50:03 +02:00
twinaphex 8431b63235 Exclude this code for OSX PPC for now 2016-06-12 18:52:30 +02:00
Twinaphex a01985273b Implement frontend_darwin_get_mem_free 2016-06-12 18:42:03 +02:00
Twinaphex 19d4498d2c (iOS) Buildfix 2016-06-12 14:17:07 +02:00
Twinaphex ae894fb015 Implement frontend_darwin_get_mem_total 2016-06-12 13:49:00 +02:00
twinaphex 9a25826ae9 Create get_mem_free callback 2016-06-12 12:44:28 +02:00
twinaphex f0e05ecbc8 Start adding get_total_mem callback 2016-06-12 02:33:07 +02:00
twinaphex 091496f74d Add ARMv7 entry too 2016-05-18 22:09:01 +02:00
twinaphex da6a301a6e (Frontend) Cleanups 2016-05-02 15:20:20 +02:00
Twinaphex 84f9a4c1d7 (OSX) Path fix 2016-05-02 15:10:20 +02:00
twinaphex 78c13f59d0 (iOS) Build fix 2016-05-02 14:52:26 +02:00
twinaphex da8a9bfeba Standardize config/remaps directories 2016-05-02 14:45:23 +02:00
twinaphex 6c243ef6fe Cleanups 2016-05-02 13:23:47 +02:00
Twinaphex e135f0b209 (iOS) Add default directory for playlists 2016-05-01 15:30:25 +02:00
Twinaphex 65dfddd910 (OSX) Start using Library/Application Support for config file settings 2016-05-01 15:28:45 +02:00
Jean-André Santoni 7b8c108b5f (OSX) Add a default path for the thumbnails dir. May fix #2924 2016-04-30 14:33:57 +07:00
Twinaphex e3dfa361f0 (iOS/OSX) Buildfixes 2016-04-28 20:51:08 +02:00
twinaphex 7e7a1fa5f9 Rename menu_entries_push to menu_entries_add 2016-04-11 05:49:39 +02:00
twinaphex 2e14d0979b Header include cleanups 2016-03-22 03:13:33 +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 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 a3033c2f66 Buildfixes 2015-12-06 18:12:49 +01:00
twinaphex 29dcf06a2e Move ui_companion_driver code all to ui_companion_driver.c 2015-12-05 09:55:13 +01:00
Twinaphex 5974f81ed8 (OSX) Buildfixes 2015-11-23 12:07:00 +01:00
Twinaphex 0223290fad Revert "(iOS) Use the sandboxed Documents directory"
This reverts commit 13b8b957b2.
2015-11-19 02:38:33 +01:00
twinaphex 13b8b957b2 (iOS) Use the sandboxed Documents directory 2015-11-18 03:27:50 +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
twinaphex 0dc9c8df95 Rename extraction_directory to cache_directory 2015-10-27 00:48:35 +01:00
Twinaphex 9302ce939b Only use RELEASE_BUILD on OSX 2015-10-21 23:40:23 +02: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
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 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 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 b9569296d5 (platform_darwin.m) Add unistd.h 2015-07-25 14:50:40 +02: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
twinaphex e8914563d8 Change "core_assets" dir to "downloads" 2015-07-04 21:44:02 +02:00
twinaphex 362d8025d8 Add g_defaults.core_assets_dir 2015-07-04 04:47:14 +02:00
twinaphex 225187dbd0 (platform_darwin.m) Include "../../menu/menu.h" 2015-06-18 10:13:29 +02:00
twinaphex a2c8f89137 Create frontend->parse_drive_list 2015-06-15 22:45:02 +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