Commit Graph

26240 Commits

Author SHA1 Message Date
twinaphex dd239fc85d Add HAVE_AVFOUNDATION ifdefs 2016-01-16 22:02:49 +01:00
Twinaphex f8ea62e703 Merge pull request #2649 from pponso1/master
iOS: Adds support for Music.app while RetroArch is running
2016-01-16 21:58:10 +01:00
Phillip Ponson 48b99b1f48 Fixing a build issue. syntax errors. 😣
.
'
2016-01-16 12:48:33 -06:00
pponso1 a983c8269e iOS. Adding support for Music.app.
I had to comment out this line in the showPauseMenu function: 
  
ui_companion_cocoatouch_event_command(NULL, EVENT_CMD_AUDIO_STOP);

This may actually be on the only change needed. 😜
2016-01-16 12:37:09 -06:00
pponso1 3ce5ad9243 iOS. Adding support for Music.app.
Users who want to play games while listening to music should enjoy these modifications. Not the cleanest; refactoring is needed.
2016-01-16 12:25:57 -06:00
pponso1 452c6afaf0 support for playing Music.app in background. 2016-01-16 12:09:44 -06:00
pponso1 212337c7c1 iOS audio support 2016-01-16 11:57:00 -06:00
twinaphex fcc8c5dae7 This is still necessary unfortunately 2016-01-16 16:46:20 +01:00
twinaphex 9f27b9b56d Remove another compile-time ifdef 2016-01-16 16:22:55 +01:00
Twinaphex fbdc30e7bb (OSX) Buildfix 2016-01-16 16:21:39 +01:00
twinaphex b4687fdb2b Check if convertRectToBacking is available at runtime instead
of compile-time
2016-01-16 16:20:19 +01:00
twinaphex a5c83da839 Simplify cocoagl_gfx_ctx_get_video_size 2016-01-16 16:14:25 +01:00
Twinaphex c824f7af15 get_video_size - don't need screen pointer anymore 2016-01-16 13:31:43 +01:00
twinaphex 6a1d423700 (OSX) Cleanup 2016-01-16 13:30:38 +01:00
twinaphex 14ec006412 Cleanup 2016-01-16 13:29:33 +01:00
neville 9a38ec28b0 Get rid of compile-time ifdefs inside get_chosen_screen 2016-01-16 13:23:00 +01:00
Twinaphex 2c42ad3c96 (cocoa_gl_ctx.m) Cleanups 2016-01-16 12:12:07 +01:00
Twinaphex dfe79c3fcd setWantsBestResolutionOpenGLSurface - determine at runtime if we can call
this instead of compile-time
2016-01-16 12:09:50 +01:00
Twinaphex 21dc363e0f backingScaleFactor - cut down on compile-time ifdef - attempt to detect it at runtime 2016-01-16 11:58:36 +01:00
Twinaphex 64fe30281c Cleanup 2016-01-16 11:51:24 +01:00
Twinaphex 302089e8d8 Cleanup 2016-01-16 11:50:44 +01:00
Twinaphex 5a4db266e8 (OSX) Change get_from_selector 2016-01-16 11:49:10 +01:00
Twinaphex 5cc163a10b (OSX) Cleanup 2016-01-16 11:40:48 +01:00
aliaspider 2fb7d32a53 (3DS) another build tools update. 2016-01-16 03:51:48 +01:00
aliaspider 4ec00de5c8 (3DS) update tool 2016-01-16 00:14:54 +01:00
Twinaphex 794bcc53c3 (iOS) Buildfix 2016-01-15 23:15:49 +01:00
twinaphex 4b9fea617c (OSX) Perform selectorOnMainThread - move to applicationDidFinishLaunching 2016-01-15 23:09:50 +01:00
Twinaphex 4fb78bf3cd Merge pull request #2647 from aliaspider/master
(3DS) fixes argv corruption when started from the homebrew launcher
2016-01-15 22:44:40 +01:00
aliaspider a7bd7f332d nit. 2016-01-15 22:35:00 +01:00
twinaphex e4533fb7ec (OSX/iOS) Cleanup 2016-01-15 22:33:25 +01:00
aliaspider 0b4fd4328d - add more heuristics to try to clean up the corrupted argv when using
the homebrew launcher.
- force align the stack pointer to 8 bytes.
- add --gc-sections to the link specs
2016-01-15 22:30:12 +01:00
Twinaphex 8c8a3085a5 (OSX) Buildfix 2016-01-15 22:22:37 +01:00
twinaphex 8323d06d3d (Cocoa) No more dependencies on get_chosen_screen or
get_backing_scale_factor
2016-01-15 22:20:46 +01:00
Twinaphex f35690e2e5 Fixes 2016-01-15 22:16:18 +01:00
twinaphex 09a183df3f (OSX) Create get_backing_scale_factor 2016-01-15 22:15:23 +01:00
Twinaphex 85575f4acc Merge pull request #2646 from diablodiab/master
Add handling of Nvidia Shield Virtual Controller
2016-01-15 21:32:50 +01:00
Diablodiab e738b57cf8 Add handling of Nvidia Shield Virtual Controller
The NVIDIA Button on the Nvidia Shield Controller and inputs received from CEC remotes
are detected as a "Virtual" controller on the Shield TV.

If a virtual controller is detected on the Shield TV before an actual game controller
then it will be configured as "Shield Virtual Device". This allows the use of the
buttons on a CEC remote to control the Retroarch menu and games.

When an actual controller is connected the Virtual Device will be overwritten and
the NVIDIA button of the Virtual device will be mapped to the controller as the
menu button.

This also fixes the situation where you press the NVIDIA Button before any other
button on the game controller and it does nothing. Now it will go into the
Retroarch menu even if it is the first button pressed.

A matching profile for "Nvidia Shield Virtual Controller" has been sent as a pull request to
the "retroarch-joypad-autoconfig" repository.
2016-01-15 18:41:17 +01:00
twinaphex e920e5f1b9 Add early return in case settings is NULL 2016-01-15 15:38:21 +01:00
twinaphex 039e2acc49 Make switch stop complaininig 2016-01-15 14:08:38 +01:00
twinaphex 5f513d2af0 (cocoa_gl_ctx.m) Cleanups 2016-01-15 14:03:56 +01:00
twinaphex 3427d08c34 Do early return in case get_chosen_screen returns NULL 2016-01-15 14:00:11 +01:00
Twinaphex 58ebbdeada Attempt to prevent race issue in get_chosen_screen 2016-01-15 13:58:16 +01:00
Twinaphex 26bcfa8d89 Revert "Refactor function get_float_from_selector - obsolete"
This reverts commit 1b2632e7fa.
2016-01-15 13:03:40 +01:00
twinaphex 1b2632e7fa Refactor function get_float_from_selector - obsolete
hardcoded ifdef
2016-01-15 12:53:33 +01:00
twinaphex 647438ae93 Hopeful buildfix 2016-01-15 12:40:56 +01:00
Twinaphex e2942f2de1 Merge pull request #2644 from diablodiab/master
Extends Android keyboard functionality to allow for more than one keyboard
2016-01-15 09:37:51 +01:00
Diablodiab 9245113738 Fix if clause that could result in a keyboard key being handled as gamepad input 2016-01-14 21:16:54 +01:00
Diablodiab 2c08dc0f4f Extends Android keyboard functionality to allow for up to three keyboards.
This solves the problem with volume buttons on phones being detected as
keyboards and blocking a real keyboard from being mapped afterwards.

Renamed id_1 and id_2 to pad_id1 and pad_id2
Renamed id_3 to kbd_id and change it to an array

Implement function is_keyboard_id(int id) which checks if an id is mapped as
a keyboard
2016-01-14 20:59:25 +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