Commit Graph

246 Commits

Author SHA1 Message Date
twinaphex
9a547c92cf (iOS) Fixes to internal logging 2013-11-25 16:34:11 +01:00
twinaphex
97cec15dcd (iOS) Will now log to XCode organizer device console 2013-11-25 15:12:59 +01:00
twinaphex
e2259c1016 (iOS) Change default_libretro_info_path 2013-11-25 02:39:41 +01:00
twinaphex
92ba397519 (OSX) apple_display_alert - backwards compatible now for OSX 10.6 2013-11-22 16:53:10 +01:00
twinaphex
7728692e73 (OSX) Make apple_gfx_ctx_get_video_size backwards compatible with OSX 10.6 2013-11-22 16:38:19 +01:00
twinaphex
d45bf7db1f (OSX) apple_run_core - get rid of unneeded strlcpy call 2013-11-22 16:16:07 +01:00
twinaphex
a1321689ac (OSX) Make apple_run_core backwards compatible with OSX 10.6 2013-11-22 16:13:55 +01:00
twinaphex
a96e813fe1 (Apple) Big merge - merge ios_ui_refactor by hand - note to meancoot -
don't let a branch get out of date for this long - merging it by
hand was not pretty
2013-11-22 15:30:02 +01:00
twinaphex
0386ae6e1b (Apple) Get rid of unused ios_get_rarch_system_directory 2013-11-22 02:04:45 +01:00
twinaphex
a6e012e747 (iOS) Refactor out path_make_and_check_directory 2013-11-22 01:56:54 +01:00
twinaphex
c51d5bcd57 (Apple) Build fix 2013-11-22 01:42:20 +01:00
twinaphex
afb2419235 (Apple) Move rarch_main_spring from ObjC source file to C (platform_apple.c) 2013-11-22 01:36:35 +01:00
Squarepusher
6500f9bd21 (iOS) Get rid of 'unused variables' warnings 2013-11-22 01:28:54 +01:00
Squarepusher
3f47951d3d (Apple) Build fix 2013-11-22 01:10:35 +01:00
twinaphex
b1003b7640 (Apple) Move code out of main.m (ObjC) and into platform_apple (C) 2013-11-22 00:57:39 +01:00
twinaphex
70f696bc56 (Core_info) Backport maister patch from two months ago - Start implementing
firmware detection
2013-11-21 23:48:31 +01:00
twinaphex
ed8229e2f9 (Apple) Make apple_gfx_ctx_get_proc_address backwards compatible
with Snow Leopard
2013-11-09 07:07:35 +01:00
twinaphex
892e150953 (Apple) Use recommended project settings 2013-11-09 01:52:18 +01:00
twinaphex
611ca465fe (OSX) get_chosen_screen - should now compile for Snow Leopard and up 2013-11-09 01:49:22 +01:00
twinaphex
223448d943 (Apple) Build fix for platforms where we have ARC
enabled - can't use NSAutoreleasePool directly it seems
2013-11-09 01:37:34 +01:00
twinaphex
03495fdc3a (OSX) Replace some ObjC literals for Snow Leopard backwards
compatibility - should be code reviewed
2013-11-09 01:15:38 +01:00
twinaphex
9b34000434 (OSX) ifdef NSOpenGLPFAOpenGLProfile with MAC_OS_X_VERSION_10_7 - Core GL
profile only available from 10.7 and up
2013-11-09 00:41:00 +01:00
twinaphex
6670766bb6 (OSX) Simplify NSScreen - bounds 2013-11-09 00:24:34 +01:00
twinaphex
c49e9b51af (OSX) Snow Leopard backwards compatibility - NSScreen implementation -
bounds function - first convert NSRect to CGRect, then use CGRectGet*
functions on them
2013-11-09 00:10:00 +01:00
Daniel De Matteis
fad421e381 (OSX) get_chosen_screen - make it backwards compatible with Xcode 3.2/
Snow Leopard - meancoot - please code review
2013-11-08 23:57:57 +01:00
twinaphex
7195a3672c Define HAVE_MENU for BB10/Playbook/OSX/iOS project files 2013-11-08 04:56:18 +01:00
twinaphex
da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex
b126cb59d7 (Apple) Fix build 2013-11-03 04:47:29 +01:00
twinaphex
c0e02d3957 (Android/General) Add preliminary sensor support to libretro API /
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
twinaphex
3e8166bfa5 (Input) Add new function to input driver - get_capabilities 2013-11-02 21:16:57 +01:00
twinaphex
849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
Themaister
fee10d3d76 Fix OSX/Windows build. 2013-10-08 22:49:50 +02:00
twinaphex
c0c6ecc6cb Rewrite gfx_get_fps - now outputs proper string for FPS output 2013-10-07 20:17:07 +02:00
twinaphex
4e7abfb6ad (Apple) Build fix for RAModuleInfo.m 2013-10-06 13:58:21 +02:00
Squarepusher
8a674d07e9 Merge pull request #326 from libretro/coreinfo
Integration of core info files in RGUI.
2013-10-06 04:54:46 -07:00
twinaphex
abb829283b Take out messy Dpad emulation code - this will require an entire
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
Themaister
a470ae0d04 Use consistent namespace for core_list. 2013-10-05 13:48:08 +02:00
twinaphex
8292c24438 Move info files over to libretro-super 2013-10-05 03:56:46 +00:00
twinaphex
f44d6f3526 Add more info files 2013-10-05 03:55:22 +00:00
meancoot
ad6aebb277 (Apple) Add rumble support for DualShock 3 controllers. 2013-10-03 18:04:28 -04:00
meancoot
fae300aaaf (Apple) Rework gamepad connection management; fix BTstack support when building with the iOS 7 SDK. 2013-10-03 17:43:41 -04:00
twinaphex
351108f494 (OSX) Update pbxproj - make architecture/deployment OSX/default compiler/C++ dialect more generic (for backwards compatibility Snow Leopard etc) 2013-09-30 16:05:41 +02:00
Themaister
7855781cd8 Hook up rumble interfaces to input drivers. 2013-09-25 22:59:05 +02:00
meancoot
50cca385e6 (iOS) Fix issue where file would be deleted even if the confirmation dialog is canceled. 2013-09-24 20:35:56 -04:00
meancoot
0ddf198875 (Apple) Objective C refactoring:
All properties are marked (nonatomic)
	All table view cell reuse identifiers are now constant string objects.
	Where appropriate all calls to [RetroArch_iOS get] are replaced with self.navigationController.
	All calls to objc_setAssociatedObject use proper keys rather than string literals.
2013-09-24 20:29:12 -04:00
meancoot
8272d1cd68 (iOS) Clean up and refactor apple/iOS/browser.m. All of the file management actions are accessed by long pressing a list entry rather than an accessory button. 2013-09-24 19:34:59 -04:00
twinaphex
80f8b3b480 Add Dinothawr module info file 2013-09-24 03:24:04 +02:00
meancoot
13fac45830 (iOS) File browser features:
It's now possible to rename files.
	Allow moving a file into its parent directory.
2013-09-21 19:27:00 -04:00
meancoot
7319260957 (iOS) Add iCade toggle option to prevent OSK from popping up 2013-09-20 19:04:46 -04:00
meancoot
1b9b2f4cc2 (iOS) First draft of iCade support for iOS 7 2013-09-20 17:49:18 -04:00
meancoot
a34cfadff1 (iOS) Fix hiding the status bar while the game is running on iOS 7.
Enable all game orientations if .RetroArch/frontend.cfg is not present.
2013-09-20 15:14:38 -04:00
meancoot
a0e8f7ce13 (OSX) Don't leak memory for NSScreen objects 2013-09-19 14:17:32 -04:00
meancoot
97c94a6ea7 (OSX/iOS) Refactor RAGameView.m to be more straightforward. 2013-09-13 16:22:04 -04:00
meancoot
9a2a7854ea (OSX) Disable two warnings (shorten-64-to-32 and constant-conversion) that together accounted for over 100 warning messages. Mostly caused by mixing size_t and 'unsigned' types. 2013-09-12 22:12:51 -04:00
meancoot
d92fb6ac9c (OSX) Now when video_monitor_index is out of range a warning is logged and the main screen is used instead. Previously a modal error was displayed and retroarch would exit when it was dismissed. 2013-09-12 18:42:39 -04:00
meancoot
52d62741a9 (OSX) Fix build 2013-09-11 19:22:12 -04:00
meancoot
083f1cdffe (OSX/iOS)
Move Wii and PS3 hid drivers into the common source directory.
        Use the Wii and PS3 hid drivers on OSX when appropriate.
	Notably OSX now has WiiMote support.
2013-09-11 19:17:58 -04:00
meancoot
3b27a50625 (OSX) Improvements:
Pause emulation while settings window is open
	Allow negative numbers to be input in the settings list
	Don't crash when changing a setting value to an empty string
2013-09-10 19:47:24 -04:00
meancoot
ff61d97a06 (OSX) Clear state when a gamepad is disconnected while running; any newly connected pad will occupy the lowest open slot 2013-09-10 19:23:24 -04:00
meancoot
c3909c6468 (Apple) Start to clean the objective-c code 2013-09-10 19:23:24 -04:00
meancoot
29fdf1fd7e (OSX/iOS) Consolodate key map tables and binding routines 2013-09-09 17:52:02 -04:00
meancoot
0b7de206de (OSX) Only allow numeric input for integer and float settings 2013-09-08 22:41:01 -04:00
meancoot
837c96bbc8 (OSX) Add system key items to the settings menu; fix a few warnings 2013-09-08 19:39:28 -04:00
meancoot
081e526bf9 (OSX) Support video_monitor_index and audio_device settings 2013-09-07 21:30:58 -04:00
meancoot
a180b589b1 (OSX) Hide mouse cursor in fullscreen mode 2013-09-06 15:11:00 -04:00
meancoot
20001489ac (OSX) Update gfx_context:
Now resizes window when asked
   Displays proper title in window
   No longen prints Cocoa warning at start up
   Now supports the pause_nonactive feature
2013-09-05 14:38:40 -04:00
meancoot
d031d38e49 (OSX) Set player ID LEDs on connected PS3 pads 2013-09-05 13:03:37 -04:00
meancoot
cb55a1d45a (Apple) Reorganize source tree 2013-09-05 01:24:27 -04:00
meancoot
cce58a829a (OSX) Fix XCode release flags 2013-08-27 18:31:32 -04:00
meancoot
851a56195a (OSX) Add command line support; only arguments passed after an -- argument are passed to retroarch (eg retroarch -- /path/to/game) 2013-08-27 12:07:59 -04:00
meancoot
6372e755c4 (OSX) Add proper full screen tracking 2013-08-27 11:37:21 -04:00
meancoot
253bb88bfc (OSX) More settings menu work (now supports all input bindings for player 1) 2013-08-26 23:56:26 -04:00
meancoot
29b8a6f8e4 (OSX) Start keybind setting support 2013-08-26 22:12:22 -04:00
meancoot
dbc1758a99 (OSX) The settings panel now works 2013-08-26 14:06:28 -04:00
meancoot
54b672d6b7 (OSX) More settings menu work 2013-08-26 00:37:17 -04:00
meancoot
2ef2b4e778 (OSX) Add a menu option that opens the directory where cores should be placed 2013-08-25 19:41:02 -04:00
meancoot
2c20644ecb (OSX) Some setting menu work 2013-08-25 19:41:02 -04:00
meancoot
6e7c641ae0 (iOS) Fix the overlay opacity setting 2013-08-25 18:03:24 -04:00
twinaphex
7ad663c5f2 Get rid of RARCH_PERFORMANCE_MODE everywhere 2013-08-25 22:21:23 +02:00
meancoot
f83b40cd54 (iOS) Help prevent file browser lists from going stale 2013-08-24 20:36:03 -04:00
meancoot
7a72899c15 (iOS) Move browser logic into platform.m 2013-08-24 20:27:04 -04:00
meancoot
a4dfd35ab7 (Apple) Improvements:
Add core gl context support on OSX
	Add support for multiple game pads on OSX
 	Remove block on analog input for Player 2-4's game pads
2013-08-16 13:25:35 -04:00
meancoot
26df85f020 (iOS) Some settings menu polish:
The bluetooth mode is updated immediately, previously you had to hit the back button on the frontend settings before it would be applied.
        The custom config state label in the frontend settings menu is updated properly.
2013-08-15 12:47:13 -04:00
meancoot
0d291e809a (iOS) Fix major hanging bug 2013-08-15 09:50:56 -04:00
twinaphex
7ac8636842 (Module info) Update gambatte info file 2013-08-15 12:40:51 +02:00
twinaphex
0a08279536 (Module info) Fix nxengine info file name 2013-08-15 12:35:01 +02:00
twinaphex
9dc946900e (Module info files) Update module info files for naming consistency's
sake
2013-08-15 12:33:19 +02:00
meancoot
2b614c952e (iOS) Put the file icon back; the file lists look odd with just a directory icon 2013-08-14 17:39:34 -04:00
meancoot
1eb78a9481 (Apple) Fix issue when loading RGUI with the dummy core 2013-08-14 13:48:57 -04:00
meancoot
7d6b4cdd26 (iOS) Bring back per-core configurations 2013-08-14 12:53:29 -04:00
meancoot
4f70bdeab5 (Apple) Split platform specific code out of main.m 2013-08-14 12:53:29 -04:00
meancoot
9e2e135d19 (Apple) Get rid of some hacks in the frontend code. 2013-08-14 00:48:58 -04:00
meancoot
fe08806aa5 (iOS) Use the nuclear option for life-cycle management.
This should fix hangs caused by incoming calls or launching siri, but will cause more driver reinits than before
2013-08-13 22:44:25 -04:00
meancoot
8656b04492 (iOS) Some refactoring in settings.m 2013-08-13 22:44:25 -04:00
meancoot
4d8570d546 (iOS) Build script fix for jailbroken devices 2013-08-13 22:44:25 -04:00
meancoot
cb6c612b8e (iOS) Only player 1 gets default keyboard bindings 2013-08-13 22:44:24 -04:00
twinaphex
0dde2ce7c4 Add bsnes performance module info files 2013-08-14 03:59:11 +02:00
meancoot
68e8fbc45f (iOS) Fix icade button mapping 2013-08-12 19:02:34 -04:00
meancoot
dc16abe728 (OSX) Fix gamepad axis inputs 2013-08-12 18:02:29 -04:00
Themaister
8862908040 Merge branch 'master' of github.com:libretro/RetroArch into upstream 2013-08-11 14:50:54 +02:00
Themaister
c5e7de7391 Add get_proc_address to OSX/iOS. 2013-08-11 14:10:10 +02:00
meancoot
36892231cf (OSX) Add both relative and absolute style mouse input 2013-08-11 00:20:45 -04:00
Marcelo Munhoz Pélos
d35b806f98 Add toolbar in Rom's list to accommodate refresh and new folder buttons. 2013-08-11 01:03:53 +02:00
Marcelo Munhoz Pélos
f4d25deba1 Implements file move option in ROM list. 2013-08-11 01:02:44 +02:00
Marcelo Munhoz Pélos
fbf029939c Adds new Folder option in ROM list. 2013-08-11 01:02:05 +02:00
twinaphex
95b1e71d8f (OSX) AppleGameview - going to implement mousecontrols through
GLKView's mouseDown/mouseUp/mouseMoved
2013-07-23 22:08:20 +02:00
twinaphex
f346bedf95 Add instancingviewer .info module file 2013-07-20 00:01:18 +02:00
twinaphex
b23379266c PACKAGE_VERSION is defined now in general.h for all versions 2013-07-19 16:20:14 +02:00
twinaphex
3977cec315 (APPLE) Rename rarch_main_apple to rarch_main 2013-07-16 13:11:09 +02:00
Marcelo Munhoz Pélos
edc710d124 Add toolbar in Rom's list to accommodate refresh and new folder buttons. 2013-07-13 00:06:42 -03:00
Marcelo Munhoz Pélos
acfa16089e Implements file move option in ROM list. 2013-07-13 00:06:42 -03:00
Marcelo Munhoz Pélos
622702eb92 Adds new Folder option in ROM list. 2013-07-13 00:06:41 -03:00
Marcelo Munhoz Pélos
1d99eac1ec Implements delete in ROM list. 2013-07-13 00:06:41 -03:00
Marcelo Munhoz Pélos
af3bef602f Removes file icon from ROM list. 2013-07-13 00:06:41 -03:00
meancoot
357903134b (OSX) Use NSOutlineView instead of NSMatrix for settings 2013-07-12 19:44:50 -04:00
meancoot
ee6e1fd070 (OSX) Rough first draft of OSX preferences menu. Opening it may break any running game, and the options themself don't work anyway. 2013-07-12 15:13:50 -04:00
meancoot
230cd8464e (Apple)Add a very rough draft (for backup purposes only) of a structure to be used to generate the setting menus. 2013-07-12 15:13:50 -04:00
dwihn0r
7bde2219ce Added a nice icon to the OSX port. Added the optimized SVG logo. 2013-07-11 19:38:14 +02:00
twinaphex
53a691a1b2 (dwihn0r) Add fullscreen key combo + menu item 2013-07-11 16:54:13 +02:00
meancoot
e5a43b732c (OSX) Add a method to use extended attributes to remember which core is used for a particular file.
For now it is not compiled in by default.
2013-07-09 21:59:42 -04:00
meancoot
c4feba628b (OSX) Some logic fixups 2013-07-09 18:38:49 -04:00
meancoot
8f1ea1f3cd (OSX) If there is no longer anything to run the app will terminate instead of waiting with a black screen. 2013-07-09 14:59:15 -04:00
meancoot
1e67100ac6 (Apple) Fix iCade support 2013-07-09 14:48:46 -04:00
meancoot
3a11aca654 (OSX) Some joypad work 2013-07-09 12:40:42 -04:00
meancoot
4a02c24186 (Apple) Fix broken analog input code 2013-07-09 12:40:13 -04:00
meancoot
67417e34a4 (OSX) First draft of joypad driver 2013-07-08 20:57:54 -04:00
Marcelo Munhoz Pélos
0f934f2b9e Uncomments line from apple/script/build. 2013-07-08 19:26:41 -03:00
Marcelo Munhoz Pélos
b2c0d8bed4 Updates the apple/README.md file. 2013-07-08 19:00:11 -03:00
Marcelo Munhoz Pélos
f5c9e37201 Fix build script for iOS. 2013-07-08 19:00:10 -03:00
meancoot
b3c36b54d7 (Apple) Generalize the ios_joypad driver 2013-07-08 15:15:29 -04:00
twinaphex
261df7061e (OSX) Compile in HAVE_NETPLAY 2013-07-08 20:59:43 +02:00
meancoot
9afa4600da (OSX) Clean up logic some; game will be saved if terminating the app by closing the window 2013-07-07 21:53:08 -04:00
meancoot
e168755632 (OSX) Fix OpenGL vsync logic inversion 2013-07-07 20:59:30 -04:00
meancoot
42b5f47400 (OSX) Start RGUI loaded without a file; allow opening new files without manually closing the old one 2013-07-07 20:52:27 -04:00
meancoot
1b0e86f5af (OSX) Handle window sheets better 2013-07-07 20:46:46 -04:00
meancoot
a09f28c319 (OSX) Add a core chooser when opening a game; cores are stored in the Contents/Resources/modules directory of the app bundle. 2013-07-07 19:24:05 -04:00
meancoot
7f8cb059e2 (iOS) Temporarily remove custom config support 2013-07-07 17:50:17 -04:00
twinaphex
e1706de84c (OSX) Some define changes
(RAGameView) Some comment typo corrections
2013-07-07 23:17:38 +02:00
meancoot
78acc25931 (Apple) Add keyboard input support for OSX 2013-07-07 16:01:58 -04:00
meancoot
7a4085b67f (OSX) Show an open panel if started without a game to load 2013-07-07 15:19:19 -04:00
meancoot
ba94ae2479 (Apple) More OSX UI wiring 2013-07-07 14:46:16 -04:00
meancoot
e709784b70 (Apple) Add some methods to open files on OSX 2013-07-07 13:37:23 -04:00
meancoot
3d9d672a38 (Apple) On OSX, a call to apple_run_core will actaully run the game 2013-07-07 13:05:05 -04:00
meancoot
99ba3ccea3 (Apple) Start setting up the OSX code 2013-07-06 23:54:47 -04:00
meancoot
f954ae2f64 (Apple) Create OSX XCode project 2013-07-06 20:43:04 -04:00
meancoot
a852da4e88 Start spliting ios port into dual OS X and iOS ports 2013-07-06 18:24:25 -04:00