Commit Graph

58 Commits

Author SHA1 Message Date
Themaister 773295cb28 Move jni stuff to NativeInterface.
Makes it more generic and extensible for the future.
2013-10-14 23:27:18 +02:00
Themaister b5c733f692 Do config readback immediately after running.
Avoids potential issue where game is started right after exiting again.
2013-10-14 23:11:08 +02:00
Themaister 0d1c394325 Flush config to disk after device detection. 2013-10-14 22:45:06 +02:00
Themaister 960780277a Drop some now useless code. 2013-10-14 21:14:55 +02:00
Themaister 7df4500024 Use native side asset extraction. 2013-10-14 21:08:41 +02:00
Lioncash ce42fccdc7 [Android] Very large reworking of the preferences. It uses fragments to handle preferences, not to mention the entirety of the preferences has been moved into a viewpager/tab-nav combo.
This commit breaks per-core configs. Will be fixed very soon.
2013-10-11 17:41:22 -04:00
Lioncash 6b5f21479e [Android] No need to call flush() before closing a stream. close() calls the flush method before actually closing the stream. 2013-10-10 10:12:09 -04:00
Lioncash 8fb23d0fcc [Android] Very minor clean-up in MainMenuActivity.java and CoreSelection.java. 2013-10-08 23:11:46 -04:00
Lioncash c7ff040bf3 [Android] Get rid of getPreferences from MainMenuActivity.java. No longer needed. Now located within UserPreferences.java. 2013-10-08 23:05:54 -04:00
Lioncash 8112c1e36f [Android] Move readCPUInfo into UserPreferences.java. Also, a little bit of documentation in UserPreferences.java. 2013-10-08 22:55:07 -04:00
Lioncash da6b6f4f50 [Android] Remove some functions I missed when cleaning up MainMenuActivity.java. These are moved into UserPreferences. They aren't needed in here any more. 2013-10-08 22:22:40 -04:00
Lioncash ed649b44ab [Android] Initial implementation of new UserPreferences. Unifies preference loading and saving into one central class and moves it out of the MainMenuActivity.java. 2013-10-08 22:11:29 -04:00
Lioncash 348cdb32b6 Fix a typo in the class name checking in function startActivity in MainMenuActivity.java. 2013-10-08 19:53:26 -04:00
Lioncash 547219c244 [Android] Put the directory activities into a separate package to keep them separate from the rest of the files. Do the same for preference classes as well. 2013-10-08 19:50:23 -04:00
Lioncash a33863f0f2 Initial basic multi-language support. 2013-09-27 00:58:05 -04:00
Lioncash be32d28dcd Generic cleanup and simplifications.
Just some really generic things that simplify existing code among other things.
2013-09-27 00:13:37 -04:00
Lioncash 14c3892208 Make classes which are not extended final. This gives a clear indication of such. 2013-09-27 00:00:51 -04:00
Themaister 8489440d7e Use Integer.parseInt. 2013-09-14 15:46:19 +02:00
twinaphex ac9e0025e2 (Android Phoenix) Add 96ms audio latency option as well 2013-09-14 15:03:20 +02:00
twinaphex 0245f926d1 (Android Phoenix) Set configurable audio latency 2013-09-13 15:57:13 +02:00
twinaphex e6f527e992 (Android Phoenix) Add ability to set automatic audio latency option on/off 2013-09-13 15:17:57 +02:00
twinaphex 847f7f8d05 (Android Phoenix) Set video_threaded to false and set refresh rate of 59.19Hz for Xperia
Play
2013-09-12 20:02:36 +02:00
twinaphex 0d873654cc (Android Phoenix) Add Xperia Play detection based on MODEL string 2013-09-11 14:07:54 +02:00
twinaphex ead5a3b3ac (Android) comment readBackInt for input_back_behavior - this crashes hard for now 2013-08-28 02:12:40 +02:00
twinaphex 72057ab9be (Android Phoenix) Add readBackInt - now saves input_back_behavior for per-core
config as well
2013-08-26 00:21:09 +02:00
twinaphex da8b19c25c (Android Phoenix) Add some TODO notes to settings saving and add
an entry to per-core config state
2013-08-26 00:11:34 +02:00
twinaphex 8f72a8aa46 (Android Java) Apply setCoreTitle even when per-core configs is not enabled 2013-08-24 20:24:40 +02:00
twinaphex fa32fca53d (Android Java) Add some more settings to per-core config 2013-08-24 17:30:09 +02:00
twinaphex a1abd8aaa7 (Android Java) Add readBackFloat 2013-08-24 16:39:23 +02:00
Themaister b6539dc879 Initial start for per-core configs.
Dirty, but only real way to do this on Android it seems.
2013-08-24 16:26:19 +02:00
Themaister fbc0b8f0eb Minor code cleanups. 2013-08-24 15:13:44 +02:00
Themaister ae5221947a IME config fixups. 2013-08-24 12:52:47 +02:00
Themaister 73cb566620 "Revert" audio buffer behavior on Android.
Add audio_block_frames setting (only used by OpenSL atm).
2013-08-24 12:04:47 +02:00
twinaphex 692f8892aa (Android) Add fallback for API level 17 audio buffer size path if
high audio latency is enabled
2013-08-24 05:22:25 +02:00
twinaphex d13542f12b (Android) Detects buffer size properly now on Android 4.2 and up -
bases requested latency on this. Old fallback applies for non-4.2
2013-08-24 05:10:14 +02:00
Themaister 6ab81b648e Style nits. 2013-08-21 18:57:27 +02:00
zevektor 8b0124ba2a Load roms from external app - #3 2013-08-21 14:08:06 +02:00
zevektor 6deb38c07d Checks on load rom from external app changed. 2013-08-21 14:04:43 +02:00
zevektor f854f47855 Fixed bug when back button is pressed. 2013-08-21 12:57:40 +02:00
zevektor fe84dbb121 Fixes 2013-08-21 12:46:57 +02:00
zevektor 56674fb7f0 Allow to load roms from external apps. 2013-08-19 23:23:39 +02:00
twinaphex 220411be67 (Android Phoenix) Preliminary per-core config settings - maister:
things like ROM path don't currently work correctly per core when
configured individually - please look at it
2013-08-19 01:14:01 +02:00
twinaphex 05ae971aae (Android) We now select a core first with 'Load Core', then select a game.
Opens the door for per-core config files - also remembers the core from the
last previous session
2013-08-18 21:02:41 +02:00
twinaphex 744d2d169e (Android Phoenix) Take out 'welcome to Android' popup 2013-08-18 03:04:03 +02:00
twinaphex 7f480342a4 (Android Phoenix) Add GameMID BT autodetection 2013-08-17 23:36:04 +02:00
Themaister c539b82a70 Display dialog title. 2013-08-16 15:46:37 +02:00
Themaister dd2d8009ca Add ProgressBar for asset extraction. 2013-08-16 14:46:36 +02:00
Themaister 758dc7e196 Add Load Game (History) to Android frontend.
Also cleanup core selection list a bit to be more readable.
2013-08-16 12:16:19 +02:00
twinaphex 6de6a793ab (Android Phoenix) Include popup about asset extraction
Bump up to version 0.9.9.5
2013-08-15 00:13:08 +02:00
twinaphex b0799be6ba (Android Phoenix) Set default libretro path (for TV Mode) 2013-08-14 22:18:23 +02:00