JosJuice
bdfb72cfdb
Merge pull request #7162 from lioncash/const
...
BTEmu: Make WriteToEndpoint's reference parameter const
2018-06-23 09:11:42 +02:00
JosJuice
860a89b943
Only show savestate version mismatch OSD message when relevant
...
We used to show it for all failed savestate loads, no matter what the
failure reason was. Fixes https://bugs.dolphin-emu.org/issues/9815
2018-06-19 16:15:18 +02:00
JosJuice
d1a82182ac
Android: Use case insensitive sorting in game list
2018-06-18 19:11:58 +02:00
JosJuice
091efcc41d
Merge pull request #7125 from lioncash/enum
...
ConfigManager: Convert GPUDeterminismMode into an enum class
2018-06-18 18:22:31 +02:00
JosJuice
ca3d68cee5
Merge pull request #7076 from JosJuice/android-gamelist-uicommon
...
Use UICommon's game list code on Android
2018-06-08 13:59:45 +02:00
JosJuice
af5d9f693a
Set 0x0000002C to NDEV 2.1 when running a debug-signed Wii disc
...
This fixes the The Last Story prototype that GerbilSoft was testing,
because the apploader is a bit more lenient with the max size of DOL
sections when it detects that you're using a devkit console.
2018-06-07 10:14:32 +02:00
JosJuice
f0f8ca2172
Android: Don't allow INI editing for DOL/ELF files
2018-06-06 17:34:08 +02:00
JosJuice
1c027bc148
Use UICommon's game list code on Android
...
Deduplicates code, and gets rid of some problems the old code had
(such as: bad performance when calling native functions, only one
disc showing up for multi-disc games, Wii banners being low-res,
unnecessarily much effort being needed for adding more metadata).
2018-06-06 17:34:07 +02:00
JosJuice
daee5a4b43
Android: Store folders to scan in SharedPreferences instead of SQLite
...
Needed in order for the next commit to get rid of the SQLite database.
2018-06-04 22:12:25 +02:00
JosJuice
5e0da225ee
Merge pull request #7068 from lioncash/const
...
DSPAccelerator: const qualify pointer parameter for Read()
2018-06-04 22:05:26 +02:00
JosJuice
85e94cc510
Don't store custom names from TitleDatabase in GameFileCache
...
This saves us from having to update the GameFileCache when the
TitleDatabase changes (for instance when the user changes language).
2018-06-04 07:45:22 +02:00
JosJuice
2062768bb2
Don't include the Themes directory in Android APKs
...
We already exclude the Resources folder. Let's do the same with Themes.
2018-06-03 11:11:24 +02:00
JosJuice
1b127bdf33
Android: Refresh all fragments, not just the selected one
...
This fixes the oddity of having to manually refresh after adding a
folder that contains games for a different tab than the one you're on.
2018-06-01 18:17:51 +02:00
JosJuice
533a49460a
GameFile: Include necessary DiscIO headers
2018-06-01 14:19:16 +02:00
JosJuice
816c80c992
Translation resources sync with Transifex
2018-06-01 09:39:48 +02:00
JosJuice
ae4aa0b25c
Merge pull request #7010 from leoetlino/can-of-worms
...
Don't switch to blank NAND in the middle of emulation
2018-05-30 08:00:15 +02:00
JosJuice
243f353688
Merge pull request #7016 from lioncash/mem
...
MemoryPatches: Minor changes
2018-05-30 07:45:34 +02:00
JosJuice
6cb81ca851
Merge pull request #7015 from lioncash/pcap
...
PcapFile: Namespace code under the Common namespace
2018-05-30 07:45:09 +02:00
JosJuice
2f561dafd9
Merge pull request #7014 from lioncash/const
...
DSPEmulator: Make the IsLLE() member function const-qualified
2018-05-30 07:40:44 +02:00
JosJuice
b2d8d2a398
Merge pull request #7004 from lioncash/bp
...
BPMemory: Silence a -Wmissing-braces warning
2018-05-28 21:16:28 +02:00
JosJuice
ed8e400c35
Translation resources sync with Transifex
2018-05-28 11:36:34 +02:00
JosJuice
212d415c4b
Merge pull request #6996 from lioncash/color
...
ColorUtil: Namespace code under the Common namespace
2018-05-28 07:26:29 +02:00
JosJuice
e8631dd68b
Sync wiitdb files with GameTDB
2018-05-27 22:26:02 +02:00
JosJuice
512c6fee51
Merge pull request #6986 from leoetlino/warnings
...
Debug: Add missing override specifiers
2018-05-27 16:16:13 +02:00
JosJuice
a81a0d8c3e
GameListModel: Don't do a linear scan for each newly added game
2018-05-27 11:27:06 +02:00
JosJuice
c0553afff1
DolphinQt2: Fix a race condition in GameTracker
...
We need to make sure that LoadCache finishes before Start begins
accessing m_cache. The old solution with mutexes didn't do this.
2018-05-27 07:38:33 +02:00
JosJuice
fd651cf5e6
GameFileCache: Fix a comment mistake
2018-05-26 20:21:22 +02:00
JosJuice
f2103c1b51
DolphinQt2: Avoid an unnecessary string conversion
2018-05-26 20:21:21 +02:00
JosJuice
68152faf43
DolphinQt2: Show cached games before checking whether they exist on disk
...
DolphinWX already has this improvement in startup time, and it matters
a lot when you have a large game list.
2018-05-26 20:21:17 +02:00
JosJuice
17be4c69b9
DolphinQt2: Provide proper CPU core options for non-x64 systems
2018-05-26 15:16:08 +02:00
JosJuice
792446e1da
When CPU core is invalid, fall back to JIT instead of interpreter
...
This might happen if someone moves settings between e.g. a PC and
an Android device, or if someone was using JITIL and updates Dolphin.
I also made the panic alert a bit more explanatory.
2018-05-26 14:19:53 +02:00
JosJuice
76c9eed848
InfoWidget: Use configured language by default
...
Fixes the second half of https://bugs.dolphin-emu.org/issues/11085
2018-05-26 14:06:51 +02:00
JosJuice
e6ed919672
Remove enforced inaccurate settings from Lemony Snicket game INI
...
I have no idea why these were here... And the SkipIdle setting
doesn't even exist anymore.
2018-05-23 19:45:20 +02:00
JosJuice
a9ffd13305
Game INI updates
...
https://bugs.dolphin-emu.org/issues/7104
https://bugs.dolphin-emu.org/issues/8452
https://bugs.dolphin-emu.org/issues/9040
https://bugs.dolphin-emu.org/issues/10554
https://bugs.dolphin-emu.org/issues/10059
https://bugs.dolphin-emu.org/issues/10155
https://bugs.dolphin-emu.org/issues/10324
https://bugs.dolphin-emu.org/issues/10758
https://bugs.dolphin-emu.org/issues/10759
https://bugs.dolphin-emu.org/issues/10930
https://github.com/dolphin-emu/dolphin/pull/5702#issuecomment-318903278
https://github.com/dolphin-emu/dolphin/pull/5717
https://forums.dolphin-emu.org/Thread-big-brain-academy-problem
https://forums.dolphin-emu.org/Thread-netflix-instant-streaming-disc-testing
https://forums.dolphin-emu.org/Thread-wii-new-carnival-games?pid=469822#pid469822
2018-05-23 19:43:46 +02:00
JosJuice
517af3f044
Add vertex rounding to game INIs for certain titles
...
https://bugs.dolphin-emu.org/issues/10186
2018-05-23 16:05:30 +02:00
JosJuice
8ff3124e5e
Remove remaining EmuState sections from game INIs
2018-05-23 15:58:07 +02:00
JosJuice
052ac16650
Merge pull request #6948 from leoetlino/testing
...
Core: Only init Wii FS contents in Wii mode
2018-05-23 13:53:33 +02:00
JosJuice
58743416bb
Make the support for unencrypted Wii disc images less broken
...
These disc images are only used on dev units and not retail units.
There are two important differences compared to normal Wii disc images:
- The data starts 0x8000 bytes into each partition instead of 0x20000
- The data of a partition is stored unencrypted and contains no hashes
Our old implementation was just guesswork and doesn't work at all.
According to testing by GerbilSoft, this commit's implementation
is able to read and extract files in the filesystem correctly,
but the tested game still isn't able to boot. (It's thanks to their
info about unencrypted disc images that I was able to make this commit.)
2018-05-23 08:40:37 +02:00
JosJuice
cc42b4354d
Reimplement custom PNG banners in game list
...
Fixes https://bugs.dolphin-emu.org/issues/10938
and makes PNG banners available in DolphinQt2 for the first time.
2018-05-20 15:34:03 +02:00
JosJuice
10ff6d73c2
Fix compatibility with versions of libpng older than 1.5
2018-05-20 13:44:42 +02:00
JosJuice
74d561085c
Merge pull request #6848 from lioncash/guard
...
DolphinQt2: Add missing header guards for CheatCodeEditor and MappingIndicator
2018-05-13 22:21:40 +02:00
JosJuice
965c423f1c
StringUtil.h: Move ThousandSeparate down
...
It calls UTF16ToUTF8 on Windows, so it should come after UTF16ToUTF8.
2018-05-08 13:55:07 +02:00
JosJuice
743b0a9c7f
Translation resources sync with Transifex
2018-05-07 18:46:40 +02:00
JosJuice
ecb5c97b4d
Merge pull request #6771 from leoetlino/master
...
Qt: Disable 'uninstall' action if title is not installed
2018-05-06 21:33:36 +02:00
JosJuice
33211d8690
DolphinQt2: Don't show pop-ups in the middle of extracting a whole disc
2018-05-05 18:31:46 +02:00
JosJuice
f48fac5b55
DolphinQt2: Allow picking "Extract Files..." on disc/partition
...
DolphinWX already does this.
2018-05-05 18:31:44 +02:00
JosJuice
1a74de6462
DolphinQt2: Fix the file structure of extracted discs
...
Now all the partitions won't be all jumbled up in one folder,
and the filesystem contents won't be mixed with system data.
2018-05-05 17:00:27 +02:00
JosJuice
91a447394b
Merge pull request #6752 from spycrab/qt_prog_scan
...
Qt/AdvancedWidget: Fix progressive scan checkbox
2018-05-04 21:37:40 +02:00
JosJuice
1a2b6e2645
Merge pull request #6742 from stenzek/qt-borderless-fullscreen
...
Qt/AdvancedWidget: Fix borderless fullscreen option not showing
2018-05-03 08:07:29 +02:00
JosJuice
16b805410f
DolphinQt2: Don't crash on invalid SI devices
...
This is important if we ever add or delete SI devices.
2018-05-02 21:50:28 +02:00
JosJuice
6e96f62b41
Remove code related to UI.ini
...
We don't use it for anything, we just create it and leave it empty.
2018-05-02 18:18:27 +02:00
JosJuice
ad098283c0
Translation resources sync with Transifex
2018-04-30 22:52:45 +02:00
JosJuice
1b830df250
DolphinQt2: Correct the condition for enabling Cheat Manager
...
Only the other condition, the one that runs when the cheat setting
changes, was taking into account whether emulation was running.
2018-04-30 14:19:56 +02:00
JosJuice
e74f5c4f42
DolphinQt2: Translate the "(Normal Speed)" text
2018-04-30 13:42:48 +02:00
JosJuice
8870ffeac4
DolphinQt2: Fix clearing numeric values in controller config
2018-04-28 13:02:26 +02:00
JosJuice
28138cfde9
Merge pull request #6707 from spycrab/qt_fix_numeric
...
Qt/MappingNumeric: Calculate values properly
2018-04-28 12:42:27 +02:00
JosJuice
7e765935f8
Merge pull request #6706 from spycrab/qt_guitar_slider
...
Qt/WiimoteEmuExtension: Add "Slider Bar" to Guitar
2018-04-28 11:45:14 +02:00
JosJuice
c51c044142
Translation resources sync with Transifex
2018-04-23 18:47:02 +02:00
JosJuice
2953cf201d
Remove Hybrid Wii Remote
...
It simply doesn't seem to work for anything useful, and nobody seems
to care about maintaining it.
2018-04-17 22:40:21 +02:00
JosJuice
0efbaebe17
Minor fixes to translatable strings
...
The usual deduplication between DolphinWX and DolphinQt2, plus the removal
of a now unused ubershader string and a fix for the Euphoria i18n comment.
2018-04-16 19:08:58 +02:00
JosJuice
8a146d5210
x64Emitter: Don't assume that std::tie is constexpr
...
Using constexpr tie broke building with older GCC versions according to
https://forums.dolphin-emu.org/Thread-build-error-on-linux-mint-18-3
2018-04-15 08:30:01 +02:00
JosJuice
45923696ed
Merge pull request #6648 from leoetlino/master
...
WiimoteEmu: Fix turntable_button_names size
2018-04-15 08:25:44 +02:00
JosJuice
7ed28297b2
ControllerEmu: Use enum instead of bool for translatability
2018-04-13 13:04:26 +02:00
JosJuice
3f13dbe087
Translate certain button names but not all
...
Some button names should be translated, for instance Up, Left and such.
At the same time, some other button names shouldn't be translated,
for reasons that might be less obvious. In 0146456af , I removed the
_trans markers for button names that never need to be translated
(such as A and B), but that isn't actually enough to ensure that
DolphinWX won't try to translate them anyway. This commit adds a bool
that explicitly tells the GUI whether a button name should be translated.
Otherwise we'll have problems like the GUI treating the button name "B"
(which isn't supposed to be translated) as matching the translatable
string "B" (being an abbreviation of "bytes"), meaning that the button
"B" will be labeled "o" when running Dolphin in French (after
translations get pulled from Transifex the next time).
By the way, while it turned out that DolphinWX translated all button
names, it also turned out that DolphinQt2 translated *no* button names.
Go figure. This commit makes them consistent with each other.
2018-04-13 13:04:26 +02:00
JosJuice
e604641b12
Remove leftovers of projection hack support
2018-04-13 12:52:42 +02:00
JosJuice
a66d56aece
Use configured locale in UICommon::FormatSize
...
StringFromFormat always uses the C locale, so we can't use it if we want
the decimal separator to be locale aware, but we can use a stringstream.
2018-04-09 19:14:15 +02:00
JosJuice
0dca432836
Remove old code for using default locale
...
This isn't needed anymore now that the global C++ locale isn't
set to the classic locale.
2018-04-09 19:14:15 +02:00
JosJuice
13d060491c
DolphinQt2: Set locale
...
We want things like number formatting to be done the way the user expects.
2018-04-09 19:14:14 +02:00
JosJuice
72040600d7
Set locale to "en_GB" if "en" is configured
2018-04-09 19:14:14 +02:00
JosJuice
9417fc6a3a
DolphinWX: Set C++ locale
...
After 3a83ebc , the Show System Clock feature started using the
unfortunate combination of MM/DD/YY dates (rare outside of the US)
and 24-hour time (rare in the US) regardless of the user's locale
settings. This commit makes it use the configured locale again.
I've noticed one minor difference in behavior between now and
before 3a83ebc : The new way of setting the C/C++ locale seems to
treat "en" as "en-US", but the wx way of setting the C locale
treated it as "en-GB" (at least on Windows).
2018-04-09 19:14:14 +02:00
JosJuice
7aaaf44229
Merge pull request #6611 from leoetlino/remove-workaround
...
Boot_WiiWAD: Remove a timing issue workaround
2018-04-09 15:46:39 +02:00
JosJuice
31c9f716a0
Merge pull request #6621 from lioncash/adpcm
...
StreamADPCM: Turn the ADPCM decoder into a class
2018-04-09 10:57:32 +02:00
JosJuice
7bc1063d2a
Merge pull request #6619 from lioncash/profiler
...
Profiler: Move BlockStat and ProfileStats structures into the Profiler namespace
2018-04-09 08:19:16 +02:00
JosJuice
4331f80489
Merge pull request #5813 from ligfx/renamepo
...
Remove region tags from translations that don't need them
2018-04-03 13:55:07 +02:00
JosJuice
3fe0051a53
Fix build error on Android
...
Caused by 4387432 .
2018-04-03 08:32:55 +02:00
JosJuice
9d1c4401e5
Merge pull request #6583 from lioncash/enum-class
...
CPUDetect: Make CPUVendor enum an enum class
2018-04-02 09:17:34 +02:00
JosJuice
c6931ee5b8
Merge pull request #6577 from lioncash/memcard
...
EXI_DeviceMemoryCard: Get rid of magic number in SetCS()
2018-04-01 22:08:36 +02:00
JosJuice
621e1758fb
Merge pull request #6581 from lioncash/const
...
DSPJitRegCache: Make FindFreeReg() a const member function
2018-04-01 22:05:48 +02:00
JosJuice
3187d1ddf6
Merge pull request #6580 from lioncash/dspjitreg
...
DSPJitRegCache: Remove unnecessary casts in FlushRegs()
2018-04-01 21:53:52 +02:00
JosJuice
91732e2baf
Remove support for projection hacks
...
This isn't really useful for anything anymore as far as I know.
2018-04-01 21:41:18 +02:00
JosJuice
40f3af22bb
Merge pull request #6572 from lioncash/const
...
Jit64: Make CheckMergedBranch() a const member function
2018-04-01 08:45:28 +02:00
JosJuice
5847e213af
Clean up the end of GameFile::BannerChanged
2018-03-31 14:52:21 +02:00
JosJuice
4387432436
DiscIO: Don't use all uppercase for enum values
...
Also removing some prefixes that we don't need now that we're
using enum classes instead of plain enums.
2018-03-31 14:11:32 +02:00
JosJuice
a7ba69e16a
Fix loading Wii banners for games that initially were cached without banners
...
Fixes https://bugs.dolphin-emu.org/issues/10969
2018-03-30 12:04:01 +02:00
JosJuice
b065f86270
Translate the netplay chat info message about QoS
2018-03-29 22:44:23 +02:00
JosJuice
01ea10824d
Put a "last changed in PR" comment next to UID cache version
...
This will create a merge conflict if two PRs try to increment the
cache version at the same time, which makes it noticeable that the
PR that gets merged last needs to increment the cache version again.
We already use this for savestates and the game list cache.
2018-03-29 22:38:37 +02:00
JosJuice
ff2fe73ec9
DolphinQt2: Don't show invalid games in game list
...
Regression from 1f1dae3 .
This problem doesn't happen in DolphinWX as far as I know, but if
you've ran into the problem in DolphinQt2, it will carry over to
DolphinWX because of the shared game list cache.
2018-03-29 21:52:21 +02:00
JosJuice
748ebf6891
Merge pull request #6550 from lioncash/qt
...
HacksWidget: Remove duplicate AddDescription() calls in AddDescriptions()
2018-03-28 07:33:04 +02:00
JosJuice
d0152ed6a1
Merge pull request #6549 from lioncash/disc
...
DiscExtractor: Pass partition by reference rather than by value in ExtractDirectory()
2018-03-28 07:32:09 +02:00
JosJuice
0a69b42d07
DolphinQt2: Perform more of GameTracker's work on a separate thread
...
This reduces the time from startup to the game list window showing up.
2018-03-26 20:08:06 +02:00
JosJuice
9c70036105
Merge pull request #6503 from lioncash/brace-warn
...
PixelShaderGen/UberShaderPixel: Silence -Wmissing-braces warnings
2018-03-23 15:29:39 +01:00
JosJuice
2b9ff19138
Translation resources sync with Transifex
2018-03-19 19:06:12 +01:00
JosJuice
a71c615435
Make strings more consistent between DolphinWX and DolphinQt2
...
Reduces the number of strings to translate.
2018-03-19 18:52:46 +01:00
JosJuice
9970f05ec8
DolphinQt2: Fix issues with MoIterator
...
Before this, DolphinQt2 would crash at boot with an assertion error
when using a Windows debug build, at least if the Dolphin GUI
language was set to English.
2018-03-17 21:54:39 +01:00
JosJuice
ffb672286a
Fix launching DolphinQt2 from Visual Studio
...
Fourth time now...
2018-03-17 19:10:57 +01:00
JosJuice
bdaa7be299
Merge pull request #6448 from lioncash/qt
...
DolphinQt2: Fix project loading in VS
2018-03-16 20:17:01 +01:00
JosJuice
828c2c44ca
Bring the Android GUI setting for ubershaders up to date
...
9fa2470 changed how the ubershader setting is stored in INIs but didn't
update the Android GUI code to reflect that, so the setting in the
Android GUI has been broken starting with that commit.
Fixes https://bugs.dolphin-emu.org/issues/10947
2018-03-15 19:15:13 +01:00
JosJuice
4b85f7fe79
Qt2 translation: Don't place "zh_CN" and "zh_TW" after "zh"
...
The least specific language code should be tried last.
2018-03-11 22:27:17 +01:00
JosJuice
34be8488a5
StringUtil: Fix Windows encoding in ThousandSeparate
...
Some locales use non-breaking spaces as separators, so getting the
encoding right is important. If DolphinWX gets a string that isn't
valid UTF-8, it flat out won't display the string.
2018-03-10 12:13:30 +01:00
JosJuice
0e2690f40b
FileMonitor: Store last file offset instead of path
...
This saves us from having to call GetPath when the same file is being
read over and over. (GetPath is more expensive than GetOffset due to
it iterating through parts of the file system and creating strings.)
2018-03-09 15:18:32 +01:00