Commit Graph

8325 Commits

Author SHA1 Message Date
ToadKing
fc2bbfbdc3 [GX] disable interrupts when changing video mode
might help with those weird video corruptions people sometimes get
2013-10-15 18:40:00 -04:00
Squarepusher
409c9614ba Merge pull request #343 from lioncash/master
[Android] Eliminate the need for several activities.
2013-10-15 09:04:55 -07:00
Lioncash
d3c96cfaed [Android] Remove R.java and BuildConfig.java from the appcompat lib. These are generated files, so there's no need to keep them in the repo. They will be regenerated upon builds. 2013-10-15 11:31:36 -04:00
Lioncash
e622fc9f4d [Android] Remove the need for RefreshRateSetOS. This can be done with a preference listener within VideoPreferenceFragment. 2013-10-15 10:54:40 -04:00
Lioncash
b1a48dea51 [Android] Remove the need for IMEActivity. We can also do this within InputPreferenceFragment. 2013-10-15 10:40:15 -04:00
Lioncash
9121aea91e [Android] Eliminate the need for the ReportIME activity. We can just add a listener for the preference within InputPreferenceFragment. 2013-10-15 10:28:02 -04:00
Themaister
3c3e90b0df Only display autodetect if there are info files. 2013-10-15 10:29:45 +02:00
Hans-Kristian Arntzen
e805755f3a Merge pull request #342 from lioncash/master
[Android] Minor simplification in ShaderActivity.java
2013-10-15 00:49:02 -07:00
Lioncash
34e447cd4d [Android] No need to get the base context in ShaderActivity.java for getting application info. Since ShaderActivity.java is (obviously) an Activity. It can act as it's own Context. 2013-10-15 03:12:15 -04:00
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
1908c4cd38 Set default info file path for Android. 2013-10-14 22:28:59 +02:00
Squarepusher
9baba0fc8a Merge pull request #341 from libretro/apk-extract
Extract APK assets from native code
2013-10-14 12:21:44 -07:00
Themaister
960780277a Drop some now useless code. 2013-10-14 21:14:55 +02:00
Themaister
644d45106e Style nit. 2013-10-14 21:09:49 +02:00
Themaister
7df4500024 Use native side asset extraction. 2013-10-14 21:08:41 +02:00
Squarepusher
7df9f53d4f Merge pull request #340 from lioncash/master
[Android] Disable the preference "Automatically detect audio latency" if the Android device running RetroArch is less than Android 4.1.
2013-10-14 10:10:58 -07:00
Themaister
299ef54a54 Add mmap() backend to zlib extract. 2013-10-14 18:10:17 +02:00
Lioncash
1cb397dac7 [Android] Disable the preference "Automatically detect audio latency" if the Android device running RetroArch is less than Android 4.1. Auto detection won't work on those below it. 2013-10-14 11:57:53 -04:00
twinaphex
8b58c39cad (libretro_cores.cfg / Android) Change mupen64 name 2013-10-14 11:34:29 +02:00
twinaphex
2b7c2a7185 (Android Phoenix) Add mupen64 entry to libretro_cores.cfg 2013-10-14 11:22:20 +02:00
Hans-Kristian Arntzen
9da4203886 Merge pull request #339 from lioncash/master
Fix some memory leaks in the core.
2013-10-13 23:58:56 -07:00
Lioncash
cae9591c2f Missed a spot for closing file handle fd in function get_sha1. 2013-10-14 00:05:07 -04:00
Lioncash
98bdd6896e Fix a memory leak in function find_first_cue in retrolaunch/cd_detect.c. 2013-10-13 23:24:49 -04:00
Lioncash
51d7ec925e Fix a memory leak in function get_sha1 in retrolaunch/main.c. 2013-10-13 23:22:41 -04:00
Lioncash
83da083a24 Fix a memory leak in function rglCgCreateProgramGroupFromFile in rgl_ps3_cg.cpp. 2013-10-13 23:19:50 -04:00
Lioncash
080436fd23 Remove a redundant if statement in function set_direct_pix_conv in scaler.c. This branch already exists in this if statement chain, see the third else-if statement. 2013-10-13 23:16:12 -04:00
Lioncash
b4e5b6bb71 Fix two memory leaks in function align_program in py_state.c 2013-10-13 23:13:38 -04:00
Lioncash
64da817eec Fix a memory leak in function gl_init_font in ps_libdbgfont.c 2013-10-13 23:12:12 -04:00
Squarepusher
c0d4f3275d Merge pull request #338 from lioncash/master
Move the settings menu over to one menu, while also being Fragment based.
2013-10-13 20:06:52 -07:00
Lioncash
fba46e5e2f [Android] Re-organize config loading so it's neater. 2013-10-13 22:52:14 -04:00
Lioncash
39280b5535 [Android] Remove implementation of OnPreferenceAttachedListener from PreferenceActivity. Not necessary. 2013-10-13 22:48:31 -04:00
Lioncash
aa36ba9fad [Android] Update the config file whenever a preference within SharedPreferences has been changed. 2013-10-13 22:06:54 -04:00
ToadKing
73bb9d23e0 add intent and icon for Ouya 2013-10-13 20:48:17 -04:00
Themaister
23069b6146 Log how SRAM is truncated. 2013-10-13 18:53:12 +02:00
Hans-Kristian Arntzen
ad3df7077c Merge pull request #337 from notaz/sram
Allow partial SRAM load
2013-10-13 09:53:35 -07:00
Grazvydas Ignotas
0711463c1e Allow partial SRAM load
Different cores that emulate the same system may have slightly different
understanding of SRAM, like it currently is for Genesis Plus GX vs
PicoDrive. Currently Genesis Plus GX uses larger padding, which means it
creates larger files. When loading such file for PicoDrive, current
code refuses to load it and this effectively destroys user's save
because new SRAM file is written on PicoDrive's exit.

To fix this, allow partial load (and print a warning).
2013-10-13 18:42:31 +03:00
Themaister
a5045e4052 Clarify input_apply_turbo.. 2013-10-13 10:22:23 +02:00
Themaister
05744ca9c7 Fix condition in RPNG. 2013-10-13 10:19:02 +02:00
ToadKing
ca2e2f239a add tool for making Ouya version (needs different package name) 2013-10-12 21:05:08 -04:00
Lioncash
8efd5e47c6 [Android] Add a basic Readme.md to the Android front-end project. 2013-10-11 19:28:35 -04:00
Lioncash
2f74173154 [Android] Add a doc on how to import the project into Eclipse. 2013-10-11 19:19:28 -04:00
Lioncash
6787c3b674 [Android] Remove an unused import. 2013-10-11 18:55:30 -04:00
Lioncash
2770b23e9f [Android] Add a handler for the global config CheckBoxPreference. 2013-10-11 18:48:12 -04:00
Lioncash
1105304df5 [Android] Also update the config if the settings activity gets paused. 2013-10-11 18:22:33 -04:00
Lioncash
8c7437f74f [Android] Save to the config file upon leaving the settings activity. 2013-10-11 18:18:59 -04: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
Squarepusher
7487c666c8 Merge pull request #332 from lioncash/master
[Android] Simplify how ListActivities set their adapters. Also tiny FileWrapper change.
2013-10-11 13:41:49 -07:00
Lioncash
0977f6dc9f [Android] Fix variable accessibility within BackStackItem. These aren't used outside of the class, so they should be made private. 2013-10-11 12:04:34 -04:00