mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-24 19:56:06 +00:00
(Android) Make beginning popup a 'welcome message' and no longer ask about
choosing between threaded video and static sync - just mention static sync but that's it - enable threaded video by default.
This commit is contained in:
parent
bd4f7133a4
commit
15a38dfb27
@ -51,9 +51,9 @@ public class MainMenuActivity extends PreferenceActivity {
|
|||||||
if (!detectDevice(false))
|
if (!detectDevice(false))
|
||||||
{
|
{
|
||||||
AlertDialog.Builder alert = new AlertDialog.Builder(this)
|
AlertDialog.Builder alert = new AlertDialog.Builder(this)
|
||||||
.setTitle("Two modes of play - pick one")
|
.setTitle("Welcome to RetroArch")
|
||||||
.setMessage("RetroArch has two modes of play: synchronize to refreshrate, and threaded video.\n\nSynchronize to refreshrate gives the most accurate results and can produce the smoothest results. However, it is hard to configure right and might result in unpleasant audio crackles when it has been configured wrong.\n\nThreaded video should work fine on most devices, but applies some adaptive video jittering to achieve this.\n\nChoose which of the two you want to use. (If you don't know, go for Threaded video). ")
|
.setMessage("This is your first time starting up RetroArch. RetroArch will now be preconfigured for the best possible gameplay experience. Please be aware that it might take some time until all shader and overlay assets are extracted.\n\nNOTE: Advanced users who want to finetune for the best possible audio/video experience should use static synchronization and turn off threaded video. Be aware that this is hard to configure right and might result in unpleasant audio crackles when it has been configured wrong.\n\nThreaded video should work fine on most devices, but applies some adaptive video jittering to achieve this. ")
|
||||||
.setPositiveButton("Threaded video", new DialogInterface.OnClickListener() {
|
.setPositiveButton("OK", new DialogInterface.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getBaseContext());
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getBaseContext());
|
||||||
@ -61,17 +61,6 @@ public class MainMenuActivity extends PreferenceActivity {
|
|||||||
edit.putBoolean("video_threaded", true);
|
edit.putBoolean("video_threaded", true);
|
||||||
edit.commit();
|
edit.commit();
|
||||||
}
|
}
|
||||||
})
|
|
||||||
.setNegativeButton("Synchronize to refreshrate", new DialogInterface.OnClickListener() {
|
|
||||||
@Override
|
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getBaseContext());
|
|
||||||
SharedPreferences.Editor edit = prefs.edit();
|
|
||||||
edit.putBoolean("video_threaded", false);
|
|
||||||
edit.commit();
|
|
||||||
Intent i = new Intent(getBaseContext(), DisplayRefreshRateTest.class);
|
|
||||||
startActivity(i);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
alert.show();
|
alert.show();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user