118 Commits

Author SHA1 Message Date
Brad Parker
1c9ac4e825 osx: add cpu model name 2019-02-23 17:29:08 -05:00
Brad Parker
e22148fed4 show cpu model name in log, implemented for x86/64 on windows/linux so far 2019-02-23 16:50:42 -05:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
Yoshi Sugawara
11bf1e05b1 remove logging code 2019-02-03 08:59:24 -10:00
Yoshi Sugawara
57c6686a19 fixed setting CFDocumentDirectory to not be iOS specific and respect other apple environments 2019-01-30 00:35:51 -10:00
Yoshi Sugawara
a18512375b Support for tvOS
- add tvOS target
    - support code signing tvOS cores by adding an argument to the code signing cores script
    - use NSCachesDirectory for the documents directory
    - add some mfi controller handling logic to set non-game controllers to the last index to avoid interfering with operation
    - autodetect mfi controller for apple tv on startup - added autodetect to hid joypad
    - added a webserver to transfer files for tvOS
    - xcode: clean up project, remove unused folders
    - remove HAVE_MATERIALUI setting for tvos build, make it use XMB as default
    - added retroarch app icon courtesy of @MrJs
    - added auto-detect of mfi controller for apple tv
2019-01-29 10:13:46 -10:00
Stuart Carnie
98e6adcfca
chore(cocoa): Remove Gestalt compiler warnings for macOS 10.13+ 2018-11-06 07:56:04 -07:00
Stuart Carnie
1264e9c533 fix(Metal): Use ifdef syntax; add correct default for Metal build 2018-09-01 11:58:37 -07:00
neville
bd43682341 Use dynamic lookup code path 2018-08-31 19:37:40 +02:00
twinaphex
a58511ec00 Revert "Compatibility fixes for OSX PPC"
This reverts commit d7899c51aa7ef7b752be97409dafdca8d9597e11.
2018-08-31 19:20:10 +02:00
twinaphex
1265d7546c Revert "Start using raw constants for OSX version detection"
This reverts commit ab34a70873637232be341f1c07544d9749e6dddb.
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