Commit Graph

3464 Commits

Author SHA1 Message Date
twinaphex
aa54f7fb41 Move apple_rarch_exited to UI companion drivers 2015-04-20 17:10:28 +02:00
twinaphex
b310e82def Remove HAVE_COCOA/HAVE_COCOATOUCH ifdef in platform_apple.m 2015-04-20 14:09:57 +02:00
twinaphex
5154538ac1 (platform_apple.m) Style nits 2015-04-20 14:07:45 +02:00
Twinaphex
a554b1647c Move code around - turn platform_apple.c into platform_apple.m 2015-04-20 14:05:55 +02:00
Twinaphex
6beaa824cd (platform_apple.c) Buildfix 2015-04-20 13:00:44 +02:00
twinaphex
a29e97677e Fix CFExtensions.h include 2015-04-20 12:54:04 +02:00
twinaphex
0cbc577324 Cleanups 2015-04-20 12:33:35 +02:00
Twinaphex
425783672e (platform_apple.c) Add some more defines so that it can compile
and link without HAVE_COCOA or HAVE_COCOATOUCH
2015-04-19 17:12:20 +02:00
twinaphex
9d26a321df (OSX) Add platform_apple.c to Makefile.common 2015-04-19 17:08:13 +02:00
twinaphex
a1eb931455 (OSX/Apple) Create main() function if HAVE_COCOA and HAVE_COCOATOUCH
are not defined
2015-04-19 17:02:36 +02:00
Twinaphex
6bbe6203a6 (Apple) Cleanups 2015-04-18 21:52:45 +02:00
Twinaphex
a642092cb5 (iOS) Fixup frontend_apple_get_name 2015-04-18 21:20:04 +02:00
Twinaphex
c03f61152b (Apple) Fixup get_os 2015-04-18 21:14:30 +02:00
twinaphex
0608ea17b8 (Linux) Frontend OS - major/minor now gets properly set 2015-04-18 20:49:05 +02:00
twinaphex
5bc364c1fb (Win32) Buildfix 2015-04-18 20:44:28 +02:00
twinaphex
f9adf6ee9d (Win32) Implement OS name 2015-04-18 20:41:17 +02:00
twinaphex
b4549d4bf4 Expand frontend_linux_get_architecture some more 2015-04-18 20:16:59 +02:00
twinaphex
5cfc0bb723 (Linux) Implement frontend_linux_get_os - still needs major/minor
set
2015-04-18 20:08:47 +02:00
twinaphex
a2195e8cdf Create frontend get_architecture function callback 2015-04-18 20:03:59 +02:00
twinaphex
b83a03bad6 (Linux) Start implementing get_powerstate 2015-04-18 19:43:48 +02:00
twinaphex
ac2743b842 Create stub frontend/drivers/platform_linux.c 2015-04-18 19:12:14 +02:00
twinaphex
88692cbb07 (CTR) Use rarch_sleep and some style nits 2015-04-18 17:34:14 +02:00
twinaphex
8d4f6a172c (Win32) Implement get_powerstate 2015-04-18 17:16:55 +02:00
Twinaphex
99894c831e (iOS) Implement get_powerstate 2015-04-18 16:42:49 +02:00
twinaphex
b810f7579d (PSP) Implement get_powerstate 2015-04-18 15:28:06 +02:00
twinaphex
ba69d2ba59 (Apple) Style nits 2015-04-18 15:09:03 +02:00
Twinaphex
9b4d2769f3 (OSX) Start implementing get_powerstate - based on SDL implementation 2015-04-18 15:07:04 +02:00
twinaphex
b721389234 Create 'get_powerstate' function for frontend driver 2015-04-18 13:56:40 +02:00
twinaphex
335097f98f (Emscripten) Buildfixes 2015-04-14 22:01:41 +02:00
Twinaphex
146acb62d3 (iOS) Implement frontend_apple_get_os 2015-04-13 18:25:04 +02:00
twinaphex
d6d8d32edd Implement stub function apple_get_os 2015-04-13 18:05:55 +02:00
twinaphex
0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex
de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
twinaphex
57877284ec (UI Companion) Call UI companion 'toggle' function at startup when setting is
enabled
2015-04-13 02:14:34 +02:00
Twinaphex
7674084904 frontend_apple_load_content - buildfix 2015-04-12 17:07:17 +02:00
twinaphex
35e3daf951 (frontend.c) Cleanup 2015-04-12 16:17:11 +02:00
Twinaphex
bd31320612 (Apple) Buildfix 2015-04-12 05:45:28 +02:00
Twinaphex
3e35593f59 (iOS) Implement UI companion driver for iOS CocoaTouch 2015-04-12 03:18:37 +02:00
twinaphex
f8a31effb0 (UI companion) Some further improvements 2015-04-12 02:09:14 +02:00
twinaphex
070147187d Refactor frontend_ctx_init_first 2015-04-12 00:24:20 +02:00
twinaphex
7dcbeef98f (platform_android.c) Turn some C++ comments into C comments 2015-04-12 00:03:03 +02:00
twinaphex
867ee391dd (GX) Start using sthread wrapper functions for device notification thread 2015-04-11 23:37:00 +02:00
twinaphex
19260898eb Replace dynamic.h header dependencies to dylib.h header dependencies 2015-04-11 10:38:10 +02:00
Twinaphex
16f20400fa Merge pull request #1618 from aliaspider/master
(3DS) implement the audio driver.
2015-04-10 20:15:14 +02:00
aliaspider
301309304a (3DS) implement the audio driver. 2015-04-10 19:10:34 +01:00
twinaphex
8012b88bcb (PS3) Buildfix 2015-04-10 07:46:54 +02:00
twinaphex
1989f9a0da (Win32) Buildfix 2015-04-09 23:03:24 +02:00
twinaphex
18801c8449 Move gfx_set_dwm call to platform_win32.c 2015-04-09 22:58:57 +02:00
twinaphex
edda6bac9e (platform_psp.c) Turn function static 2015-04-09 05:53:58 +02:00
twinaphex
c0bd6874cd (platform_android.h) Style nits/cleanups 2015-04-09 05:52:23 +02:00
twinaphex
033ab0891c (platform_win32.c) Cleanups 2015-04-09 05:43:30 +02:00
twinaphex
69762dd339 (platform_win32.c) Cleanup 2015-04-08 08:02:26 +02:00
twinaphex
9f44dcd12c (platform_win32.c) Add dynamic.h 2015-04-08 08:01:54 +02:00
twinaphex
5e905cf526 (Win32) Cleanup frontend_win32_init 2015-04-08 07:44:18 +02:00
twinaphex
a72434e945 (Win32) Set DPI Aware for Windows Vista and higher 2015-04-08 07:20:28 +02:00
twinaphex
656d49c12d (Frontend Win32) Update 2015-04-08 02:11:23 +02:00
twinaphex
5a2ed01eec Create frontend_get_ptr 2015-04-08 00:08:53 +02:00
twinaphex
1c2a96ac0b (Win32) Add 'major' and 'minor' arguments to 'get_os' function
pointer
2015-04-07 23:28:45 +02:00
twinaphex
a707c24232 Add 'get_os' function pointer to frontend driver 2015-04-07 22:49:00 +02:00
twinaphex
2fbc79e9f3 Cleanup some header includes 2015-04-07 22:21:08 +02:00
twinaphex
052086b9d4 (platform_apple.c) Include "frontend_driver.h" 2015-04-07 22:17:41 +02:00
twinaphex
b20a14de81 (platform_win32.c) Buildfix 2015-04-07 22:15:40 +02:00
twinaphex
e904298968 (Win32) Buildfix 2015-04-07 22:12:28 +02:00
twinaphex
fd6dd4b354 (frontend_driver.h) Add frontend_win32 extern reference 2015-04-07 22:11:28 +02:00
twinaphex
20fbe6876e (platform_win32.c) Update header 2015-04-07 21:52:26 +02:00
twinaphex
935218f8a8 (Win32) Create platform_win32.c 2015-04-07 21:51:57 +02:00
twinaphex
401693ff0a Make iPad Air level 16 and iPad Mini 2/3 level 15 2015-04-07 21:07:09 +02:00
twinaphex
86a47b7dd8 (Apple) Change iPad Air / Mini 2 and 3 rating levels 2015-04-07 21:02:34 +02:00
twinaphex
0734b14266 Make 'iPad Air 2' RetroRating level 18 2015-04-07 20:59:06 +02:00
twinaphex
cd148b9540 (Apple) Style nits 2015-04-07 20:57:43 +02:00
twinaphex
23071b6131 (Apple) Style nits 2015-04-07 20:57:20 +02:00
Twinaphex
4bc43fae53 (Apple) Style nits 2015-04-07 20:51:47 +02:00
Twinaphex
e836691a20 (iOS) Start implementing frontend_apple_get_rating 2015-04-07 20:42:48 +02:00
Twinaphex
fcbea1acb6 (Apple) Cleanup 2015-04-07 19:31:10 +02:00
Twinaphex
e54c06150a (Apple) CopyModel - make it work for iOS too 2015-04-07 19:30:24 +02:00
Twinaphex
4c2aa42fce (platform_apple.c) Implement 'get_name' for OSX 2015-04-07 19:18:36 +02:00
Twinaphex
a7504510ce (Apple) use autoconfig/hid from now on 2015-04-07 07:25:53 +02:00
twinaphex
baafcd2817 (platform_wii.c) Style nits 2015-04-07 05:07:30 +02:00
twinaphex
88b98b568c (Android) Style nits 2015-04-05 21:57:32 +02:00
aliaspider
14ac3fe250 (3DS) use touch for menu toggle.
keep console visible on exit until start is pressed.
2015-04-05 20:39:18 +01:00
twinaphex
5612545b25 (CTR/3DS) Update copyright headers 2015-04-02 01:43:28 +02:00
aliaspider
2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
twinaphex
be13f3c8c0 (frontend.c) Style nits 2015-03-22 08:19:14 +01:00
twinaphex
a57abb74dc Rename some functions 2015-03-22 03:32:28 +01:00
twinaphex
2a8f9fdfc0 Put g_driver on heap and make it a pointer 2015-03-22 01:16:57 +01:00
twinaphex
248d985ae6 Don't call driver_get_ptr until after call to rarch_main_state_alloc
has been made
2015-03-22 00:43:10 +01:00
Twinaphex
a599b399da (iOS) Buildfix 2015-03-21 22:30:58 +01:00
twinaphex
f689702727 (Android) Build fixes 2015-03-21 22:29:44 +01:00
Twinaphex
726c64369f (Apple) Buildfix 2015-03-21 22:28:12 +01:00
twinaphex
83947f473b Split up rarch_main_state_new into two - rarch_main_state_alloc
allocates all state, rarch_main_state_new actually 'initializes'
the drivers, etc.
2015-03-21 19:31:38 +01:00
twinaphex
ff83aab195 Move rarch_main_state_new up 2015-03-21 19:04:20 +01:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
9f6cb1bca7 Rename settings.c to configuration.c 2015-03-21 00:42:09 +01:00
twinaphex
5d8ce54a9f Updates pt. 4 2015-03-20 22:22:06 +01:00
twinaphex
7bc845006b Start replacing more g_settings usages 2015-03-20 20:43:22 +01:00
twinaphex
3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex
7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex
84e9f2fa7d Use retro_inline throughout 2015-03-15 04:52:46 +01:00
Twinaphex
b5b6435ab9 (OSX) Set default shader dir to 'shaders_cg' if HAVE_CG is defined 2015-03-13 03:49:42 +01:00
Twinaphex
49f9fbd00c (OSX) Uses CFTemporaryDirectory now too for extraction directory 2015-03-13 03:47:25 +01:00
Twinaphex
55e187748c (platform_apple.c) Cleanups 2015-03-13 02:33:32 +01:00
Twinaphex
309128f7ed (iOS/OSX) Bring the two closer together - for OSX, everything gets
saved now to NSDocumentDirectory/RetroArch - should be compatible
with sandboxed Mac Apps too
2015-03-13 01:33:45 +01:00
Twinaphex
4ad2bd97dc (OSX) get rid of warning for unused variable 2015-03-13 01:22:20 +01:00
twinaphex
aa289e3879 (OSX) Add more alterations for OSX 2015-03-13 01:21:20 +01:00
twinaphex
277f8c9ea3 (OSX) Set default extraction dir for OSX too 2015-03-13 00:57:37 +01:00
Twinaphex
c9175bbf81 (iOS) Hook up temporary dir for extraction directory 2015-03-13 00:54:44 +01:00
twinaphex
ae62c8a477 (iOS) Add default dir for cheats 2015-03-13 00:25:23 +01:00
twinaphex
97d8bc1488 Add cheats_dir to g_defaults 2015-03-13 00:24:17 +01:00
twinaphex
67720e9e52 (iOS) Set up default rdb directory/cursor directory 2015-03-13 00:04:38 +01:00
Twinaphex
2ac4e0248e (iOS) Set up autoconfig and assets dir 2015-03-12 23:40:51 +01:00
Twinaphex
29d546e49d (iOS) Set up all the path to 'Documents' - you can access these with
iTunes File Sharing now - no need to add assets prior to deployment
2015-03-12 23:33:20 +01:00
twinaphex
f87f3596ef (Android) Set g_runloop.is_idle to conserve on CPU usage while
idle
2015-03-09 01:59:01 +01:00
Twinaphex
f34ae15f3f Cleanup header in platform_apple.c 2015-03-08 02:01:50 +01:00
Twinaphex
75b6bd21c3 (iOS/OSX) Total reimplementation of game loop - does away with
observer callback
2015-03-07 21:33:17 +01:00
Twinaphex
2d0701b1f6 Revert "(iOS/OSX) Only call CFRunLoopWakeUp if menu framebuffer is dirty or the menu"
This reverts commit 0146bf15db.
2015-03-07 17:54:29 +01:00
Twinaphex
0146bf15db (iOS/OSX) Only call CFRunLoopWakeUp if menu framebuffer is dirty or the menu
currently has an animation effect running
2015-03-07 17:37:26 +01:00
Twinaphex
1a62614c78 (Apple) Refactor do_iteration 2015-03-07 17:27:17 +01:00
Twinaphex
37271a0d13 Start debugging do_iteration 2015-03-07 16:17:48 +01:00
twinaphex
a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
aliaspider
af9ad56268 (PSP) disable forcing g_extern.verbosity to true on program entry to
speed up the startup process a bit (it disables dumping retroarch.cfg to
stdout).
2015-02-25 13:36:32 +01:00
twinaphex
e3844f409d (Android) Get rid of some forward decls 2015-02-24 20:42:29 +01:00
twinaphex
85f70e971a (Android) Cleanups to system_property_get 2015-02-24 19:07:44 +01:00
Googer
fe176fc01b Fixed silly repeated calls to strlen() 2015-02-24 12:41:23 -05:00
Googer
03b4ace443 (Android) Fix pad input detection for pre-KitKat.
Also update getting system properties to use getprop command instead of
__system_property_get.  Use sdk level to determine which gamepad
detection method to use (only use vendorId and productId if at least
KitKat - i.e., SDK version 19+).
2015-02-24 12:20:21 -05:00
T. Joseph Carter
4bcaf40551 New project file should work. xmb still doesn't 2015-02-10 05:34:28 -08:00
twinaphex
5d95d6d761 Add cursor_dir and database_dir to g_defaults 2015-02-01 12:25:20 +01:00
twinaphex
3b7dac52ef (main_load_content) Do early return if wrap_args can't be allocated 2015-01-30 07:42:58 +01:00
twinaphex
03ec380f56 (PS3) Build fix 2015-01-30 00:29:23 +01:00
twinaphex
756a9bf214 (Android) Add default path for extraction_directory on Android - needed
now ever since increased limitations on SD external storage
2015-01-28 09:29:11 +01:00
twinaphex
6a7268d3cb (OSX) Update default core directory and core info directory for
OSX
2015-01-28 04:45:39 +01:00
Twinaphex
e8528d83e0 (Apple) Build fixes 2015-01-26 11:17:38 +01:00
twinaphex
0c8eec085c (iOS) Setup some default dirs 2015-01-17 06:52:54 +01:00
twinaphex
46402deb04 Use PATH_MAX_LENGTH instead of PATH_MAX.
Refactor OSX settings menu code somewhat
2015-01-17 05:47:52 +01:00
twinaphex
2a73d1a85f Cleanups in screenshot code. 2015-01-16 07:03:26 +01:00
twinaphex
e82c439d81 Rename menu/disp to menu/drivers_display and menu/backend to
menu/drivers_backend
2015-01-12 23:52:45 +01:00
twinaphex
ca67f9c317 Rename frontend/platform/ to frontend/drivers/ 2015-01-12 21:47:01 +01:00
twinaphex
64903de465 Rename frontend_context.c to frontend_driver.c 2015-01-12 21:21:08 +01:00
twinaphex
b9ab7a545d Move psp and gx drivers to gfx/drivers 2015-01-12 06:55:31 +01:00
twinaphex
98f35db95c (PSP) Build fixes and rename sdk_defines.h 2015-01-12 06:51:57 +01:00
twinaphex
5c798e6994 Move some defines to frontend.h 2015-01-11 18:26:59 +01:00
twinaphex
fae8a8d8d7 Remove main_entry_decide 2015-01-11 17:48:21 +01:00
twinaphex
b53e8f6437 Create rarch_main_iterate_quit 2015-01-11 17:33:05 +01:00
twinaphex
90a32b022d Slight refinement to main_entry_decide 2015-01-11 17:10:14 +01:00
twinaphex
44e2504cd7 Some cleanups 2015-01-11 06:57:35 +01:00
twinaphex
16b7ca63c3 (platform_apple.c) Some cleanups 2015-01-11 06:51:43 +01:00
twinaphex
5f26bbcfb9 Move main_entry_decide function prototype to frontend.h 2015-01-10 06:46:21 +01:00
Twinaphex
ce46057b5e (Apple) Build fix 2015-01-10 01:00:45 +01:00
twinaphex
2162e9b998 Cleanup frontend_context.h 2015-01-09 23:20:42 +01:00
twinaphex
76c392718f Create runloop.h 2015-01-09 18:40:33 +01:00
twinaphex
2909039e57 Add documentation to frontend_context.c 2015-01-09 18:11:33 +01:00