Twinaphex
f3b4aa0262
(Apple) Move more code to apple_gfx_context.c.inl
2014-10-03 20:28:16 +02:00
twinaphex
e6e3a01966
(Apple) Move some code to apple_gfx_context.c.inl
2014-10-03 20:19:04 +02:00
Twinaphex
807818d4c6
(Apple) Reimplement input - get rid of g_current_input_data global
...
and instead initialize driver.input_data
2014-09-30 15:44:40 +02:00
Twinaphex
f137f680c3
(Apple) Refactor apple_input_data_t
2014-09-30 15:03:22 +02:00
Twinaphex
d8100d299a
(iOS) Build fixes
2014-09-28 07:01:39 +02:00
Twinaphex
89654e68ce
(Apple OSX) Implement GL shared contexts (preliminary) - currently
...
stubbed out because it makes it very slow
2014-09-27 19:51:23 +02:00
Twinaphex
1294d10c24
(Apple) Implement apple_gfx_ctx_bind_hw_render
2014-09-27 19:04:52 +02:00
Twinaphex
df2f7021fd
(Apple) Properly implement apple_gfx_ctx_init/apple_gfx_ctx_destroy
2014-09-27 17:20:05 +02:00
twinaphex
6807605e4e
(Apple) Update apple_gfx_context.c.inl
2014-09-27 16:48:00 +02:00
Lioncash
1e02afcbdf
iOS: Get rid of some unsigned/signed comparison warnings.
2014-09-20 21:48:36 -04:00
Lioncash
c4034080ac
iOS: Fix switch warning in RAGameView.m
2014-09-20 17:31:03 -04:00
Twinaphex
cfd078812e
(Apple) iOS Xcode 6 build fix
2014-09-20 05:26:33 +02:00
twinaphex
75d2e13dcb
Make drivers non-const
2014-09-11 07:06:20 +02:00
Lioncash
0ddea1e970
Remove some redundant casts on OSX
2014-09-06 01:05:22 -04:00
twinaphex
72e556083c
Rename core_info_has_custom_config to core_info_get_custom_config
2014-08-18 13:01:31 +02:00
twinaphex
57dae32b66
Refactor away core_info_get_custom_config
2014-08-17 17:42:45 +02:00
Twinaphex
0d4b80b010
(Apple) Move apple/common/hidpad files to input/
2014-08-13 23:56:51 +02:00
Twinaphex
1f89d6628f
(Apple) Build fixes
2014-08-09 10:25:33 +02:00
Twinaphex
89ace6c9ba
(Apple) Build fix
2014-08-02 14:06:14 +02:00
Twinaphex
f0b4388eb1
(OSX) Replace apple_rarch_exited call with main_exit
2014-07-24 04:39:33 +02:00
Twinaphex
754eceb5e2
(OSX) apple_run_core - Fix build
2014-07-24 04:35:04 +02:00
Twinaphex
350913daa7
(Apple) Refactor apple_run_core
2014-07-24 04:32:46 +02:00
twinaphex
0f6f14aff3
(Apple) common/main.m - some cleanups
2014-07-24 03:42:03 +02:00
Twinaphex
624a983d8e
(Apple) Rewrite apple_run_core
2014-07-22 18:43:49 +02:00
Twinaphex
aa078cdae8
(Apple) Implement frontend_apple_shutdown
2014-07-22 05:13:48 +02:00
Twinaphex
304af2f398
(Apple) Get rid of apple_export.h
2014-07-22 02:46:58 +02:00
Twinaphex
5db9e93aea
(Apple) Build fix
2014-07-22 02:21:23 +02:00
twinaphex
4b0f3584e0
Create rarch_main_command - command.c could maybe later be made
...
more generic so we can just do this through command.c functions
locally
2014-07-22 02:14:52 +02:00
Twinaphex
c1fa603a0f
(iOS) Menu - cleanups
2014-07-21 09:04:45 +02:00
Twinaphex
c38d0a86d0
(Apple) Just call rarch_main instead of apple_rarch_load_content
2014-07-21 07:45:05 +02:00
Twinaphex
95260e6b83
(Apple) Remove apple_core
2014-07-21 04:34:53 +02:00
Twinaphex
d89b65140b
(Apple) Reduce dependencies on apple_core
2014-07-21 04:21:29 +02:00
Twinaphex
f64b772ceb
(Apple) Refactor away apple_get_core_id
2014-07-21 02:35:07 +02:00
Twinaphex
1754acb500
(iOS) Get rid of apple_get_core_display_name
2014-07-20 22:20:32 +02:00
Twinaphex
86fa191ae7
(Apple) Cleanups
2014-07-20 07:00:02 +02:00
Twinaphex
aa04b48579
(Apple) Remove configDirectory
2014-07-20 01:14:16 +02:00
Twinaphex
7580058c22
(Apple) Get rid of coreDirectory
2014-07-20 00:07:40 +02:00
Twinaphex
3242cc998a
(Apple) Get rid of globalConfigFile
2014-07-19 22:17:42 +02:00
Twinaphex
ba99ec92ee
(Apple) Get rid of objc_get_value_from_config
2014-07-19 17:53:24 +02:00
Twinaphex
34002c0e10
(Apple) Don't have ifdef IOS conditional in apple_run_core
2014-07-19 17:28:06 +02:00
Twinaphex
e4786cfcf6
(iOS) Build fix
2014-07-19 02:26:21 +02:00
twinaphex
9ac52de4df
(Apple/iOS) Remove some unused settings - apple_use_tv_mode and ios_file_log
2014-07-19 02:25:17 +02:00
Twinaphex
38de4198a3
(Apple) Change some comments
2014-07-14 03:35:15 +02:00
Twinaphex
74f36b3878
(Apple) Get rid of g_initialized variable
2014-07-11 02:24:11 +02:00
Twinaphex
0b3ef0b2ce
(Apple) Get rid of apple_is_paused extern global var
2014-07-10 22:05:08 +02:00
Twinaphex
7dc418fcdd
(Apple) Got rid of apple_is_running global variable
2014-07-10 22:02:54 +02:00
twinaphex
a19d2e2853
(iOS GC) Get rid of superfluous inline function
2014-07-09 13:48:43 +02:00
twinaphex
4431989515
(Apple) Move variables to apple_gfx_context.c.inl
2014-07-09 13:39:43 +02:00
twinaphex
b6c17a79bb
(Apple) Cleanups to get_chosen_screen
2014-07-09 13:34:50 +02:00
twinaphex
063756d5fd
(Apple) Move get_chosen_screen to apple_gfx_context.c.inl
2014-07-09 13:32:43 +02:00
twinaphex
ac18c07e74
(Apple) Split up iOS camera and location code into separate files
2014-07-09 13:27:30 +02:00
twinaphex
5d4d5eb589
(Apple) Cleanups
2014-07-09 13:20:12 +02:00
twinaphex
0551e95ebe
(Apple) Cleanups to RAGAmeView.m
2014-07-09 13:15:36 +02:00
twinaphex
3d9e679d6a
(Apple) Delete rarch_wrapper.h
2014-07-09 13:06:54 +02:00
twinaphex
22a8d152cf
(Apple) Get rid of rarch_wrapper.h
2014-07-09 13:06:24 +02:00
twinaphex
652499770f
(Apple GL context) Move gfx_context C files to Obj-C .m file
2014-07-09 13:03:58 +02:00
twinaphex
ac941c18a3
(Apple) Move location/camera code into separate files
2014-07-09 12:56:29 +02:00
twinaphex
d02ff97ca5
(Apple) Nit
2014-07-08 13:03:51 +02:00
twinaphex
8e99ac5aff
(Apple) MFi - style nit
2014-06-13 21:03:13 +02:00
twinaphex
174aec61a0
(Apple) Typo fix
2014-06-11 01:52:43 +02:00
twinaphex
6417871a0c
(Apple) Cleanup to hidpad/apple_ps3_pad.c
2014-06-11 01:51:11 +02:00
twinaphex
a8c7becf59
(Apple) Build fix
2014-06-01 23:06:17 +02:00
twinaphex
e6c36d5cda
(OSX PPC) Return mainScreen always for 10.5 and below in
...
function get_chosen_screen
2014-05-23 00:55:09 +02:00
twinaphex
f8f5a4a108
(iOS) Fix backwards compatibility with iOS 6
2014-05-17 03:56:39 +02:00
twinaphex
72beeba8b0
(Apple) Fix OSX build
2014-05-16 23:30:43 +02:00
Ori Kadosh
16cf2a0e52
fixed MFi controller support
2014-05-16 19:57:38 +03:00
twinaphex
9d00e3af1b
(Apple) Style nits
2014-05-12 15:17:08 +02:00
twinaphex
3296b9575c
(Apple) Style nits
2014-05-11 01:59:24 +02:00
twinaphex
7306a124d6
(Apple) apple_display_alert - turn two NSString *params into const char*
2014-05-03 21:34:13 +02:00
twinaphex
b765ac5634
(Apple) Nits
2014-05-03 19:14:19 +02:00
twinaphex
99b7a5532f
(Apple) Cleanup Xcode projects a bit - don't include headers
2014-05-03 19:12:00 +02:00
twinaphex
de7cf52227
(Apple/General_) Turn setting_data into general code - this code
...
will be used for exposing a list of generic menu settings to
WIMP menus and other such things (already used by the Apple port
in tihs way)
2014-05-03 18:38:29 +02:00
twinaphex
5678a7854f
(Apple) Build fix
2014-05-03 07:17:59 +02:00
twinaphex
5033a39a1d
(Apple) Move some C common code from ObjC file to platform_apple.c
2014-05-03 07:11:23 +02:00
twinaphex
8d8fb6f988
(Apple) Build fix
2014-04-26 21:48:42 +02:00
twinaphex
0ddc7d57fd
Add core_info/rom_history extensions from Apple ports to mainline
2014-04-26 21:42:06 +02:00
twinaphex
36c121dc83
(Apple) Build fixes
2014-04-26 17:47:21 +02:00
twinaphex
1410b6937e
(Apple) Move Apple input files around - rename files
2014-04-26 17:39:46 +02:00
twinaphex
02b0844061
(Apple) Style nits and cleanups
2014-04-26 04:49:47 +02:00
twinaphex
91faa161af
(Apple) Style nits
2014-04-26 03:58:07 +02:00
twinaphex
2fc75bb4c5
(iOS) Fix warning
2014-04-26 03:27:33 +02:00
twinaphex
366d2d1879
(Apple) More style nit cleanups
2014-04-26 03:18:52 +02:00
twinaphex
f72de0030f
(Apple) Cleanups
2014-04-26 03:14:53 +02:00
twinaphex
70164a8105
(PPC) Build fix
2014-04-19 21:40:42 +02:00
twinaphex
0e45b11246
(Apple) Style nits
2014-04-19 20:16:29 +02:00
twinaphex
8e015a71b4
(Apple) Build fix
2014-04-17 22:10:37 +02:00
twinaphex
569de131a0
Move device enums outside of driver.h - and create new callback
...
for 'getting' the number of 'devices' the input driver supports
2014-04-17 20:47:43 +02:00
twinaphex
d17392b835
(OSX) Fix some warnings
2014-04-15 16:53:38 +02:00
twinaphex
fb579c24be
(iOS) Fix some warnings in apple_gamecontroller.m
2014-04-14 20:50:10 +02:00
twinaphex
d890a44f7a
(Apple) Build fix for Snow Leopard
2014-03-10 06:10:34 +01:00
Themaister
d3c0431a3b
Update more context backends ...
2014-03-09 17:11:06 +01:00
Themaister
fce4ebd31e
Move core_info to frontend/info.
2014-03-01 11:53:04 +01:00
twinaphex
8536488955
(OSX PPC) Reduce errors from 15 to 12 - OSX PPC is pre-10.6
2014-02-22 13:50:45 +11:00
twinaphex
efd413de62
(OSX PPC) Build fixes
2014-02-11 19:03:38 +11:00
twinaphex
75e7d10eba
(OSX PPC) Build fixes
2014-02-11 18:49:49 +11:00
twinaphex
131ea08c26
(OSX PPC) Down to two errors now - implicit declaration of function
...
vec_splats - incompatible types in initialization (Altivec)
2014-02-11 18:19:15 +11:00
twinaphex
50f284e1cb
(OSX PPC) Relative paths
2014-02-11 16:30:11 +11:00
twinaphex
c42a00a39f
(OSX PPC) Change anonymous unions, define GLint64/GLuint64/GLsync
...
for Leopard and Snow Leopard, other changes..
2014-02-11 16:07:00 +11:00
twinaphex
460670f074
Move sensor value reading to retro_sensor_interface
2014-01-20 14:52:53 +01:00
meancoot
8b8ebe0a06
(Apple) Don’t report out of bounds touches as being pressed.
2014-01-16 15:07:10 -05:00
meancoot
b530dce2d2
(iOS) Add ‘Small Keyboard’ input mode which repurposes certain keys while right shift is held.
...
Notably the tilde, number keys, minus and equals are changed to send Escape and F1-F12. This is useful on iPad specific keyboards where these keys are otherwise unavailable.
2014-01-16 15:07:10 -05:00
meancoot
2445225526
(Apple) Fixup mapping joypads from RGUI.
2014-01-12 20:56:16 -05:00
meancoot
5747106e64
(Apple) Add keyboard event+character data support. (No char data for iOS)
2014-01-09 18:16:55 -05:00
meancoot
2a341ac15c
(Apple) Add analog stick support for classic controller. You need to rotate the stick 360 degrees to calibrate it. (Todo: Document this somewhere!)
2014-01-07 22:08:09 -05:00
twinaphex
de703eee52
(Apple) Ifdef code with HAVE_LOCATION and HAVE_CAMERA
2014-01-06 16:27:30 +01:00
Twinaphex
e7cf6d1672
Merge pull request #461 from libretro/kb_overlay
...
Support for keyboard keys on overlays.
2014-01-06 05:51:05 -08:00
meancoot
e2ffb51c2d
(iOS) Fix brutal BTstack lag
2014-01-05 20:12:04 -05:00
meancoot
aa23e81cca
(Apple) Fix building for 32-bit OSX
2014-01-05 14:56:45 -05:00
meancoot
b5ea9b4eb9
(OSX) Use more sane default config path.
2014-01-03 17:16:02 -05:00
meancoot
3a5e9ff79a
(iOS) Make cocoa menu button image show up more constantly.
2014-01-02 16:42:28 -05:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
twinaphex
255c3dcbd4
(iOS) Add IOS_IS_VERSION_6_OR_LOWER() macro
2013-12-30 17:35:18 +01:00
twinaphex
4acd75155f
(iOS) Fix/refactor iOS major version detection
2013-12-30 17:31:16 +01:00
twinaphex
65ed3ab052
(iOS) Fix iOS 7 detection for new gamepad interface
2013-12-30 17:20:13 +01:00
twinaphex
ac70e929be
(Apple) Style nits - early return instead of encapsulating
...
entire function into one big int block - make a function out of
iOS 7 version detection - might need to be hosed outside of apple_gamecontroller.m someday
2013-12-30 17:17:35 +01:00
meancoot
75ff8e55c7
(Apple) Add setting range enforcement.
2013-12-29 16:00:21 -05:00
twinaphex
b41c3cc6bd
(iOS) Make apple_gamecontroller 'backwards compatible' with iOS 6
...
by doing runtime check for iOS version and then returning early
2013-12-28 21:49:31 +01:00
twinaphex
ff036066e2
Rework frontend - separate functions now for iterating per frame
...
and for doing teardown - Emscripten and Apple ports can make use
of this now so we don't need separate frontend implementations
2013-12-28 21:08:30 +01:00
twinaphex
43cc675a49
(OSX) Build fix
2013-12-28 17:05:05 +01:00
meancoot
aee6bce679
(iOS) Add initial MFi game controller support.
2013-12-27 20:13:24 -05:00
meancoot
dab783a7fd
(iOS) Long pressing on a setting menu item will give the option to reset it to default. (Except booleans)
2013-12-26 16:18:28 -05:00
meancoot
2bfcb8e4e8
(Apple) Add some extra location manager logging.
2013-12-26 13:28:12 -05:00
Themaister
b23ff3b663
Refactor content_directory.
...
It shouldn't be RGUI browser dir. Instead it is a more developer centric
option for when libretro apps are distributed (along with RetroArch for
example). Also facilitates a standardized assets folder later on if
applicable.
2013-12-26 02:03:11 +01:00
meancoot
1eafcfe1a2
(iOS) Build fix
2013-12-25 10:00:14 -05:00
meancoot
87fff22956
(iOS) Add some common settings to the root of the core settings menu; Add some default paths; Add a default overlay
2013-12-25 09:52:09 -05:00
twinaphex
40d7eb40bd
(Apple) Some minor cleanups to location manager code - still only reports a few initial
...
locations and nothing afterwards
2013-12-25 05:04:49 +01:00
twinaphex
d1bdd4bd97
(Android/Apple) Set default opacity to 0.7f
2013-12-25 02:41:37 +01:00
twinaphex
204113e389
Add environ callback to expose 'Content Directory' path to core -
...
and refactor g_settings.rgui_browser_directory
2013-12-25 02:31:35 +01:00
meancoot
0ba6bd8094
Merge branch 'apple_no_thread'
2013-12-24 17:29:33 -05:00
meancoot
2ae0356081
(iOS) Pass BTstack messages through RARCH_LOG; patch the logger to print to stdout when building for the simulator.
2013-12-24 15:27:44 -05:00
meancoot
06c3cc1cb8
(iOS) Fixes:
...
Only display the limited permissions warning if the content actually failed to load.
Fix loading a second game through the cocoa menu.
2013-12-24 14:21:57 -05:00
meancoot
090c0d8e84
Merge branch 'master' into apple_no_thread
2013-12-24 14:11:39 -05:00
meancoot
0b17dc0d47
(iOS) Changes:
...
Allow requesting to browse for a directory.
Allow requesting the browser to display an option to return a black item.
Swap the ‘Up’ and back buttons in the browser.
Properly reset string settings that were changed in rgui.
2013-12-24 14:03:43 -05:00
meancoot
839a5529b8
Merge branch 'master' into apple_no_thread
2013-12-23 21:03:14 -05:00
twinaphex
b884faa2b1
(OSX) OSX 10.6.8 (Snow Leopard) works now - can get into RGUI
2013-12-23 04:23:46 +01:00
meancoot
2f3a79c0af
(Apple - No Thread) Fix crash when backgrounding the app.
2013-12-22 21:34:47 -05:00
meancoot
f3d5a44e76
(Apple - No Thread) Fix performance regression.
2013-12-21 21:58:19 -05:00
meancoot
f069c82417
(Apple) First pass at removing UI/RetroArch thread split.
2013-12-21 19:42:10 -05:00
meancoot
f0bdd1286d
(Apple) Work around thread issues for the location driver.
2013-12-21 18:48:13 -05:00
twinaphex
b0a6a5f118
(Apple) Set distance filter to kCLDistanceFilterNone - should report every
...
movement change - still not calling didUpdateLocations though
2013-12-21 19:01:10 +01:00
meancoot
09dc8295d6
(iOS) Fix issues with orientation locking.
2013-12-20 19:20:01 -05:00
twinaphex
24dc89f42e
(Apple) Build fix
2013-12-19 17:39:04 +01:00
twinaphex
da6e360e49
(Location) Implement horizontal and vertical accuracy - Android's
...
location API only provides horizontal API but iOS/OSX API supports
both horizontal and vertical. Maybe consider implementing vertical
accuracy for Android by hand later
2013-12-19 17:36:27 +01:00
twinaphex
4ad6631812
(Apple) Location interface fixups
2013-12-19 15:58:15 +01:00
twinaphex
f0aa0f99fd
(Location) Reimplement some parts of the location interface - get_latitude
...
and get_longitude are gone now in place of get_position. Basically,
from C land we basically do a poll-style queries, but on the
implementation side (ie. Android/iOS/OSX) - they all use callback-based
location updates. So we simply check in the poll function (get_position)
whether position has changed, and if so, update the pointer values and
return true - if not, set them to 0 and return false.
2013-12-19 15:47:47 +01:00
twinaphex
d092413d63
(Apple/Location) Build fixes
2013-12-19 03:41:28 +01:00
twinaphex
e983aa4c35
(Location) Implement stub Android location driver - will still need
...
a couple of functions filled in
2013-12-19 03:37:26 +01:00
twinaphex
5f33a6b373
(Apple) Implement HAVE_LOCATION for OSX/iOS
2013-12-19 02:39:38 +01:00
twinaphex
5dc5193ebc
(OSX/iOS) Add onLocationGetLatitude/onLocationGetLongitude
2013-12-15 19:26:04 +01:00
twinaphex
f970b4835d
(iOS/OSX) Implement didUpdateToLocation and didUpdateLocations
2013-12-15 19:01:47 +01:00