Ryan Meredith
7d98c4f3a4
Add SingleChoiceSettingDynamicDescriptions
2019-08-21 13:17:16 -04:00
Ryan Meredith
630de81309
Show Stereoscopy Mode setting value as description
2019-08-21 13:17:16 -04:00
Ryan Meredith
92366fffaf
Show Aspect Ratio setting value as description
2019-08-21 13:17:16 -04:00
Anthony
c7fc9126aa
Merge pull request #8190 from JosJuice/android-init
...
Android: Call UICommon::Init at app start instead of emulation start
2019-08-21 10:14:52 -07:00
Anthony
998c171b65
Merge pull request #8196 from JosJuice/android-applinkactivity-race
...
Android: Fix race condition in AppLinkActivity
2019-08-21 10:14:08 -07:00
JosJuice
c677268aaf
Android: Don't use GameFile/GameFileCache before UICommon::Init
...
Preparation for the next commit.
2019-08-21 18:46:49 +02:00
JosJuice
9f3f45aa5f
Android: Call UICommon::Init at app start instead of emulation start
...
Much of our native code assumes that UICommon::Init has been called
(for reasons such as wanting to access the user's settings),
so not calling it until emulation start heavily limits what native
code we can use in the Android GUI (except during emulation).
2019-08-21 18:46:49 +02:00
JosJuice
47e1108d57
Android: Add helper class AfterDirectoryInitializationRunner
2019-08-21 18:46:49 +02:00
Anthony
55d9f892a4
Merge pull request #7274 from Ebola16/DSA
...
Android: Dynamic SettingsActivity Titles
2019-08-21 09:01:25 -07:00
JosJuice
561a4cfcce
Replace "Override Language on NTSC Games" with "Allow Mismatched Region Settings"
...
This new setting is like Override Language on NTSC Games, except
instead of only applying to the GameCube language setting,
it also applies to the Wii language setting.
Fixes https://bugs.dolphin-emu.org/issues/11299
2019-08-09 17:33:05 +02:00
JosJuice
2d316196c9
Merge pull request #8288 from allanxp4/master
...
Fix for Android version crashing when changing rotation on settings screen
2019-08-07 11:54:47 +02:00
JosJuice
4261e8d892
Android: Add a bit more warning to the game INI deletion prompt
2019-08-04 19:31:56 +02:00
Allan
7029ebd97b
Fix for crash when switching to landscape mode
...
https://bugs.dolphin-emu.org/issues/10815
2019-08-04 13:47:19 -03:00
Stenzek
6a29e8fa58
Android: Use EmulationActivity.launchFile() for StartupHandler
2019-07-18 22:35:24 +10:00
Stenzek
9961e2866a
Android: Support opening .dff files
...
This is also shared by the disc change code, but changing discs to a
.dol doesn't make sense either.
2019-07-18 22:35:23 +10:00
Stenzek
34e6a41d05
Android: Support opening files directly
...
This enables us to boot FIFO logs as well as homebrew directly, without
having to add it to the game list first.
2019-07-18 22:35:12 +10:00
Stenzek
6a6bbd7071
Android: Support bypassing game file cache to parse file
2019-07-18 22:35:12 +10:00
Ryan Meredith
2edc58950b
Dynamic SettingsActivity Titles
2019-07-15 14:39:01 -04:00
JosJuice
36166c9b4f
Android: Don't copy default game INIs into user game INIs
...
This isn't as serious as copying global INIs into user game INIs,
but still not good. We want to be able to remove settings from
default game INIs and have those removals apply.
2019-07-02 19:28:43 +02:00
JosJuice
7f841e9bfd
Android: Suggest deleting game INIs if they contain global INI data
2019-07-02 19:28:38 +02:00
JosJuice
7652023407
Android: Don't copy global INIs into game INIs
...
See the source code comment in the next commit for why this is bad.
2019-07-02 19:27:42 +02:00
Silent
6c21811090
Make DolphinAnalytics a true singleton - static local variables are initialized in a thread safe manner since C++11
...
Also works around a Visual Studio 2017 bug where static inline class fields are destructed multiple times
2019-06-23 21:43:47 +02:00
Léo Lam
4885130799
Merge pull request #8194 from lioncash/common-msg
...
Common/MsgHandler: Tidy up interface and namespace code
2019-06-20 13:37:24 +02:00
Lioncash
4f1f55093f
Common/MsgHandler: Namespace code within the Common namespace
...
Closes another gap in the Common library where code isn't being
namespaced under it.
2019-06-19 16:03:55 -04:00
JosJuice
16afac9da9
Merge pull request #7927 from weihuoya/android-key-map
...
android: simplify config loading code
2019-06-19 11:51:00 +02:00
JosJuice
e4ef2193e0
Android: Fix race condition in AppLinkActivity
...
https://bugs.dolphin-emu.org/issues/11767
2019-06-17 10:12:42 +02:00
Connor McLaughlin
b13e00b003
Merge pull request #8165 from lioncash/linkage
...
{Android/ButtonManager, ResourcePack/Manager}: Make file-scope variables/functions internally linked where applicable
2019-06-08 20:56:13 +10:00
Connor McLaughlin
bed2d66bed
Merge pull request #8117 from weihuoya/threaded_env
...
android: get java env from thread local storage
2019-06-08 20:42:15 +10:00
Lioncash
7842bd1179
Android/ButtonManager: Make most file-scope local variables non-allocating
...
We can use std::array and const char* to make these capable of fully
being stored in the read-only segment, and get rid of a few static
constructors (144 of them).
2019-06-07 20:27:12 -04:00
Lioncash
069497e87d
Android/ButtonManager: Make local file-scope variables internally linked where applicable
...
Silences a few -Wmissing-variable-declarations warnings.
2019-06-07 20:02:03 -04:00
Lioncash
c0c0e412e0
Core/ConfigManager: Use forward declarations where applicable
...
Avoids dragging in IniFile, EXI device and SI device headers in this header which is
quite widely used throughout the codebase.
This also uncovered a few cases where indirect inclusions were being
relied upon, which this also fixes.
2019-06-07 19:54:39 -04:00
Tillmann Karras
84e3391535
Mark files as non-executable
2019-06-02 12:31:40 +01:00
weihuoya
0dec8feadb
android: thread local env
2019-05-29 20:22:26 +08:00
Léo Lam
6eb7c525b2
Merge pull request #7801 from GerbilSoft/feature/Discord-PPCTitleChanged
...
Update Discord rich presence when the PPC title changes
2019-05-24 14:30:52 +02:00
David Korth
8417c78b7a
Update Discord rich presence when the title changes
...
This allows us to update the rich presence description if a channel
is launched from the Wii Menu. It also handles other PPC title
launches, e.g. Smash Bros. Masterpieces.
Host.h: Added Host_TitleChanged().
DolphinNoGUI/MainNoGUI.cpp: Implemented Host_TitleChanged().
DolphinQt/Host.cpp: Implemented Host_TitleChanged().
Android/jni/MainAndroid.cpp: Stubbed Host_TitleChanged().
DSPTool/StubHost.cpp: Stubbed Host_TitleChanged().
UnitTests/StubHost.cpp: Stubbed Host_TitleChanged().
2019-05-24 14:12:48 +02:00
Connor McLaughlin
1d5dd5db91
Merge pull request #8093 from JosJuice/android-runtime-extension-change
...
Android: Support changing Wii Remote extension while emulating
2019-05-12 15:22:07 +10:00
weihuoya
8a4d15ae47
Android: change runtime wiimote extension
2019-05-11 15:01:52 +02:00
Techjar
ff972e3673
Reformat repo to clang-format 7.0 rules
2019-05-06 18:48:04 +00:00
Léo Lam
9133e8f1be
Require CMake 3.10 and use CMAKE_CXX_STANDARD
...
Removes the need to add -std= flags manually. CMake 3.10 is available
in Ubuntu 18.04, which is the oldest LTS version we support.
2019-05-05 00:13:13 +02:00
Léo Lam
f4d7b537cc
Merge pull request #7958 from Craftyawesome/cpu-emulation-order
...
Re-order cpu emulation options from fastest to slowest
2019-05-01 17:56:19 +02:00
weihuoya
47e776d378
rm unused code
2019-04-17 20:15:56 +08:00
weihuoya
04ebee686c
simplify config save
2019-04-10 18:32:27 +08:00
weihuoya
f2394b8c91
android: simple config load code
2019-04-10 18:30:45 +08:00
Jordan Woyak
5efb717873
InputCommon: Clean up how numeric settings are handled. Add units of measure to UI. Eliminate hidden magic values of the IR cursor.
2019-04-07 09:32:49 -05:00
Craftyawesome
20cc4508f0
Re-order cpu emulation options from fastest to slowest
...
Based on https://bugs.dolphin-emu.org/issues/11658
Update arrays.xml
2019-04-04 10:51:12 -04:00
JMC47
42964e8531
Merge pull request #7921 from zackhow/fixir
...
Android: Fix touch IR
2019-03-31 23:15:04 -04:00
zackhow
f6225e9694
Android: update IR defaults
2019-03-23 08:54:12 -04:00
zackhow
dc51b95313
Android: fix touch ir from pr7829 changes
2019-03-23 08:40:28 -04:00
spycrab
61350b3d98
Core/Host: Allow frontends to block inputs
2019-03-21 13:16:21 +01:00
Tilka
19f4772e47
Merge pull request #7816 from JosJuice/titledatabase-edge-cases
...
Fix edge cases in TitleDatabase, cover downloading, Gecko code downloading
2019-02-26 04:25:45 +00:00
JosJuice
8842a0f402
Keep track of GameTDB ID separately from game ID
...
The difference between Dolphin's game IDs and GameTDB's game IDs
is that GameTDB uses four characters for non-disc titles, whereas
Dolphin uses six characters for all titles.
This fixes:
- TitleDatabase considering Datel discs to be NHL Hitz 2002
- Gecko code downloading not working for discs with IDs starting with P
- Cover downloading mixing up discs with channels (e.g. Mario Kart Wii
and Mario Kart Channel) and making extra HTTP requests. (Android was
actually doing a better job at this than DolphinQt!)
2019-02-25 19:54:25 +01:00
Mat M
de3c8fee22
Merge pull request #7808 from Ebola16/331
...
Android Studio 3.3.1 Updates
2019-02-25 13:41:16 -05:00
JMC47
fa685afd77
Merge pull request #7723 from zackhow/newcale
...
Android: Wiimote only(no nunchuck) overlay upgrades
2019-02-25 11:48:05 -05:00
Ryan Meredith
f0e6527f3e
Android Studio 3.3.1 Updates
2019-02-18 10:32:57 -05:00
JosJuice
286aafd4ed
Merge pull request #7791 from JosJuice/android-show-files
...
Android: Show files in the directory picker
2019-02-16 18:11:20 +01:00
Mat M
7fb1c1e3a6
Merge pull request #7795 from JosJuice/android-wii-change-disc
...
Android: Allowing changing disc while emulating Wii
2019-02-08 14:30:42 -05:00
JosJuice
74fced8327
Android: Allowing changing disc while emulating Wii
...
There's no good reason this should be locked to GameCube.
Think of all the Dragon Quest X fans :(
2019-02-08 19:40:31 +01:00
JosJuice
0fa7b23067
Android: Improve the description for backend multithreading
2019-02-08 19:19:51 +01:00
JosJuice
c520a033be
Android: Show files in the directory picker
...
People in the Google Play reviews still seem to be confused about
games not showing up in the directory picker, so let's show them
even though they can't be selected. (Either that or they haven't
realized that they need to extract their pirated games.)
2019-02-08 18:24:37 +01:00
Anthony
b72b128076
Merge pull request #7687 from weihuoya/android-minor-fx
...
Android: some minor changes
2019-02-03 12:48:39 -08:00
Anthony
dc15c969ed
Merge pull request #7724 from zackhow/rum
...
Android: Don't clear vibrators in onStop
2019-02-03 12:45:02 -08:00
Anthony
f65b3a998c
Merge pull request #7739 from zackhow/multib
...
Android: Disable backend multithreading and add option to gfx menu
2019-02-03 12:44:00 -08:00
JosJuice
9c38772301
Merge pull request #7755 from zackhow/score
...
Android: Update touch pointer from thread.
2019-01-31 22:43:59 +01:00
JosJuice
9340ddc7c9
Merge pull request #7726 from zackhow/rumfast
...
Android: Optimize rumble call
2019-01-30 19:37:24 +01:00
zackhow
3cc10dcaf9
Android: Call update touch pointer from thread.
...
Fixes crash in single core when attaching the JVM
2019-01-28 21:42:12 -05:00
JosJuice
3639607849
Android: Add an AutoStartFiles in addition to AutoStartFile
...
Lets launchers specify multiple discs to launch, for automatic disc
switching.
2019-01-28 20:26:04 +01:00
JosJuice
2c6a975d1f
Android: Use SelectedGames instead of SelectedGame in StartupHandler
...
Regression from the automatic disc change PR. See
https://forums.dolphin-emu.org/Thread-commit-63c9831-broke-game-autostarting-on-android
2019-01-28 20:16:48 +01:00
zackhow
369a5d9963
Android: Add backend multithreading option to gfx menu
2019-01-26 09:44:00 -05:00
zackhow
4979220cf0
Android: Optimize rumble call
...
Moved rumble call to IDCache since GetMethodID is expensive
2019-01-26 09:38:35 -05:00
zackhow
10238b45a4
Android: Wiimote only(no nunchuck) overlay upgrades
...
Increase some button sizes
Create new defaults for Wiimote only and horizontal wiimote
2019-01-26 09:30:09 -05:00
spycrab
6962d5bc52
Merge pull request #7478 from stenzek/imgui
...
Replace raster font with dear imgui
2019-01-25 15:08:40 +01:00
zackhow
fc32ec7ffe
Android: Fix pointer if game aspect ratio is larger than devices
2019-01-24 22:19:48 -05:00
Stenzek
c6f151c4e1
Android: Use scaledDensity as backbuffer scale (for imgui)
2019-01-25 11:15:57 +10:00
Stenzek
82fd923a4e
Android: Add getter method for NativeLibrary.sEmulationActivity
...
Also makes sEmulationActivity private.
2019-01-25 11:15:57 +10:00
Stenzek
600d1fc0bc
Renderer: Use imgui for drawing debug text and OSD
2019-01-25 11:15:57 +10:00
zackhow
e15af5077f
Android: don't init touch pointer when device doesn't have touch
2019-01-23 17:41:33 -05:00
zackhow
e8739156e4
Android: Normalize pointer touches based on rendered aspect ratio
...
This allows the defaults to be actual defaults across devices with different
screen sizes
2019-01-23 17:41:33 -05:00
zackhow
ec557eb3a2
Android: double tap screen to press button
...
Added ingame option to select either wiimote A, B, 2 or Classic A
2019-01-23 17:19:50 -05:00
zackhow
f993659249
Android: Add IR width/height/center defaults
...
The added values were the most common from the few games tested
this can be changed later if thats not the case
2019-01-23 17:16:32 -05:00
zackhow
b9e402e8b0
Android: Don't clear vibrators in onStop
...
Fixes issue where vibration would stop if you swapped between apps mid emulation.
2019-01-21 15:57:05 -05:00
weihuoya
bddd0fb44e
Android minor changes
2019-01-21 10:30:19 +08:00
zackhow
1db02c14c7
Android: add IR width/height/center option in emu menu
...
This sets the IR/Width, IR/Height, and IR/Center per game, so a controller profile is used
to save the value, then enable the profile in the game ini, then reload the
control configs.
2019-01-19 23:21:56 -05:00
zackhow
47d6406fd4
Android: Add touch to move pointer in overlay
2019-01-19 23:21:33 -05:00
Léo Lam
2c2910c129
Merge pull request #7522 from mahdihijazi/updates
...
Android: Bunch of cleanups & Updates
2019-01-16 22:23:40 +01:00
JMC47
1d3e3de44b
Merge pull request #7629 from JosJuice/auto-disc-change
...
Automatic disc change for 2-disc games
2019-01-15 13:01:36 -05:00
zackhow
058778a2e8
Android: only add controllers GC1 and Wiimote1 as touch controllers
2019-01-11 16:41:59 -05:00
Anthony
3da06970d9
Merge pull request #7605 from zackhow/jitarmconfigs
...
Android: Add Jit debug options to menu.
2019-01-07 13:50:57 -08:00
Anthony
3e7803b240
Merge pull request #7622 from zackhow/ds4trig
...
Android: fix/ignore L2/R2 buttons
2019-01-07 13:47:16 -08:00
JosJuice
63c9831b93
Add Android support for automatic disc changing
2019-01-04 09:24:42 +01:00
JMC47
fc68b835e7
Merge pull request #7661 from JosJuice/emulation-touch-button-help
...
Android: Edit the text that pops up on game launch
2019-01-02 16:37:54 -05:00
JosJuice
af2fe0b5c9
Android: Edit the text that pops up on game launch
...
Some of the recent reviews on Google Play express trouble finding the
emulation activity menu. One of them thought you were supposed to go
to the settings accessible through the main activity to configure the
virtual controller buttons.
This commit changes the text so that the user now explicitly is told to
swipe down from the top of the screen to access the menu. In exchange,
I removed the exact selections to make in the menu so that the text
wouldn't get too long, but I think it shouldn't be too hard to
understand once you know how to open the menu.
2019-01-02 22:26:58 +01:00
JMC47
aac17bf0d8
Merge pull request #7591 from weihuoya/setting-desc
...
Android: show setting value as description
2019-01-02 15:09:20 -05:00
weihuoya
631463348b
Android: show setting value as description
2018-12-25 22:14:09 +08:00
zackhow
7b2629717b
Android: Add jit debug menu options
2018-12-21 15:06:37 -05:00
zackhow
0c0e045eda
Android: fix/ignore L2/R2 buttons
...
L2/R2 will trigger a key press and an axis event if the trigger is pressed fully down
Was incorrectly ignoring L1/R1 key presses
2018-12-14 15:31:13 -05:00
zackhow
5bc8b7ae7b
Android: fix gc adapter init
...
init write not read
2018-12-13 21:49:46 -05:00
Léo Lam
4e5f83d23f
Merge pull request #7436 from Ebola16/6
...
Android Studio 3.2.1 recommended updates
2018-12-05 17:36:25 +01:00
Pierre Bourdon
8104caa06b
Merge pull request #7427 from weihuoya/setting-fx
...
fx settings for android
2018-11-13 03:10:46 +01:00
weihuoya
c4f065611e
Android: fx setting
2018-11-13 10:04:44 +08:00
Pierre Bourdon
98d2e278b0
Merge pull request #7551 from zackhow/fixffs
...
Android: Fix crash on instant rotate
2018-11-09 04:27:59 +01:00