Commit Graph

9148 Commits

Author SHA1 Message Date
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
2f1327bf3e (Apple)location driver is baked in now for OSX too 2013-12-19 17:10:03 +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
Themaister
855cb54def Some cleanups to location interface.
Avoid three redundant fields in struct.
Use unsigned instead of int for argument for API consistency.
2013-12-19 10:15:55 +01:00
twinaphex
031a9d05be (Location) Environ GET_LOCATION_INTERFACE should be implemented now 2013-12-19 05:51:25 +01:00
twinaphex
581aab1e3e (Android) Small typo fix 2013-12-19 05:24:12 +01:00
twinaphex
d974216890 (Android) Add -DHAVE_LOCATION 2013-12-19 05:16:48 +01:00
twinaphex
9ed2c1b9b6 (Android location) Implement all JNI calls in stub location driver -
hopefully this will work straight away (fingers crossed)
2013-12-19 05:10:56 +01:00
twinaphex
4ba46df0ef (Android) Build fix 2013-12-19 03:45:17 +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
7bc2031272 dynamic.c - style nit 2013-12-19 03:17:27 +01:00
twinaphex
ccd2246331 (Apple) Build fixes 2013-12-19 03:16:13 +01:00
twinaphex
dfe42f4026 (Location) Add g_extern.system handle to retro_location_callback 2013-12-19 02:54:46 +01:00
twinaphex
fd5a3fa9da (Location) Fix derp 2013-12-19 02:44:21 +01:00
twinaphex
f29d590973 (Apple) Add location driver for Apple to location_drivers array 2013-12-19 02:41:48 +01:00
twinaphex
5f33a6b373 (Apple) Implement HAVE_LOCATION for OSX/iOS 2013-12-19 02:39:38 +01:00
Twinaphex
1659adbfe9 Merge pull request #428 from lioncash/master
[Android] Implement core autodetect.
2013-12-18 17:04:12 -08:00
Lioncash
54d0911868 [Android] Implement core autodetect. 2013-12-18 20:00:20 -05:00
twinaphex
742f85eafc Add HAVE_LOCATION - still need to write frontend drivers now for
location
2013-12-19 01:51:51 +01:00
twinaphex
fa6459976f (Android) Build fix 2013-12-19 01:01:31 +01:00
twinaphex
250a6d757e (Android) location API - onLocationSetInterval 2013-12-19 00:56:47 +01:00
twinaphex
bf5d5cb8a2 (Libretro) Commented out macros RETRO_PERFORMANCE_ can now actually work 2013-12-18 20:10:40 +01:00
Twinaphex
88508e2fbc Merge pull request #427 from libretro/perf-fixup
Rework performance interface.
2013-12-18 10:39:45 -08:00
Themaister
d1f80a38fc Fix typo. 2013-12-18 19:34:51 +01:00
Themaister
1c9895611b Rework performance interface.
Avoids super-ugly macros and retroarch-ifdefs.
2013-12-18 19:21:56 +01:00
twinaphex
9852c5dc4c Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too 2013-12-18 19:03:08 +01:00
meancoot
29b2683300 (Apple) Define RARCH_INTERNAL during build. 2013-12-17 18:29:52 -05:00
meancoot
f7f501b062 (iOS) Change method used to inspect memory for iOS 6 keyboard events. 2013-12-17 18:21:40 -05:00
meancoot
a101645d7c (iOS)
Fix iOS 6 UI layout issues caused by previous commit.
    Reduce use of dot notation in apple/iOS/platform.m for stylistic continuity with OSX code.
2013-12-17 18:21:40 -05:00
meancoot
bd1e970027 (iOS) Combine RAPauseMenu into RAMainMenu. RAGameView is no longer displayed in the UINavigationController but is instead swapped with the navigation controller as needed. 2013-12-17 18:21:40 -05:00
meancoot
aa338967f8 (iOS) If no cores were found to support a file a list of all cores will be displayed instead. 2013-12-17 18:21:39 -05:00
twinaphex
93d1888519 (Libretro.h) Update 2013-12-17 22:10:52 +01:00
twinaphex
a534ebe7a4 (libretro.h) Check first if PERFORMANCE_LOG_ callback functions point
to something before using them
2013-12-17 22:00:35 +01:00
twinaphex
2636d876d2 (Libretro.h) Small cleanup 2013-12-17 21:40:57 +01:00
twinaphex
dd38781d92 Update libretro.h 2013-12-17 21:30:32 +01:00
twinaphex
0ff82ea4f2 (Libretro) Simplify RETRO_PERFORMANCE macros 2013-12-17 21:10:15 +01:00
twinaphex
ec5153ab57 (Android) Build fix 2013-12-17 20:56:31 +01:00
twinaphex
b984a8d57e (Libretro) Expose perf_register too 2013-12-17 20:25:48 +01:00
twinaphex
166aa29443 (Libretro) Expose perf_log as callback too to libretro 2013-12-17 19:37:33 +01:00
twinaphex
69a67b3df2 Change RARCH_PERFORMANCE_ macro calls to RETRO_PERFORMANCE 2013-12-17 19:14:57 +01:00
twinaphex
38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
meancoot
2f0201e4b7 (iOS) Add air drop support for iOS 7. Only works with .zip files. Support for creating .zip files in the file browser will be added soon. 2013-12-16 22:51:00 -05:00
meancoot
90b53a7da1 (iOS) Fix shameful logic error in unzip support 2013-12-16 22:13:55 -05:00
meancoot
1d8ce0cd0d (iOS) Add support for extracting zip files in the file browser (long press on a .zip to get the option).
The rationale here is that, on non-jailbroken devices, there is no way to upload a directory of files. If you wanted to upload data for a core that needs a set of files (e.g. prboom), the only option was to upload the files into the root of the Documents directory, then move each file into a sub-directory one at a time. With this addition a .zip file containing the grouped files can be uploaded then extracted, with sub-directories intact, via the file browser menu.
2013-12-16 20:15:24 -05:00
meancoot
8ea84c99ef (iOS) Make the refresh button on the file browser work ‘better’. (It DID work before, by the time you restarted the app and browsed back to the directory the listing would be updated. This just makes it quicker.) 2013-12-16 18:17:30 -05:00
Twinaphex
7d8170c3d4 Merge pull request #426 from AridRayne/moga
Moga
2013-12-16 14:21:55 -08:00
Toad King
f291e9c353 make config directory require dynamic libraries for now. fixes issue #420
the way we implement chaning directories involves loading a dummy core, which we can't do on non-dynamic core platforms right now
2013-12-16 15:05:57 -05:00