sl) {
mView.getActivity().setTitle(R.string.preferences_controls);
@@ -382,7 +288,7 @@ public final class SettingsFragmentPresenter {
sl.add(new HeaderSetting(null, null, R.string.utility, 0));
sl.add(new CheckBoxSetting(SettingsFile.KEY_DUMP_TEXTURES, Settings.SECTION_UTILITY, R.string.dump_textures, R.string.dump_textures_description, false, dumpTextures));
sl.add(new CheckBoxSetting(SettingsFile.KEY_CUSTOM_TEXTURES, Settings.SECTION_UTILITY, R.string.custom_textures, R.string.custom_textures_description, false, customTextures));
- //Disabled until custom texture implementation gets rewrite, current one overloads RAM and crashes Citra.
+ //Disabled until custom texture implementation gets rewrite, current one overloads RAM and crashes yuzu.
//sl.add(new CheckBoxSetting(SettingsFile.KEY_PRELOAD_TEXTURES, Settings.SECTION_UTILITY, R.string.preload_textures, R.string.preload_textures_description, false, preloadTextures));
}
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentView.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentView.java
similarity index 90%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentView.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentView.java
index c36eb55a7..3c1743fab 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentView.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentView.java
@@ -1,10 +1,10 @@
-package org.citra.citra_emu.features.settings.ui;
+package org.yuzu.yuzu_emu.features.settings.ui;
import androidx.fragment.app.FragmentActivity;
-import org.citra.citra_emu.features.settings.model.Setting;
-import org.citra.citra_emu.features.settings.model.Settings;
-import org.citra.citra_emu.features.settings.model.view.SettingsItem;
+import org.yuzu.yuzu_emu.features.settings.model.Setting;
+import org.yuzu.yuzu_emu.features.settings.model.Settings;
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem;
import java.util.ArrayList;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFrameLayout.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFrameLayout.java
similarity index 96%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFrameLayout.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFrameLayout.java
index 67bde5709..f753368a8 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFrameLayout.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFrameLayout.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.features.settings.ui;
+package org.yuzu.yuzu_emu.features.settings.ui;
import android.content.Context;
import android.util.AttributeSet;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/CheckBoxSettingViewHolder.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/CheckBoxSettingViewHolder.java
similarity index 82%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/CheckBoxSettingViewHolder.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/CheckBoxSettingViewHolder.java
index d914f7d0b..2b05739e7 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/CheckBoxSettingViewHolder.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/CheckBoxSettingViewHolder.java
@@ -1,13 +1,13 @@
-package org.citra.citra_emu.features.settings.ui.viewholder;
+package org.yuzu.yuzu_emu.features.settings.ui.viewholder;
import android.view.View;
import android.widget.CheckBox;
import android.widget.TextView;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.model.view.CheckBoxSetting;
-import org.citra.citra_emu.features.settings.model.view.SettingsItem;
-import org.citra.citra_emu.features.settings.ui.SettingsAdapter;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.model.view.CheckBoxSetting;
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter;
public final class CheckBoxSettingViewHolder extends SettingViewHolder {
private CheckBoxSetting mItem;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/DateTimeViewHolder.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.java
similarity index 78%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/DateTimeViewHolder.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.java
index 09ea93010..60a65b71a 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/DateTimeViewHolder.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.java
@@ -1,13 +1,13 @@
-package org.citra.citra_emu.features.settings.ui.viewholder;
+package org.yuzu.yuzu_emu.features.settings.ui.viewholder;
import android.view.View;
import android.widget.TextView;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.model.view.DateTimeSetting;
-import org.citra.citra_emu.features.settings.model.view.SettingsItem;
-import org.citra.citra_emu.features.settings.ui.SettingsAdapter;
-import org.citra.citra_emu.utils.Log;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.model.view.DateTimeSetting;
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter;
+import org.yuzu.yuzu_emu.utils.Log;
public final class DateTimeViewHolder extends SettingViewHolder {
private DateTimeSetting mItem;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/HeaderViewHolder.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/HeaderViewHolder.java
similarity index 73%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/HeaderViewHolder.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/HeaderViewHolder.java
index baf80ed76..afe021149 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/HeaderViewHolder.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/HeaderViewHolder.java
@@ -1,11 +1,11 @@
-package org.citra.citra_emu.features.settings.ui.viewholder;
+package org.yuzu.yuzu_emu.features.settings.ui.viewholder;
import android.view.View;
import android.widget.TextView;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.model.view.SettingsItem;
-import org.citra.citra_emu.features.settings.ui.SettingsAdapter;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter;
public final class HeaderViewHolder extends SettingViewHolder {
private TextView mHeaderName;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/InputBindingSettingViewHolder.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/InputBindingSettingViewHolder.java
similarity index 83%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/InputBindingSettingViewHolder.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/InputBindingSettingViewHolder.java
index 7d95c250a..6f8bef7d7 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/InputBindingSettingViewHolder.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/InputBindingSettingViewHolder.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.features.settings.ui.viewholder;
+package org.yuzu.yuzu_emu.features.settings.ui.viewholder;
import android.content.Context;
import android.content.SharedPreferences;
@@ -6,10 +6,10 @@ import android.preference.PreferenceManager;
import android.view.View;
import android.widget.TextView;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.model.view.InputBindingSetting;
-import org.citra.citra_emu.features.settings.model.view.SettingsItem;
-import org.citra.citra_emu.features.settings.ui.SettingsAdapter;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.model.view.InputBindingSetting;
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter;
public final class InputBindingSettingViewHolder extends SettingViewHolder {
private InputBindingSetting mItem;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/PremiumViewHolder.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/PremiumViewHolder.java
similarity index 82%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/PremiumViewHolder.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/PremiumViewHolder.java
index be0853ff0..1f862b281 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/PremiumViewHolder.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/PremiumViewHolder.java
@@ -1,13 +1,13 @@
-package org.citra.citra_emu.features.settings.ui.viewholder;
+package org.yuzu.yuzu_emu.features.settings.ui.viewholder;
import android.view.View;
import android.widget.TextView;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.model.view.SettingsItem;
-import org.citra.citra_emu.features.settings.ui.SettingsAdapter;
-import org.citra.citra_emu.features.settings.ui.SettingsFragmentView;
-import org.citra.citra_emu.ui.main.MainActivity;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsFragmentView;
+import org.yuzu.yuzu_emu.ui.main.MainActivity;
public final class PremiumViewHolder extends SettingViewHolder {
private TextView mHeaderName;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SettingViewHolder.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.java
similarity index 86%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SettingViewHolder.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.java
index 2643ea121..268b7c386 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SettingViewHolder.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.java
@@ -1,11 +1,11 @@
-package org.citra.citra_emu.features.settings.ui.viewholder;
+package org.yuzu.yuzu_emu.features.settings.ui.viewholder;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
-import org.citra.citra_emu.features.settings.model.view.SettingsItem;
-import org.citra.citra_emu.features.settings.ui.SettingsAdapter;
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter;
public abstract class SettingViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener {
private SettingsAdapter mAdapter;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.java
similarity index 85%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.java
index a175af9f8..e3766f55e 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.java
@@ -1,15 +1,15 @@
-package org.citra.citra_emu.features.settings.ui.viewholder;
+package org.yuzu.yuzu_emu.features.settings.ui.viewholder;
import android.content.res.Resources;
import android.view.View;
import android.widget.TextView;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.model.view.PremiumSingleChoiceSetting;
-import org.citra.citra_emu.features.settings.model.view.SettingsItem;
-import org.citra.citra_emu.features.settings.model.view.SingleChoiceSetting;
-import org.citra.citra_emu.features.settings.model.view.StringSingleChoiceSetting;
-import org.citra.citra_emu.features.settings.ui.SettingsAdapter;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.model.view.PremiumSingleChoiceSetting;
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem;
+import org.yuzu.yuzu_emu.features.settings.model.view.SingleChoiceSetting;
+import org.yuzu.yuzu_emu.features.settings.model.view.StringSingleChoiceSetting;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter;
public final class SingleChoiceViewHolder extends SettingViewHolder {
private SettingsItem mItem;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SliderViewHolder.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.java
similarity index 79%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SliderViewHolder.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.java
index 3dd048a29..1f60a37ce 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SliderViewHolder.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.java
@@ -1,12 +1,12 @@
-package org.citra.citra_emu.features.settings.ui.viewholder;
+package org.yuzu.yuzu_emu.features.settings.ui.viewholder;
import android.view.View;
import android.widget.TextView;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.model.view.SettingsItem;
-import org.citra.citra_emu.features.settings.model.view.SliderSetting;
-import org.citra.citra_emu.features.settings.ui.SettingsAdapter;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem;
+import org.yuzu.yuzu_emu.features.settings.model.view.SliderSetting;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter;
public final class SliderViewHolder extends SettingViewHolder {
private SliderSetting mItem;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SubmenuViewHolder.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.java
similarity index 78%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SubmenuViewHolder.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.java
index cb8c3e92a..1aca4723d 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/viewholder/SubmenuViewHolder.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.java
@@ -1,12 +1,12 @@
-package org.citra.citra_emu.features.settings.ui.viewholder;
+package org.yuzu.yuzu_emu.features.settings.ui.viewholder;
import android.view.View;
import android.widget.TextView;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.model.view.SettingsItem;
-import org.citra.citra_emu.features.settings.model.view.SubmenuSetting;
-import org.citra.citra_emu.features.settings.ui.SettingsAdapter;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem;
+import org.yuzu.yuzu_emu.features.settings.model.view.SubmenuSetting;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter;
public final class SubmenuViewHolder extends SettingViewHolder {
private SubmenuSetting mItem;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/utils/SettingsFile.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.java
similarity index 92%
rename from src/android/app/src/main/java/org/citra/citra_emu/features/settings/utils/SettingsFile.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.java
index 8ae6b70d7..9e58dedc2 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/utils/SettingsFile.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.java
@@ -1,20 +1,20 @@
-package org.citra.citra_emu.features.settings.utils;
+package org.yuzu.yuzu_emu.features.settings.utils;
import androidx.annotation.NonNull;
-import org.citra.citra_emu.CitraApplication;
-import org.citra.citra_emu.NativeLibrary;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.model.FloatSetting;
-import org.citra.citra_emu.features.settings.model.IntSetting;
-import org.citra.citra_emu.features.settings.model.Setting;
-import org.citra.citra_emu.features.settings.model.SettingSection;
-import org.citra.citra_emu.features.settings.model.Settings;
-import org.citra.citra_emu.features.settings.model.StringSetting;
-import org.citra.citra_emu.features.settings.ui.SettingsActivityView;
-import org.citra.citra_emu.utils.BiMap;
-import org.citra.citra_emu.utils.DirectoryInitialization;
-import org.citra.citra_emu.utils.Log;
+import org.yuzu.yuzu_emu.YuzuApplication;
+import org.yuzu.yuzu_emu.NativeLibrary;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.model.FloatSetting;
+import org.yuzu.yuzu_emu.features.settings.model.IntSetting;
+import org.yuzu.yuzu_emu.features.settings.model.Setting;
+import org.yuzu.yuzu_emu.features.settings.model.SettingSection;
+import org.yuzu.yuzu_emu.features.settings.model.Settings;
+import org.yuzu.yuzu_emu.features.settings.model.StringSetting;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivityView;
+import org.yuzu.yuzu_emu.utils.BiMap;
+import org.yuzu.yuzu_emu.utils.DirectoryInitialization;
+import org.yuzu.yuzu_emu.utils.Log;
import org.ini4j.Wini;
import java.io.BufferedReader;
@@ -164,11 +164,11 @@ public final class SettingsFile {
}
}
} catch (FileNotFoundException e) {
- Log.error("[SettingsFile] File not found: " + ini.getAbsolutePath() + e.getMessage());
+ Log.error("[SettingsFile] File not found: " + e.getMessage());
if (view != null)
view.onSettingsFileNotFound();
} catch (IOException e) {
- Log.error("[SettingsFile] Error reading from: " + ini.getAbsolutePath() + e.getMessage());
+ Log.error("[SettingsFile] Error reading from: " + e.getMessage());
if (view != null)
view.onSettingsFileNotFound();
} finally {
@@ -176,7 +176,7 @@ public final class SettingsFile {
try {
reader.close();
} catch (IOException e) {
- Log.error("[SettingsFile] Error closing: " + ini.getAbsolutePath() + e.getMessage());
+ Log.error("[SettingsFile] Error closing: " + e.getMessage());
}
}
}
@@ -223,7 +223,7 @@ public final class SettingsFile {
writer.store();
} catch (IOException e) {
Log.error("[SettingsFile] File not found: " + fileName + ".ini: " + e.getMessage());
- view.showToastMessage(CitraApplication.getAppContext().getString(R.string.error_saving, fileName, e.getMessage()), false);
+ view.showToastMessage(YuzuApplication.getAppContext().getString(R.string.error_saving, fileName, e.getMessage()), false);
}
}
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/fragments/CustomFilePickerFragment.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/CustomFilePickerFragment.java
similarity index 98%
rename from src/android/app/src/main/java/org/citra/citra_emu/fragments/CustomFilePickerFragment.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/CustomFilePickerFragment.java
index c18ecd4c3..2658b1445 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/fragments/CustomFilePickerFragment.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/CustomFilePickerFragment.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.fragments;
+package org.yuzu.yuzu_emu.fragments;
import android.net.Uri;
import android.os.Bundle;
@@ -14,7 +14,7 @@ import androidx.core.content.FileProvider;
import com.nononsenseapps.filepicker.FilePickerFragment;
-import org.citra.citra_emu.R;
+import org.yuzu.yuzu_emu.R;
import java.io.File;
import java.util.Arrays;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/fragments/EmulationFragment.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.java
similarity index 94%
rename from src/android/app/src/main/java/org/citra/citra_emu/fragments/EmulationFragment.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.java
index cdb40d6f8..b2083f858 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/fragments/EmulationFragment.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.fragments;
+package org.yuzu.yuzu_emu.fragments;
import android.content.Context;
import android.content.IntentFilter;
@@ -22,15 +22,15 @@ import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
-import org.citra.citra_emu.NativeLibrary;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.activities.EmulationActivity;
-import org.citra.citra_emu.overlay.InputOverlay;
-import org.citra.citra_emu.utils.DirectoryInitialization;
-import org.citra.citra_emu.utils.DirectoryInitialization.DirectoryInitializationState;
-import org.citra.citra_emu.utils.DirectoryStateReceiver;
-import org.citra.citra_emu.utils.EmulationMenuSettings;
-import org.citra.citra_emu.utils.Log;
+import org.yuzu.yuzu_emu.NativeLibrary;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.activities.EmulationActivity;
+import org.yuzu.yuzu_emu.overlay.InputOverlay;
+import org.yuzu.yuzu_emu.utils.DirectoryInitialization;
+import org.yuzu.yuzu_emu.utils.DirectoryInitialization.DirectoryInitializationState;
+import org.yuzu.yuzu_emu.utils.DirectoryStateReceiver;
+import org.yuzu.yuzu_emu.utils.EmulationMenuSettings;
+import org.yuzu.yuzu_emu.utils.Log;
public final class EmulationFragment extends Fragment implements SurfaceHolder.Callback, Choreographer.FrameCallback {
private static final String KEY_GAMEPATH = "gamepath";
@@ -118,10 +118,10 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
public void onResume() {
super.onResume();
Choreographer.getInstance().postFrameCallback(this);
- if (DirectoryInitialization.areCitraDirectoriesReady()) {
+ if (DirectoryInitialization.areDirectoriesReady()) {
mEmulationState.run(activity.isActivityRecreated());
} else {
- setupCitraDirectoriesThenStartEmulation();
+ setupDirectoriesThenStartEmulation();
}
}
@@ -146,7 +146,7 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
super.onDetach();
}
- private void setupCitraDirectoriesThenStartEmulation() {
+ private void setupDirectoriesThenStartEmulation() {
IntentFilter statusIntentFilter = new IntentFilter(
DirectoryInitialization.BROADCAST_ACTION);
@@ -154,7 +154,7 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
new DirectoryStateReceiver(directoryInitializationState ->
{
if (directoryInitializationState ==
- DirectoryInitializationState.CITRA_DIRECTORIES_INITIALIZED) {
+ DirectoryInitializationState.YUZU_DIRECTORIES_INITIALIZED) {
mEmulationState.run(activity.isActivityRecreated());
} else if (directoryInitializationState ==
DirectoryInitializationState.EXTERNAL_STORAGE_PERMISSION_NEEDED) {
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MenuFragment.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MenuFragment.java
new file mode 100644
index 000000000..5dc3f5545
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MenuFragment.java
@@ -0,0 +1,129 @@
+package org.yuzu.yuzu_emu.fragments;
+
+import android.content.pm.PackageManager;
+import android.graphics.Rect;
+import android.os.Bundle;
+import android.util.SparseIntArray;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.Button;
+import android.widget.LinearLayout;
+
+import androidx.annotation.ColorInt;
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+import androidx.core.graphics.Insets;
+import androidx.core.view.ViewCompat;
+import androidx.core.view.WindowInsetsCompat;
+import androidx.fragment.app.Fragment;
+
+import com.google.android.material.color.MaterialColors;
+import com.google.android.material.elevation.ElevationOverlayProvider;
+
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.activities.EmulationActivity;
+
+
+public final class MenuFragment extends Fragment implements View.OnClickListener
+{
+ private static final String KEY_TITLE = "title";
+ private static final String KEY_WII = "wii";
+ private static SparseIntArray buttonsActionsMap = new SparseIntArray();
+
+ private int mCutInset = 0;
+
+ static
+ {
+ buttonsActionsMap.append(R.id.menu_exit, EmulationActivity.MENU_ACTION_EXIT);
+ }
+
+ public static MenuFragment newInstance()
+ {
+ MenuFragment fragment = new MenuFragment();
+
+ Bundle arguments = new Bundle();
+ fragment.setArguments(arguments);
+
+ return fragment;
+ }
+
+ // This is primarily intended to account for any navigation bar at the bottom of the screen
+ private int getBottomPaddingRequired()
+ {
+ Rect visibleFrame = new Rect();
+ requireActivity().getWindow().getDecorView().getWindowVisibleDisplayFrame(visibleFrame);
+ return visibleFrame.bottom - visibleFrame.top - getResources().getDisplayMetrics().heightPixels;
+ }
+
+ @NonNull
+ @Override
+ public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
+ Bundle savedInstanceState)
+ {
+ View rootView = inflater.inflate(R.layout.fragment_ingame_menu, container, false);
+
+ LinearLayout options = rootView.findViewById(R.id.layout_options);
+
+// mPauseEmulation = options.findViewById(R.id.menu_pause_emulation);
+// mUnpauseEmulation = options.findViewById(R.id.menu_unpause_emulation);
+//
+// updatePauseUnpauseVisibility();
+//
+// if (!requireActivity().getPackageManager().hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN))
+// {
+// options.findViewById(R.id.menu_overlay_controls).setVisibility(View.GONE);
+// }
+//
+// if (!getArguments().getBoolean(KEY_WII, true))
+// {
+// options.findViewById(R.id.menu_refresh_wiimotes).setVisibility(View.GONE);
+// }
+
+ int bottomPaddingRequired = getBottomPaddingRequired();
+
+ // Provide a safe zone between the navigation bar and Exit Emulation to avoid accidental touches
+ float density = getResources().getDisplayMetrics().density;
+ if (bottomPaddingRequired >= 32 * density)
+ {
+ bottomPaddingRequired += 32 * density;
+ }
+
+ if (bottomPaddingRequired > rootView.getPaddingBottom())
+ {
+ rootView.setPadding(rootView.getPaddingLeft(), rootView.getPaddingTop(),
+ rootView.getPaddingRight(), bottomPaddingRequired);
+ }
+
+ for (int childIndex = 0; childIndex < options.getChildCount(); childIndex++)
+ {
+ Button button = (Button) options.getChildAt(childIndex);
+
+ button.setOnClickListener(this);
+ }
+
+ rootView.findViewById(R.id.menu_exit).setOnClickListener(this);
+
+// mTitleText = rootView.findViewById(R.id.text_game_title);
+// String title = getArguments().getString(KEY_TITLE, null);
+// if (title != null)
+// {
+// mTitleText.setText(title);
+// }
+
+ if (getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_LTR)
+ {
+// rootView.post(() -> NativeLibrary.SetObscuredPixelsLeft(rootView.getWidth()));
+ }
+
+ return rootView;
+ }
+
+ @Override
+ public void onClick(View button)
+ {
+ int action = buttonsActionsMap.get(button.getId());
+ EmulationActivity activity = (EmulationActivity) requireActivity();
+ activity.handleMenuAction(action);
+ }
+}
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/model/Game.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.java
similarity index 98%
rename from src/android/app/src/main/java/org/citra/citra_emu/model/Game.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.java
index a4ffc59c7..bc1b19bd1 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/model/Game.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.model;
+package org.yuzu.yuzu_emu.model;
import android.content.ContentValues;
import android.database.Cursor;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/model/GameDatabase.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GameDatabase.java
similarity index 98%
rename from src/android/app/src/main/java/org/citra/citra_emu/model/GameDatabase.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GameDatabase.java
index 8232d0489..ac5db1c36 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/model/GameDatabase.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GameDatabase.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.model;
+package org.yuzu.yuzu_emu.model;
import android.content.ContentValues;
import android.content.Context;
@@ -6,8 +6,8 @@ import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
-import org.citra.citra_emu.NativeLibrary;
-import org.citra.citra_emu.utils.Log;
+import org.yuzu.yuzu_emu.NativeLibrary;
+import org.yuzu.yuzu_emu.utils.Log;
import java.io.File;
import java.util.Arrays;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/model/GameProvider.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GameProvider.java
similarity index 97%
rename from src/android/app/src/main/java/org/citra/citra_emu/model/GameProvider.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GameProvider.java
index 33b289fc4..eff4b1e2d 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/model/GameProvider.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GameProvider.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.model;
+package org.yuzu.yuzu_emu.model;
import android.content.ContentProvider;
import android.content.ContentValues;
@@ -8,8 +8,8 @@ import android.net.Uri;
import androidx.annotation.NonNull;
-import org.citra.citra_emu.BuildConfig;
-import org.citra.citra_emu.utils.Log;
+import org.yuzu.yuzu_emu.BuildConfig;
+import org.yuzu.yuzu_emu.utils.Log;
/**
* Provides an interface allowing Activities to interact with the SQLite database.
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlay.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.java
similarity index 99%
rename from src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlay.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.java
index cdb2f7666..043a164ce 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlay.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.java
@@ -4,7 +4,7 @@
* Refer to the license.txt file included.
*/
-package org.citra.citra_emu.overlay;
+package org.yuzu.yuzu_emu.overlay;
import android.app.Activity;
import android.content.Context;
@@ -25,11 +25,11 @@ import android.view.SurfaceView;
import android.view.View;
import android.view.View.OnTouchListener;
-import org.citra.citra_emu.NativeLibrary;
-import org.citra.citra_emu.NativeLibrary.ButtonState;
-import org.citra.citra_emu.NativeLibrary.ButtonType;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.utils.EmulationMenuSettings;
+import org.yuzu.yuzu_emu.NativeLibrary;
+import org.yuzu.yuzu_emu.NativeLibrary.ButtonState;
+import org.yuzu.yuzu_emu.NativeLibrary.ButtonType;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.utils.EmulationMenuSettings;
import java.util.HashSet;
import java.util.Set;
@@ -117,7 +117,7 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener {
* within a SharedPreferences instance so that those values can be retrieved here.
*
* This has a few benefits over the conventional way of storing the values
- * (ie. within the Citra ini file).
+ * (ie. within the yuzu ini file).
*
* - No native calls
* - Keeps Android-only values inside the Android environment
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlayDrawableButton.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableButton.java
similarity index 99%
rename from src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlayDrawableButton.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableButton.java
index 81352296c..fe523c6c4 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlayDrawableButton.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableButton.java
@@ -4,7 +4,7 @@
* Refer to the license.txt file included.
*/
-package org.citra.citra_emu.overlay;
+package org.yuzu.yuzu_emu.overlay;
import android.content.res.Resources;
import android.graphics.Bitmap;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlayDrawableDpad.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableDpad.java
similarity index 99%
rename from src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlayDrawableDpad.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableDpad.java
index 87f3b7cd9..a14840d98 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlayDrawableDpad.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableDpad.java
@@ -4,7 +4,7 @@
* Refer to the license.txt file included.
*/
-package org.citra.citra_emu.overlay;
+package org.yuzu.yuzu_emu.overlay;
import android.content.res.Resources;
import android.graphics.Bitmap;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlayDrawableJoystick.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableJoystick.java
similarity index 98%
rename from src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlayDrawableJoystick.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableJoystick.java
index 956a8b1e9..875719311 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/overlay/InputOverlayDrawableJoystick.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableJoystick.java
@@ -4,7 +4,7 @@
* Refer to the license.txt file included.
*/
-package org.citra.citra_emu.overlay;
+package org.yuzu.yuzu_emu.overlay;
import android.content.res.Resources;
import android.graphics.Bitmap;
@@ -13,8 +13,8 @@ import android.graphics.Rect;
import android.graphics.drawable.BitmapDrawable;
import android.view.MotionEvent;
-import org.citra.citra_emu.NativeLibrary.ButtonType;
-import org.citra.citra_emu.utils.EmulationMenuSettings;
+import org.yuzu.yuzu_emu.NativeLibrary.ButtonType;
+import org.yuzu.yuzu_emu.utils.EmulationMenuSettings;
/**
* Custom {@link BitmapDrawable} that is capable
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/ui/DividerItemDecoration.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/DividerItemDecoration.java
similarity index 99%
rename from src/android/app/src/main/java/org/citra/citra_emu/ui/DividerItemDecoration.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/DividerItemDecoration.java
index 96ccc08bb..f725382e6 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/ui/DividerItemDecoration.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/DividerItemDecoration.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.ui;
+package org.yuzu.yuzu_emu.ui;
import android.content.Context;
import android.content.res.TypedArray;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/ui/TwoPaneOnBackPressedCallback.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/TwoPaneOnBackPressedCallback.java
similarity index 96%
rename from src/android/app/src/main/java/org/citra/citra_emu/ui/TwoPaneOnBackPressedCallback.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/TwoPaneOnBackPressedCallback.java
index d07fe30d8..78e5f0965 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/ui/TwoPaneOnBackPressedCallback.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/TwoPaneOnBackPressedCallback.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.ui;
+package org.yuzu.yuzu_emu.ui;
import android.view.View;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/ui/main/MainActivity.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.java
similarity index 92%
rename from src/android/app/src/main/java/org/citra/citra_emu/ui/main/MainActivity.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.java
index 4ba419a48..6558a05c9 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/ui/main/MainActivity.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.ui.main;
+package org.yuzu.yuzu_emu.ui.main;
import android.content.Intent;
import android.content.pm.PackageManager;
@@ -12,19 +12,19 @@ import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.activities.EmulationActivity;
-import org.citra.citra_emu.features.settings.ui.SettingsActivity;
-import org.citra.citra_emu.model.GameProvider;
-import org.citra.citra_emu.ui.platform.PlatformGamesFragment;
-import org.citra.citra_emu.utils.AddDirectoryHelper;
-import org.citra.citra_emu.utils.BillingManager;
-import org.citra.citra_emu.utils.DirectoryInitialization;
-import org.citra.citra_emu.utils.FileBrowserHelper;
-import org.citra.citra_emu.utils.PermissionsHandler;
-import org.citra.citra_emu.utils.PicassoUtils;
-import org.citra.citra_emu.utils.StartupHandler;
-import org.citra.citra_emu.utils.ThemeUtil;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.activities.EmulationActivity;
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity;
+import org.yuzu.yuzu_emu.model.GameProvider;
+import org.yuzu.yuzu_emu.ui.platform.PlatformGamesFragment;
+import org.yuzu.yuzu_emu.utils.AddDirectoryHelper;
+import org.yuzu.yuzu_emu.utils.BillingManager;
+import org.yuzu.yuzu_emu.utils.DirectoryInitialization;
+import org.yuzu.yuzu_emu.utils.FileBrowserHelper;
+import org.yuzu.yuzu_emu.utils.PermissionsHandler;
+import org.yuzu.yuzu_emu.utils.PicassoUtils;
+import org.yuzu.yuzu_emu.utils.StartupHandler;
+import org.yuzu.yuzu_emu.utils.ThemeUtil;
import java.util.Arrays;
import java.util.Collections;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/ui/main/MainPresenter.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainPresenter.java
similarity index 81%
rename from src/android/app/src/main/java/org/citra/citra_emu/ui/main/MainPresenter.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainPresenter.java
index 4e9994c2a..2608df2c2 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/ui/main/MainPresenter.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainPresenter.java
@@ -1,14 +1,14 @@
-package org.citra.citra_emu.ui.main;
+package org.yuzu.yuzu_emu.ui.main;
import android.os.SystemClock;
-import org.citra.citra_emu.BuildConfig;
-import org.citra.citra_emu.CitraApplication;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.model.Settings;
-import org.citra.citra_emu.features.settings.utils.SettingsFile;
-import org.citra.citra_emu.model.GameDatabase;
-import org.citra.citra_emu.utils.AddDirectoryHelper;
+import org.yuzu.yuzu_emu.BuildConfig;
+import org.yuzu.yuzu_emu.YuzuApplication;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.model.Settings;
+import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile;
+import org.yuzu.yuzu_emu.model.GameDatabase;
+import org.yuzu.yuzu_emu.utils.AddDirectoryHelper;
public final class MainPresenter {
public static final int REQUEST_ADD_DIRECTORY = 1;
@@ -75,7 +75,7 @@ public final class MainPresenter {
}
public void refeshGameList() {
- GameDatabase databaseHelper = CitraApplication.databaseHelper;
+ GameDatabase databaseHelper = YuzuApplication.databaseHelper;
databaseHelper.scanLibrary(databaseHelper.getWritableDatabase());
mView.refresh();
}
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/ui/main/MainView.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainView.java
similarity index 94%
rename from src/android/app/src/main/java/org/citra/citra_emu/ui/main/MainView.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainView.java
index de7c04875..c2ff086ee 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/ui/main/MainView.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainView.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.ui.main;
+package org.yuzu.yuzu_emu.ui.main;
/**
* Abstraction for the screen that shows on application launch.
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/ui/platform/PlatformGamesFragment.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesFragment.java
similarity index 90%
rename from src/android/app/src/main/java/org/citra/citra_emu/ui/platform/PlatformGamesFragment.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesFragment.java
index 9fc30796f..6c327b1b8 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/ui/platform/PlatformGamesFragment.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesFragment.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.ui.platform;
+package org.yuzu.yuzu_emu.ui.platform;
import android.database.Cursor;
import android.os.Bundle;
@@ -13,10 +13,10 @@ import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
-import org.citra.citra_emu.CitraApplication;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.adapters.GameAdapter;
-import org.citra.citra_emu.model.GameDatabase;
+import org.yuzu.yuzu_emu.YuzuApplication;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.adapters.GameAdapter;
+import org.yuzu.yuzu_emu.model.GameDatabase;
public final class PlatformGamesFragment extends Fragment implements PlatformGamesView {
private PlatformGamesPresenter mPresenter = new PlatformGamesPresenter(this);
@@ -54,7 +54,7 @@ public final class PlatformGamesFragment extends Fragment implements PlatformGam
// Add swipe down to refresh gesture
final SwipeRefreshLayout pullToRefresh = view.findViewById(R.id.refresh_grid_games);
pullToRefresh.setOnRefreshListener(() -> {
- GameDatabase databaseHelper = CitraApplication.databaseHelper;
+ GameDatabase databaseHelper = YuzuApplication.databaseHelper;
databaseHelper.scanLibrary(databaseHelper.getWritableDatabase());
refresh();
pullToRefresh.setRefreshing(false);
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/ui/platform/PlatformGamesPresenter.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesPresenter.java
similarity index 78%
rename from src/android/app/src/main/java/org/citra/citra_emu/ui/platform/PlatformGamesPresenter.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesPresenter.java
index 9d8040e1b..effd4a7d1 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/ui/platform/PlatformGamesPresenter.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesPresenter.java
@@ -1,9 +1,9 @@
-package org.citra.citra_emu.ui.platform;
+package org.yuzu.yuzu_emu.ui.platform;
-import org.citra.citra_emu.CitraApplication;
-import org.citra.citra_emu.model.GameDatabase;
-import org.citra.citra_emu.utils.Log;
+import org.yuzu.yuzu_emu.YuzuApplication;
+import org.yuzu.yuzu_emu.model.GameDatabase;
+import org.yuzu.yuzu_emu.utils.Log;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
@@ -27,7 +27,7 @@ public final class PlatformGamesPresenter {
private void loadGames() {
Log.debug("[PlatformGamesPresenter] : Loading games...");
- GameDatabase databaseHelper = CitraApplication.databaseHelper;
+ GameDatabase databaseHelper = YuzuApplication.databaseHelper;
databaseHelper.getGames()
.subscribeOn(Schedulers.io())
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/ui/platform/PlatformGamesView.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.java
similarity index 92%
rename from src/android/app/src/main/java/org/citra/citra_emu/ui/platform/PlatformGamesView.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.java
index 4332121eb..a4e3f1eea 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/ui/platform/PlatformGamesView.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.ui.platform;
+package org.yuzu.yuzu_emu.ui.platform;
import android.database.Cursor;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/Action1.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.java
similarity index 60%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/Action1.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.java
index 886846ec5..2d99138f7 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/Action1.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
public interface Action1 {
void call(T t);
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/AddDirectoryHelper.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/AddDirectoryHelper.java
similarity index 90%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/AddDirectoryHelper.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/AddDirectoryHelper.java
index 7578c353f..2a90e75d8 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/AddDirectoryHelper.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/AddDirectoryHelper.java
@@ -1,12 +1,12 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.content.AsyncQueryHandler;
import android.content.ContentValues;
import android.content.Context;
import android.net.Uri;
-import org.citra.citra_emu.model.GameDatabase;
-import org.citra.citra_emu.model.GameProvider;
+import org.yuzu.yuzu_emu.model.GameDatabase;
+import org.yuzu.yuzu_emu.model.GameProvider;
public class AddDirectoryHelper {
private Context mContext;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/BiMap.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BiMap.java
similarity index 93%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/BiMap.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BiMap.java
index dfbab1780..eaf25fa43 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/BiMap.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BiMap.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import java.util.HashMap;
import java.util.Map;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/BillingManager.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BillingManager.java
similarity index 95%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/BillingManager.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BillingManager.java
index 5dc54c235..3d6dd1481 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/BillingManager.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BillingManager.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.app.Activity;
import android.content.SharedPreferences;
@@ -17,16 +17,16 @@ import com.android.billingclient.api.PurchasesUpdatedListener;
import com.android.billingclient.api.SkuDetails;
import com.android.billingclient.api.SkuDetailsParams;
-import org.citra.citra_emu.CitraApplication;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.features.settings.utils.SettingsFile;
-import org.citra.citra_emu.ui.main.MainActivity;
+import org.yuzu.yuzu_emu.YuzuApplication;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile;
+import org.yuzu.yuzu_emu.ui.main.MainActivity;
import java.util.ArrayList;
import java.util.List;
public class BillingManager implements PurchasesUpdatedListener {
- private final String BILLING_SKU_PREMIUM = "citra.citra_emu.product_id.premium";
+ private final String BILLING_SKU_PREMIUM = "yuzu.yuzu_emu.product_id.premium";
private final Activity mActivity;
private BillingClient mBillingClient;
@@ -35,7 +35,7 @@ public class BillingManager implements PurchasesUpdatedListener {
private boolean mIsServiceConnected = false;
private Runnable mUpdateBillingCallback;
- private static SharedPreferences mPreferences = PreferenceManager.getDefaultSharedPreferences(CitraApplication.getAppContext());
+ private static SharedPreferences mPreferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.getAppContext());
public BillingManager(Activity activity) {
mActivity = activity;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/ControllerMappingHelper.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ControllerMappingHelper.java
similarity index 98%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/ControllerMappingHelper.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ControllerMappingHelper.java
index f801a05f0..92fa50edf 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/ControllerMappingHelper.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ControllerMappingHelper.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.view.InputDevice;
import android.view.KeyEvent;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/DirectoryInitialization.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.java
similarity index 84%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/DirectoryInitialization.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.java
index 58e552f5e..bac52bb2a 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/DirectoryInitialization.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.java
@@ -4,7 +4,7 @@
* Refer to the license.txt file included.
*/
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.content.Context;
import android.content.Intent;
@@ -14,7 +14,7 @@ import android.preference.PreferenceManager;
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
-import org.citra.citra_emu.NativeLibrary;
+import org.yuzu.yuzu_emu.NativeLibrary;
import java.io.File;
import java.io.FileOutputStream;
@@ -25,15 +25,15 @@ import java.util.concurrent.atomic.AtomicBoolean;
/**
* A service that spawns its own thread in order to copy several binary and shader files
- * from the Citra APK to the external file system.
+ * from the yuzu APK to the external file system.
*/
public final class DirectoryInitialization {
- public static final String BROADCAST_ACTION = "org.citra.citra_emu.BROADCAST";
+ public static final String BROADCAST_ACTION = "org.yuzu.yuzu_emu.BROADCAST";
public static final String EXTRA_STATE = "directoryState";
private static volatile DirectoryInitializationState directoryState = null;
private static String userPath;
- private static AtomicBoolean isCitraDirectoryInitializationRunning = new AtomicBoolean(false);
+ private static AtomicBoolean isDirectoryInitializationRunning = new AtomicBoolean(false);
public static void start(Context context) {
// Can take a few seconds to run, so don't block UI thread.
@@ -42,15 +42,15 @@ public final class DirectoryInitialization {
}
private static void init(Context context) {
- if (!isCitraDirectoryInitializationRunning.compareAndSet(false, true))
+ if (!isDirectoryInitializationRunning.compareAndSet(false, true))
return;
- if (directoryState != DirectoryInitializationState.CITRA_DIRECTORIES_INITIALIZED) {
+ if (directoryState != DirectoryInitializationState.YUZU_DIRECTORIES_INITIALIZED) {
if (PermissionsHandler.hasWriteAccess(context)) {
- if (setCitraUserDirectory()) {
+ if (setUserDirectory()) {
initializeInternalStorage(context);
NativeLibrary.CreateConfigFile();
- directoryState = DirectoryInitializationState.CITRA_DIRECTORIES_INITIALIZED;
+ directoryState = DirectoryInitializationState.YUZU_DIRECTORIES_INITIALIZED;
} else {
directoryState = DirectoryInitializationState.CANT_FIND_EXTERNAL_STORAGE;
}
@@ -59,7 +59,7 @@ public final class DirectoryInitialization {
}
}
- isCitraDirectoryInitializationRunning.set(false);
+ isDirectoryInitializationRunning.set(false);
sendBroadcastState(directoryState, context);
}
@@ -71,14 +71,14 @@ public final class DirectoryInitialization {
file.delete();
}
- public static boolean areCitraDirectoriesReady() {
- return directoryState == DirectoryInitializationState.CITRA_DIRECTORIES_INITIALIZED;
+ public static boolean areDirectoriesReady() {
+ return directoryState == DirectoryInitializationState.YUZU_DIRECTORIES_INITIALIZED;
}
public static String getUserDirectory() {
if (directoryState == null) {
throw new IllegalStateException("DirectoryInitialization has to run at least once!");
- } else if (isCitraDirectoryInitializationRunning.get()) {
+ } else if (isDirectoryInitializationRunning.get()) {
throw new IllegalStateException(
"DirectoryInitialization has to finish running first!");
}
@@ -87,11 +87,11 @@ public final class DirectoryInitialization {
private static native void SetSysDirectory(String path);
- private static boolean setCitraUserDirectory() {
+ private static boolean setUserDirectory() {
if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) {
File externalPath = Environment.getExternalStorageDirectory();
if (externalPath != null) {
- userPath = externalPath.getAbsolutePath() + "/citra-emu";
+ userPath = externalPath.getAbsolutePath() + "/yuzu-emu";
Log.debug("[DirectoryInitialization] User Dir: " + userPath);
// NativeLibrary.SetUserDirectory(userPath);
return true;
@@ -109,7 +109,7 @@ public final class DirectoryInitialization {
String revision = NativeLibrary.GetGitRevision();
if (!preferences.getString("sysDirectoryVersion", "").equals(revision)) {
// There is no extracted Sys directory, or there is a Sys directory from another
- // version of Citra that might contain outdated files. Let's (re-)extract Sys.
+ // version of yuzu that might contain outdated files. Let's (re-)extract Sys.
deleteDirectoryRecursively(sysDirectory);
copyAssetFolder("Sys", sysDirectory, true, context);
@@ -179,7 +179,7 @@ public final class DirectoryInitialization {
}
public enum DirectoryInitializationState {
- CITRA_DIRECTORIES_INITIALIZED,
+ YUZU_DIRECTORIES_INITIALIZED,
EXTERNAL_STORAGE_PERMISSION_NEEDED,
CANT_FIND_EXTERNAL_STORAGE
}
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/DirectoryStateReceiver.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryStateReceiver.java
similarity index 83%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/DirectoryStateReceiver.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryStateReceiver.java
index 5d1e951ca..62c9b018a 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/DirectoryStateReceiver.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryStateReceiver.java
@@ -1,10 +1,10 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
-import org.citra.citra_emu.utils.DirectoryInitialization.DirectoryInitializationState;
+import org.yuzu.yuzu_emu.utils.DirectoryInitialization.DirectoryInitializationState;
public class DirectoryStateReceiver extends BroadcastReceiver {
Action1 callback;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/EmulationMenuSettings.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/EmulationMenuSettings.java
similarity index 95%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/EmulationMenuSettings.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/EmulationMenuSettings.java
index 9664f8464..0b11b9cc0 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/EmulationMenuSettings.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/EmulationMenuSettings.java
@@ -1,12 +1,12 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
-import org.citra.citra_emu.CitraApplication;
+import org.yuzu.yuzu_emu.YuzuApplication;
public class EmulationMenuSettings {
- private static SharedPreferences mPreferences = PreferenceManager.getDefaultSharedPreferences(CitraApplication.getAppContext());
+ private static SharedPreferences mPreferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.getAppContext());
// These must match what is defined in src/core/settings.h
public static final int LayoutOption_Default = 0;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/FileBrowserHelper.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileBrowserHelper.java
similarity index 96%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/FileBrowserHelper.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileBrowserHelper.java
index baf691f5c..ad3ec3dc1 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/FileBrowserHelper.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileBrowserHelper.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.content.Intent;
import android.net.Uri;
@@ -10,7 +10,7 @@ import androidx.fragment.app.FragmentActivity;
import com.nononsenseapps.filepicker.FilePickerActivity;
import com.nononsenseapps.filepicker.Utils;
-import org.citra.citra_emu.activities.CustomFilePickerActivity;
+import org.yuzu.yuzu_emu.activities.CustomFilePickerActivity;
import java.io.File;
import java.util.List;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/FileUtil.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.java
similarity index 96%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/FileUtil.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.java
index f9025171b..11d06c7ee 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/FileUtil.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import java.io.File;
import java.io.FileInputStream;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/ForegroundService.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ForegroundService.java
similarity index 94%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/ForegroundService.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ForegroundService.java
index 31c415779..8834c7bc5 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/ForegroundService.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ForegroundService.java
@@ -4,7 +4,7 @@
* Refer to the license.txt file included.
*/
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.app.PendingIntent;
import android.app.Service;
@@ -14,8 +14,8 @@ import android.os.IBinder;
import androidx.core.app.NotificationCompat;
import androidx.core.app.NotificationManagerCompat;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.activities.EmulationActivity;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.activities.EmulationActivity;
/**
* A service that shows a permanent notification in the background to avoid the app getting
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/GameIconRequestHandler.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameIconRequestHandler.java
similarity index 90%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/GameIconRequestHandler.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameIconRequestHandler.java
index b790c2480..b75dc9a62 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/GameIconRequestHandler.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameIconRequestHandler.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.graphics.Bitmap;
@@ -6,7 +6,7 @@ import com.squareup.picasso.Picasso;
import com.squareup.picasso.Request;
import com.squareup.picasso.RequestHandler;
-import org.citra.citra_emu.NativeLibrary;
+import org.yuzu.yuzu_emu.NativeLibrary;
import java.nio.IntBuffer;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/Log.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Log.java
similarity index 86%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/Log.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Log.java
index 070d01eb1..ccf54138d 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/Log.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Log.java
@@ -1,6 +1,6 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
-import org.citra.citra_emu.BuildConfig;
+import org.yuzu.yuzu_emu.BuildConfig;
/**
* Contains methods that call through to {@link android.util.Log}, but
@@ -8,7 +8,7 @@ import org.citra.citra_emu.BuildConfig;
* levels in release builds.
*/
public final class Log {
- private static final String TAG = "Citra Frontend";
+ private static final String TAG = "Yuzu Frontend";
private Log() {
}
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/PermissionsHandler.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/PermissionsHandler.java
similarity index 97%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/PermissionsHandler.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/PermissionsHandler.java
index a29e23e8d..2eb200da4 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/PermissionsHandler.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/PermissionsHandler.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.annotation.TargetApi;
import android.content.Context;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/PicassoRoundedCornersTransformation.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/PicassoRoundedCornersTransformation.java
similarity index 97%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/PicassoRoundedCornersTransformation.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/PicassoRoundedCornersTransformation.java
index 892b46387..03057b0d5 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/PicassoRoundedCornersTransformation.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/PicassoRoundedCornersTransformation.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/PicassoUtils.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/PicassoUtils.java
similarity index 88%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/PicassoUtils.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/PicassoUtils.java
index c99726685..5033691b3 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/PicassoUtils.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/PicassoUtils.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.graphics.Bitmap;
import android.net.Uri;
@@ -6,8 +6,8 @@ import android.widget.ImageView;
import com.squareup.picasso.Picasso;
-import org.citra.citra_emu.CitraApplication;
-import org.citra.citra_emu.R;
+import org.yuzu.yuzu_emu.YuzuApplication;
+import org.yuzu.yuzu_emu.R;
import java.io.IOException;
@@ -20,7 +20,7 @@ public class PicassoUtils {
if (mPicassoInitialized) {
return;
}
- Picasso picassoInstance = new Picasso.Builder(CitraApplication.getAppContext())
+ Picasso picassoInstance = new Picasso.Builder(YuzuApplication.getAppContext())
.addRequestHandler(new GameIconRequestHandler())
.build();
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/StartupHandler.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/StartupHandler.java
similarity index 93%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/StartupHandler.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/StartupHandler.java
index 9112bf90c..5d22e8e08 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/StartupHandler.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/StartupHandler.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.content.Intent;
import android.os.Bundle;
@@ -7,8 +7,8 @@ import android.text.TextUtils;
import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.FragmentActivity;
-import org.citra.citra_emu.R;
-import org.citra.citra_emu.activities.EmulationActivity;
+import org.yuzu.yuzu_emu.R;
+import org.yuzu.yuzu_emu.activities.EmulationActivity;
public final class StartupHandler {
private static void handlePermissionsCheck(FragmentActivity parent) {
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/utils/ThemeUtil.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ThemeUtil.java
similarity index 82%
rename from src/android/app/src/main/java/org/citra/citra_emu/utils/ThemeUtil.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ThemeUtil.java
index 74ef3867f..4e4d48039 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/utils/ThemeUtil.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ThemeUtil.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.utils;
+package org.yuzu.yuzu_emu.utils;
import android.content.SharedPreferences;
import android.os.Build;
@@ -6,11 +6,11 @@ import android.preference.PreferenceManager;
import androidx.appcompat.app.AppCompatDelegate;
-import org.citra.citra_emu.CitraApplication;
-import org.citra.citra_emu.features.settings.utils.SettingsFile;
+import org.yuzu.yuzu_emu.YuzuApplication;
+import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile;
public class ThemeUtil {
- private static SharedPreferences mPreferences = PreferenceManager.getDefaultSharedPreferences(CitraApplication.getAppContext());
+ private static SharedPreferences mPreferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.getAppContext());
private static void applyTheme(int designValue) {
switch (designValue) {
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/viewholders/GameViewHolder.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/viewholders/GameViewHolder.java
similarity index 94%
rename from src/android/app/src/main/java/org/citra/citra_emu/viewholders/GameViewHolder.java
rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/viewholders/GameViewHolder.java
index 50dbcbe18..2dc0f34f3 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/viewholders/GameViewHolder.java
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/viewholders/GameViewHolder.java
@@ -1,4 +1,4 @@
-package org.citra.citra_emu.viewholders;
+package org.yuzu.yuzu_emu.viewholders;
import android.view.View;
import android.widget.ImageView;
@@ -6,7 +6,7 @@ import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
-import org.citra.citra_emu.R;
+import org.yuzu.yuzu_emu.R;
/**
* A simple class that stores references to views so that the GameAdapter doesn't need to
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp
index b343a1453..f548931f1 100644
--- a/src/android/app/src/main/jni/native.cpp
+++ b/src/android/app/src/main/jni/native.cpp
@@ -110,7 +110,7 @@ static Core::SystemResultStatus RunEmulation(const std::string& filepath) {
extern "C" {
-void Java_org_citra_citra_1emu_NativeLibrary_SurfaceChanged(JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_SurfaceChanged(JNIEnv* env,
[[maybe_unused]] jclass clazz,
jobject surf) {
s_surf = ANativeWindow_fromSurface(env, surf);
@@ -122,7 +122,7 @@ void Java_org_citra_citra_1emu_NativeLibrary_SurfaceChanged(JNIEnv* env,
LOG_INFO(Frontend, "surface changed");
}
-void Java_org_citra_citra_1emu_NativeLibrary_SurfaceDestroyed(JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_SurfaceDestroyed(JNIEnv* env,
[[maybe_unused]] jclass clazz) {
ANativeWindow_release(s_surf);
s_surf = nullptr;
@@ -131,32 +131,32 @@ void Java_org_citra_citra_1emu_NativeLibrary_SurfaceDestroyed(JNIEnv* env,
}
}
-void Java_org_citra_citra_1emu_NativeLibrary_DoFrame(JNIEnv* env, [[maybe_unused]] jclass clazz) {}
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_DoFrame(JNIEnv* env, [[maybe_unused]] jclass clazz) {}
-void Java_org_citra_citra_1emu_NativeLibrary_NotifyOrientationChange(JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_NotifyOrientationChange(JNIEnv* env,
[[maybe_unused]] jclass clazz,
jint layout_option,
jint rotation) {}
-void Java_org_citra_citra_1emu_NativeLibrary_SetUserDirectory(
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_SetUserDirectory(
[[maybe_unused]] JNIEnv* env, [[maybe_unused]] jclass clazz,
[[maybe_unused]] jstring j_directory) {}
-void Java_org_citra_citra_1emu_NativeLibrary_UnPauseEmulation([[maybe_unused]] JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_UnPauseEmulation([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz) {}
-void Java_org_citra_citra_1emu_NativeLibrary_PauseEmulation([[maybe_unused]] JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_PauseEmulation([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz) {}
-void Java_org_citra_citra_1emu_NativeLibrary_StopEmulation([[maybe_unused]] JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_StopEmulation([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz) {}
-jboolean Java_org_citra_citra_1emu_NativeLibrary_IsRunning([[maybe_unused]] JNIEnv* env,
+jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_IsRunning([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz) {
return static_cast(!stop_run);
}
-jboolean Java_org_citra_citra_1emu_NativeLibrary_onGamePadEvent([[maybe_unused]] JNIEnv* env,
+jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadEvent([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
[[maybe_unused]] jstring j_device,
jint j_button, jint action) {
@@ -164,7 +164,7 @@ jboolean Java_org_citra_citra_1emu_NativeLibrary_onGamePadEvent([[maybe_unused]]
return static_cast(true);
}
-jboolean Java_org_citra_citra_1emu_NativeLibrary_onGamePadMoveEvent([[maybe_unused]] JNIEnv* env,
+jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadMoveEvent([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
jstring j_device, jint axis,
jfloat x, jfloat y) {
@@ -183,83 +183,83 @@ jboolean Java_org_citra_citra_1emu_NativeLibrary_onGamePadMoveEvent([[maybe_unus
return static_cast(false);
}
-jboolean Java_org_citra_citra_1emu_NativeLibrary_onGamePadAxisEvent([[maybe_unused]] JNIEnv* env,
+jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadAxisEvent([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
jstring j_device, jint axis_id,
jfloat axis_val) {
return {};
}
-jboolean Java_org_citra_citra_1emu_NativeLibrary_onTouchEvent([[maybe_unused]] JNIEnv* env,
+jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onTouchEvent([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
jfloat x, jfloat y,
jboolean pressed) {
return static_cast(emu_window->OnTouchEvent(x, y, pressed));
}
-void Java_org_citra_citra_1emu_NativeLibrary_onTouchMoved([[maybe_unused]] JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_onTouchMoved([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz, jfloat x,
jfloat y) {
emu_window->OnTouchMoved(x, y);
}
-jintArray Java_org_citra_citra_1emu_NativeLibrary_GetIcon([[maybe_unused]] JNIEnv* env,
+jintArray Java_org_yuzu_yuzu_1emu_NativeLibrary_GetIcon([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
[[maybe_unused]] jstring j_file) {
return {};
}
-jstring Java_org_citra_citra_1emu_NativeLibrary_GetTitle([[maybe_unused]] JNIEnv* env,
+jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_GetTitle([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
[[maybe_unused]] jstring j_filename) {
return env->NewStringUTF("");
}
-jstring Java_org_citra_citra_1emu_NativeLibrary_GetDescription([[maybe_unused]] JNIEnv* env,
+jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_GetDescription([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
jstring j_filename) {
return j_filename;
}
-jstring Java_org_citra_citra_1emu_NativeLibrary_GetGameId([[maybe_unused]] JNIEnv* env,
+jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_GetGameId([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
jstring j_filename) {
return j_filename;
}
-jstring Java_org_citra_citra_1emu_NativeLibrary_GetRegions([[maybe_unused]] JNIEnv* env,
+jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_GetRegions([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
[[maybe_unused]] jstring j_filename) {
return env->NewStringUTF("");
}
-jstring Java_org_citra_citra_1emu_NativeLibrary_GetCompany([[maybe_unused]] JNIEnv* env,
+jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_GetCompany([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
[[maybe_unused]] jstring j_filename) {
return env->NewStringUTF("");
}
-jstring Java_org_citra_citra_1emu_NativeLibrary_GetGitRevision([[maybe_unused]] JNIEnv* env,
+jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_GetGitRevision([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz) {
return {};
}
-void Java_org_citra_citra_1emu_NativeLibrary_CreateConfigFile
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_CreateConfigFile
[[maybe_unused]] (JNIEnv* env, [[maybe_unused]] jclass clazz) {}
-jint Java_org_citra_citra_1emu_NativeLibrary_DefaultCPUCore([[maybe_unused]] JNIEnv* env,
+jint Java_org_yuzu_yuzu_1emu_NativeLibrary_DefaultCPUCore([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz) {
return {};
}
-void Java_org_citra_citra_1emu_NativeLibrary_Run__Ljava_lang_String_2Ljava_lang_String_2Z(
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_Run__Ljava_lang_String_2Ljava_lang_String_2Z(
[[maybe_unused]] JNIEnv* env, [[maybe_unused]] jclass clazz, [[maybe_unused]] jstring j_file,
[[maybe_unused]] jstring j_savestate, [[maybe_unused]] jboolean j_delete_savestate) {}
-void Java_org_citra_citra_1emu_NativeLibrary_ReloadSettings([[maybe_unused]] JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_ReloadSettings([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz) {}
-jstring Java_org_citra_citra_1emu_NativeLibrary_GetUserSetting([[maybe_unused]] JNIEnv* env,
+jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_GetUserSetting([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
jstring j_game_id, jstring j_section,
jstring j_key) {
@@ -274,7 +274,7 @@ jstring Java_org_citra_citra_1emu_NativeLibrary_GetUserSetting([[maybe_unused]]
return env->NewStringUTF("");
}
-void Java_org_citra_citra_1emu_NativeLibrary_SetUserSetting([[maybe_unused]] JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_SetUserSetting([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
jstring j_game_id, jstring j_section,
jstring j_key, jstring j_value) {
@@ -289,7 +289,7 @@ void Java_org_citra_citra_1emu_NativeLibrary_SetUserSetting([[maybe_unused]] JNI
env->ReleaseStringUTFChars(j_value, value.data());
}
-void Java_org_citra_citra_1emu_NativeLibrary_InitGameIni([[maybe_unused]] JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_InitGameIni([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
jstring j_game_id) {
std::string_view game_id = env->GetStringUTFChars(j_game_id, 0);
@@ -297,7 +297,7 @@ void Java_org_citra_citra_1emu_NativeLibrary_InitGameIni([[maybe_unused]] JNIEnv
env->ReleaseStringUTFChars(j_game_id, game_id.data());
}
-jdoubleArray Java_org_citra_citra_1emu_NativeLibrary_GetPerfStats([[maybe_unused]] JNIEnv* env,
+jdoubleArray Java_org_yuzu_yuzu_1emu_NativeLibrary_GetPerfStats([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz) {
jdoubleArray j_stats = env->NewDoubleArray(4);
@@ -314,10 +314,10 @@ jdoubleArray Java_org_citra_citra_1emu_NativeLibrary_GetPerfStats([[maybe_unused
return j_stats;
}
-void Java_org_citra_citra_1emu_utils_DirectoryInitialization_SetSysDirectory(
+void Java_org_yuzu_yuzu_1emu_utils_DirectoryInitialization_SetSysDirectory(
[[maybe_unused]] JNIEnv* env, [[maybe_unused]] jclass clazz, jstring j_path) {}
-void Java_org_citra_citra_1emu_NativeLibrary_Run__Ljava_lang_String_2([[maybe_unused]] JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_Run__Ljava_lang_String_2([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz,
jstring j_path) {
const std::string path = GetJString(env, j_path);
@@ -333,7 +333,7 @@ void Java_org_citra_citra_1emu_NativeLibrary_Run__Ljava_lang_String_2([[maybe_un
}
}
-void Java_org_citra_citra_1emu_NativeLibrary_LogDeviceInfo([[maybe_unused]] JNIEnv* env,
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_LogDeviceInfo([[maybe_unused]] JNIEnv* env,
[[maybe_unused]] jclass clazz) {
LOG_INFO(Frontend, "yuzu Version: {}-{}", Common::g_scm_branch, Common::g_scm_desc);
LOG_INFO(Frontend, "Host OS: Android API level {}", android_get_device_api_level());
diff --git a/src/android/app/src/main/jni/native.h b/src/android/app/src/main/jni/native.h
index 16c90e215..3b23f380b 100644
--- a/src/android/app/src/main/jni/native.h
+++ b/src/android/app/src/main/jni/native.h
@@ -7,119 +7,119 @@
extern "C" {
#endif
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_UnPauseEmulation(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_UnPauseEmulation(JNIEnv* env,
jclass clazz);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_PauseEmulation(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_PauseEmulation(JNIEnv* env,
jclass clazz);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_StopEmulation(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_StopEmulation(JNIEnv* env,
jclass clazz);
-JNIEXPORT jboolean JNICALL Java_org_citra_citra_1emu_NativeLibrary_IsRunning(JNIEnv* env,
+JNIEXPORT jboolean JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_IsRunning(JNIEnv* env,
jclass clazz);
-JNIEXPORT jboolean JNICALL Java_org_citra_citra_1emu_NativeLibrary_onGamePadEvent(
+JNIEXPORT jboolean JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadEvent(
JNIEnv* env, jclass clazz, jstring j_device, jint j_button, jint action);
-JNIEXPORT jboolean JNICALL Java_org_citra_citra_1emu_NativeLibrary_onGamePadMoveEvent(
+JNIEXPORT jboolean JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadMoveEvent(
JNIEnv* env, jclass clazz, jstring j_device, jint axis, jfloat x, jfloat y);
-JNIEXPORT jboolean JNICALL Java_org_citra_citra_1emu_NativeLibrary_onGamePadAxisEvent(
+JNIEXPORT jboolean JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadAxisEvent(
JNIEnv* env, jclass clazz, jstring j_device, jint axis_id, jfloat axis_val);
-JNIEXPORT jboolean JNICALL Java_org_citra_citra_1emu_NativeLibrary_onTouchEvent(JNIEnv* env,
+JNIEXPORT jboolean JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_onTouchEvent(JNIEnv* env,
jclass clazz,
jfloat x, jfloat y,
jboolean pressed);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_onTouchMoved(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_onTouchMoved(JNIEnv* env,
jclass clazz, jfloat x,
jfloat y);
-JNIEXPORT jintArray JNICALL Java_org_citra_citra_1emu_NativeLibrary_GetIcon(JNIEnv* env,
+JNIEXPORT jintArray JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_GetIcon(JNIEnv* env,
jclass clazz,
jstring j_file);
-JNIEXPORT jstring JNICALL Java_org_citra_citra_1emu_NativeLibrary_GetTitle(JNIEnv* env,
+JNIEXPORT jstring JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_GetTitle(JNIEnv* env,
jclass clazz,
jstring j_filename);
-JNIEXPORT jstring JNICALL Java_org_citra_citra_1emu_NativeLibrary_GetDescription(
+JNIEXPORT jstring JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_GetDescription(
JNIEnv* env, jclass clazz, jstring j_filename);
-JNIEXPORT jstring JNICALL Java_org_citra_citra_1emu_NativeLibrary_GetGameId(JNIEnv* env,
+JNIEXPORT jstring JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_GetGameId(JNIEnv* env,
jclass clazz,
jstring j_filename);
-JNIEXPORT jstring JNICALL Java_org_citra_citra_1emu_NativeLibrary_GetRegions(JNIEnv* env,
+JNIEXPORT jstring JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_GetRegions(JNIEnv* env,
jclass clazz,
jstring j_filename);
-JNIEXPORT jstring JNICALL Java_org_citra_citra_1emu_NativeLibrary_GetCompany(JNIEnv* env,
+JNIEXPORT jstring JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_GetCompany(JNIEnv* env,
jclass clazz,
jstring j_filename);
-JNIEXPORT jstring JNICALL Java_org_citra_citra_1emu_NativeLibrary_GetGitRevision(JNIEnv* env,
+JNIEXPORT jstring JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_GetGitRevision(JNIEnv* env,
jclass clazz);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_SetUserDirectory(
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_SetUserDirectory(
JNIEnv* env, jclass clazz, jstring j_directory);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_utils_DirectoryInitialization_SetSysDirectory(
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_utils_DirectoryInitialization_SetSysDirectory(
JNIEnv* env, jclass clazz, jstring path_);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_SetSysDirectory(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_SetSysDirectory(JNIEnv* env,
jclass clazz,
jstring path);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_CreateConfigFile(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_CreateConfigFile(JNIEnv* env,
jclass clazz);
-JNIEXPORT jint JNICALL Java_org_citra_citra_1emu_NativeLibrary_DefaultCPUCore(JNIEnv* env,
+JNIEXPORT jint JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_DefaultCPUCore(JNIEnv* env,
jclass clazz);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_SetProfiling(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_SetProfiling(JNIEnv* env,
jclass clazz,
jboolean enable);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_WriteProfileResults(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_WriteProfileResults(JNIEnv* env,
jclass clazz);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_NotifyOrientationChange(
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_NotifyOrientationChange(
JNIEnv* env, jclass clazz, jint layout_option, jint rotation);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_Run__Ljava_lang_String_2(
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_Run__Ljava_lang_String_2(
JNIEnv* env, jclass clazz, jstring j_path);
JNIEXPORT void JNICALL
-Java_org_citra_citra_1emu_NativeLibrary_Run__Ljava_lang_String_2Ljava_lang_String_2Z(
+Java_org_yuzu_yuzu_1emu_NativeLibrary_Run__Ljava_lang_String_2Ljava_lang_String_2Z(
JNIEnv* env, jclass clazz, jstring j_file, jstring j_savestate, jboolean j_delete_savestate);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_SurfaceChanged(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_SurfaceChanged(JNIEnv* env,
jclass clazz,
jobject surf);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_SurfaceDestroyed(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_SurfaceDestroyed(JNIEnv* env,
jclass clazz);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_InitGameIni(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_InitGameIni(JNIEnv* env,
jclass clazz,
jstring j_game_id);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_ReloadSettings(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_ReloadSettings(JNIEnv* env,
jclass clazz);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_SetUserSetting(
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_SetUserSetting(
JNIEnv* env, jclass clazz, jstring j_game_id, jstring j_section, jstring j_key,
jstring j_value);
-JNIEXPORT jstring JNICALL Java_org_citra_citra_1emu_NativeLibrary_GetUserSetting(
+JNIEXPORT jstring JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_GetUserSetting(
JNIEnv* env, jclass clazz, jstring game_id, jstring section, jstring key);
-JNIEXPORT jdoubleArray JNICALL Java_org_citra_citra_1emu_NativeLibrary_GetPerfStats(JNIEnv* env,
+JNIEXPORT jdoubleArray JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_GetPerfStats(JNIEnv* env,
jclass clazz);
-JNIEXPORT void JNICALL Java_org_citra_citra_1emu_NativeLibrary_LogDeviceInfo(JNIEnv* env,
+JNIEXPORT void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_LogDeviceInfo(JNIEnv* env,
jclass clazz);
#ifdef __cplusplus
diff --git a/src/android/app/src/main/res/animator/menu_slide_in_from_end.xml b/src/android/app/src/main/res/animator/menu_slide_in_from_end.xml
new file mode 100644
index 000000000..3f1495c75
--- /dev/null
+++ b/src/android/app/src/main/res/animator/menu_slide_in_from_end.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/android/app/src/main/res/animator/menu_slide_in_from_start.xml b/src/android/app/src/main/res/animator/menu_slide_in_from_start.xml
new file mode 100644
index 000000000..4612aee13
--- /dev/null
+++ b/src/android/app/src/main/res/animator/menu_slide_in_from_start.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/android/app/src/main/res/animator/menu_slide_out_to_end.xml b/src/android/app/src/main/res/animator/menu_slide_out_to_end.xml
new file mode 100644
index 000000000..d650237d6
--- /dev/null
+++ b/src/android/app/src/main/res/animator/menu_slide_out_to_end.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/android/app/src/main/res/animator/menu_slide_out_to_start.xml b/src/android/app/src/main/res/animator/menu_slide_out_to_start.xml
new file mode 100644
index 000000000..c00478946
--- /dev/null
+++ b/src/android/app/src/main/res/animator/menu_slide_out_to_start.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/android/app/src/main/res/layout-ldrtl/list_item_cheat.xml b/src/android/app/src/main/res/layout-ldrtl/list_item_cheat.xml
deleted file mode 100644
index 9bcf883e1..000000000
--- a/src/android/app/src/main/res/layout-ldrtl/list_item_cheat.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/android/app/src/main/res/layout/activity_cheats.xml b/src/android/app/src/main/res/layout/activity_cheats.xml
deleted file mode 100644
index b9414ab6d..000000000
--- a/src/android/app/src/main/res/layout/activity_cheats.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/android/app/src/main/res/layout/activity_emulation.xml b/src/android/app/src/main/res/layout/activity_emulation.xml
index 7d7f36925..debc26e6c 100644
--- a/src/android/app/src/main/res/layout/activity_emulation.xml
+++ b/src/android/app/src/main/res/layout/activity_emulation.xml
@@ -1,17 +1,32 @@
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:keepScreenOn="true"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/frame_content">
+ android:layout_height="match_parent"/>
-
+ android:orientation="horizontal"
+ android:baselineAligned="false">
-
\ No newline at end of file
+
+
+
+
+
+
+
diff --git a/src/android/app/src/main/res/layout/fragment_cheat_details.xml b/src/android/app/src/main/res/layout/fragment_cheat_details.xml
deleted file mode 100644
index 25b1a268a..000000000
--- a/src/android/app/src/main/res/layout/fragment_cheat_details.xml
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/android/app/src/main/res/layout/fragment_cheat_list.xml b/src/android/app/src/main/res/layout/fragment_cheat_list.xml
deleted file mode 100644
index 679a49c28..000000000
--- a/src/android/app/src/main/res/layout/fragment_cheat_list.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/android/app/src/main/res/layout/fragment_emulation.xml b/src/android/app/src/main/res/layout/fragment_emulation.xml
index d6e47e1e4..828c5efc4 100644
--- a/src/android/app/src/main/res/layout/fragment_emulation.xml
+++ b/src/android/app/src/main/res/layout/fragment_emulation.xml
@@ -3,7 +3,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true"
- tools:context="org.citra.citra_emu.fragments.EmulationFragment">
+ tools:context="org.yuzu.yuzu_emu.fragments.EmulationFragment">
-
+t>
diff --git a/src/android/app/src/main/res/layout/fragment_ingame_menu.xml b/src/android/app/src/main/res/layout/fragment_ingame_menu.xml
new file mode 100644
index 000000000..ce618ef7b
--- /dev/null
+++ b/src/android/app/src/main/res/layout/fragment_ingame_menu.xml
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/android/app/src/main/res/layout/fragment_settings.xml b/src/android/app/src/main/res/layout/fragment_settings.xml
index 4c5d597c1..b44e77297 100644
--- a/src/android/app/src/main/res/layout/fragment_settings.xml
+++ b/src/android/app/src/main/res/layout/fragment_settings.xml
@@ -1,5 +1,5 @@
-
@@ -7,6 +7,6 @@
android:id="@+id/list_settings"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/card_view_background" />
+ android:background="@color/view_background" />
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/android/app/src/main/res/layout/list_item_cheat.xml b/src/android/app/src/main/res/layout/list_item_cheat.xml
deleted file mode 100644
index c0b5f982f..000000000
--- a/src/android/app/src/main/res/layout/list_item_cheat.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/android/app/src/main/res/menu/menu_emulation.xml b/src/android/app/src/main/res/menu/menu_emulation.xml
deleted file mode 100644
index b6c0d7cc4..000000000
--- a/src/android/app/src/main/res/menu/menu_emulation.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-
diff --git a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
index 57ea32d88..3a9dbf35b 100644
Binary files a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
index 18cc694d1..da4f4fda6 100644
Binary files a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and b/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ
diff --git a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
index 7052f4077..e7ab1ffcc 100644
Binary files a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
index 0e7cdeed6..68e6acda3 100644
Binary files a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ
diff --git a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
index 4d3e9fc41..1a4fa7a08 100644
Binary files a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
index b57a8d623..665e61c1b 100644
Binary files a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ
diff --git a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
index d2c6d0692..62fc77634 100644
Binary files a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
index 22f6eb36f..efbf7184d 100644
Binary files a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ
diff --git a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
index 1aa7f3ae2..1349d1065 100644
Binary files a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
index b57c8f75b..18cce2c92 100644
Binary files a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ
diff --git a/src/android/app/src/main/res/values-night/colors.xml b/src/android/app/src/main/res/values-night/colors.xml
index 43b948021..d71d2acb2 100644
--- a/src/android/app/src/main/res/values-night/colors.xml
+++ b/src/android/app/src/main/res/values-night/colors.xml
@@ -5,13 +5,14 @@
#121212
#FEC303
- #121212
- #3D3D3D
+ #121212
+ #3D3D3D
+ #FF0000
#404040
#E0E0E0
#A0A0A0
- @color/citra_accent
+ @color/citra_accent
diff --git a/src/android/app/src/main/res/values/colors.xml b/src/android/app/src/main/res/values/colors.xml
index 6668288a7..8db6626c1 100644
--- a/src/android/app/src/main/res/values/colors.xml
+++ b/src/android/app/src/main/res/values/colors.xml
@@ -5,13 +5,14 @@
#FF8D03
#CC7102
- #ffffff
- #D5D5D5
+ #ffffff
+ #D5D5D5
+ #FF0000
#ffffff
#1C1424
#5C5661
- @color/header_text
+ @color/header_text
diff --git a/src/android/app/src/main/res/values/dimens.xml b/src/android/app/src/main/res/values/dimens.xml
index b3d186d88..a3bb0c2c5 100644
--- a/src/android/app/src/main/res/values/dimens.xml
+++ b/src/android/app/src/main/res/values/dimens.xml
@@ -1,10 +1,13 @@
-
- 16dp
-
4dp
12dp
16dp
+ 32dp
+ 64dp
+ 72dp
+ 256dp
+ 135dp
20dp
+ 3dp
diff --git a/src/android/app/src/main/res/values/integers.xml b/src/android/app/src/main/res/values/integers.xml
index 9f6d8492e..5cb9e4d14 100644
--- a/src/android/app/src/main/res/values/integers.xml
+++ b/src/android/app/src/main/res/values/integers.xml
@@ -1,5 +1,6 @@
+ 2
1
diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml
index 85422e849..58d80398f 100644
--- a/src/android/app/src/main/res/values/strings.xml
+++ b/src/android/app/src/main/res/values/strings.xml
@@ -3,7 +3,7 @@
yuzu
- This software will run games for the Nintendo 3DS handheld game console. No game titles are included.\n\nBefore you run, please place your rightfully owned 3DS game files onto your device storage.
+ This software will run games for the Nintendo Switch game console. No game titles are included.\n\nBefore you run, please place your rightfully owned Switch game files onto your device storage.
yuzu
yuzu
yuzu Switch emulator notifications
@@ -44,7 +44,7 @@
Enable CPU JIT
Uses the Just-in-Time (JIT) compiler for CPU emulation. When enabled, game performance will be significantly improved.
System clock type
- Set the emulated 3DS clock to either reflect that of your device or start at a simulated date and time.
+ Set the emulated Console clock to either reflect that of your device or start at a simulated date and time.
System clock starting time override
@@ -52,19 +52,6 @@
Emulated region
Emulated language
-
- Inner Camera
- Outer Left Camera
- Outer Right Camera
- Image Source
- Sets the image source of the virtual camera. You can use an image file, or a device camera when supported.
- Camera Device
- If the \"Image Source\" setting is set to \"Device Camera\", this sets the physical camera to use.
- Front
- Back
- External
- Image Flip
-
Renderer
Enable V-Sync
@@ -153,36 +140,13 @@
Invalid ROM format
- Save State
- Load State
- Slot %1$d
- Slot %1$d - %2$tF %2$tR
- Show FPS
- Configure Controls
- Edit Layout
+ Exit Emulation
Done
Toggle Controls
Adjust Scale
- Relative Stick Center
- Enable D-Pad Sliding
- Open Settings
- Open Cheats
- Landscape Screen Layout
- Default
- Portrait
- Single Screen
- Side by Side Screens
Swap Screens
Reset Overlay
- Show Overlay
- Close Game
Are you sure that you would like to close the current game?
- Amiibo
- Load
- Remove
- Select Amiibo file
- Error loading Amiibo
- While loading the specified Amiibo file, an error occurred. Please check that the file is correct.
You need to allow write access to external storage for the emulator to work
Loading Settings...
@@ -193,8 +157,6 @@
No files were found or no game directory has been selected yet.
Do not show this again
- Savestates
- Warning: Savestates are NOT a replacement for in-game saves, and are not meant to be reliable.\n\nUse at your own risk!
Software Keyboard
@@ -204,19 +166,6 @@
Blank input is not allowed
Empty input is not allowed
-
- Mii Selector
- Standard Mii
-
-
- Select Image
- Camera
- yuzu needs to access your camera to emulate the 3DS\'s cameras.\n\nAlternatively, you can also set \"Image Source\" to \"Still Image\" in Camera Settings.
-
-
- Microphone
- yuzu needs to access your microphone to emulate the 3DS\'s microphone.\n\nAlternatively, you can also change \"Audio Input Device\" in Audio Settings.
-
Abort
Continue
@@ -226,21 +175,4 @@
Save/Load Error
Fatal Error
A fatal error occurred. Check the log for details.\nContinuing emulation may result in crashes and bugs.
-
-
- Preparing shaders
- Building shaders
-
-
- Cheats
- Add Cheat
- Name
- Notes
- Code
- Edit
- Delete
- Are you sure you want to delete \"%1$s\"?
- Name can\'t be empty
- Code can\'t be empty
- Error on line %1$d
diff --git a/src/android/app/src/main/res/values/styles.xml b/src/android/app/src/main/res/values/styles.xml
index 47fe6f6ea..62f24bad3 100644
--- a/src/android/app/src/main/res/values/styles.xml
+++ b/src/android/app/src/main/res/values/styles.xml
@@ -1,16 +1,29 @@
+
+
-
-
-
+
+
+
+
diff --git a/src/android/app/src/test/java/org/citra/citra_emu/ExampleUnitTest.java b/src/android/app/src/test/java/org/citra/citra_emu/ExampleUnitTest.java
deleted file mode 100644
index 4e4bb317f..000000000
--- a/src/android/app/src/test/java/org/citra/citra_emu/ExampleUnitTest.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.citra.citra_emu;
-
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * @see Testing documentation
- */
-public class ExampleUnitTest {
- @Test
- public void addition_isCorrect() {
- assertEquals(4, 2 + 2);
- }
-}
\ No newline at end of file
diff --git a/src/android/code-style-java.xml b/src/android/code-style-java.xml
index a8ed003c8..1c9014dd9 100644
--- a/src/android/code-style-java.xml
+++ b/src/android/code-style-java.xml
@@ -1,4 +1,4 @@
-
+
+