Michael Maltese
e041602416
CMake: remove references to D3D12
...
It's gone!
2017-05-26 01:16:04 -07:00
Michael Maltese
07a23f6924
Update ext-win-qt submodule for Qt 5.8
...
Accompanying PR for https://github.com/dolphin-emu/ext-win-qt/pull/3
2017-05-26 01:00:15 -07:00
Michael Maltese
3ca03373ae
MSVC: define HAVE_FFMPEG
2017-05-26 00:53:58 -07:00
Michael Maltese
53acd25de4
Rename define HAVE_LIBAV->HAVE_FFMPEG
2017-05-26 00:53:58 -07:00
Michael Maltese
d951d2e4c4
CMake: libav/ffmpeg cleanups
...
Use @Orphis's FindFFmpeg module from ppsspp:
2149d3db7f
From that commit:
> This new module should be able to handle both libraries in the regular
> paths and fallback to pkg-config.
> It is also able to find dynamic libraries, not just static libraries.
> It will generate imported targets with the name FFmpeg::<lib> that you
> can use in your scripts.
2017-05-26 00:53:58 -07:00
Pierre Bourdon
d592bdd4d4
Migrate to Visual Studio 2017.
...
Auto-generated by the IDE, I'll trust it knows what it's doing.
2017-05-25 15:58:59 -07:00
Sepalani
2d75a99426
ConfigManager: GetBootROMPath added
2017-05-25 13:11:12 +01:00
Leo Lam
0f020857c5
Merge pull request #5448 from XeR/master
...
GeckoCode: install code handler even if no codes are activated
2017-05-25 11:16:16 +02:00
Sepalani
82695ccd99
PPCSymbolDB: Fix LoadMap corrupting virtual addresses
2017-05-24 21:08:15 +01:00
Sepalani
c1afdc6f47
CodeView: Fix missing bl details
2017-05-24 20:34:23 +01:00
Léo Lam
57ce091ef5
IOS/ES: Implement ES_DeleteStreamKey (0x3d)
2017-05-24 18:16:35 +02:00
Léo Lam
90d590d1f3
IOS/ES: Implement ES_DeleteContent (0x3e)
2017-05-24 18:16:35 +02:00
Léo Lam
ced049c5e8
IOS/ES: Prevent usage of ES_DiVerifyWithView for the PPC
...
ES_DiVerifyWithView (0x3b) is another private ioctlv that can only be
used from DI. Calling it from anywhere else returns -1017.
2017-05-24 18:16:34 +02:00
Leo Lam
98b6446249
Merge pull request #5459 from sepalani/code
...
PPCSymbolDB: Split SaveMap function
2017-05-24 13:59:28 +02:00
JosJuice
0408c99884
Merge pull request #5472 from leoetlino/formatting
...
Qt: Fix code formatting
2017-05-24 13:55:14 +02:00
Leo Lam
0d7faf8b61
Merge pull request #5471 from spycrab/qt_crash_gamestart
...
Qt: Fix games crashing on start
2017-05-24 13:52:00 +02:00
Léo Lam
b6db4f22b5
Qt: Fix code formatting
2017-05-24 13:09:05 +02:00
spycrab
d65006b91b
Qt: Fix games crashing on start
2017-05-23 22:12:01 +02:00
Anthony
289005f702
Merge pull request #5379 from Ryanel/qt-settings-cpu
...
Qt: Copy General Tab from WX
2017-05-23 07:08:21 -07:00
Markus Wick
6a599e2796
Merge pull request #5428 from ligfx/makedspdumpconsistent
...
Make DSP code dumping consistent between DSP-LLE and DSP-HLE
2017-05-23 14:48:10 +02:00
Markus Wick
e2d4fe6881
Merge pull request #5421 from JosJuice/load-bs2-setupbat
...
Use SetupBAT in Load_BS2
2017-05-23 14:40:11 +02:00
Markus Wick
4870e4119b
Merge pull request #5435 from sepalani/add-function
...
PPCSymbolDB: Remove biased address check
2017-05-23 14:39:36 +02:00
Markus Wick
e3980d4c22
Merge pull request #5450 from ligfx/dspassemblefreerom
...
Small cleanups of DSPAssembler and the free DSP ROM code
2017-05-23 14:36:16 +02:00
Markus Wick
3a2ec8c8a1
Merge pull request #5440 from ligfx/axhledelayinterrupt
...
AX-HLE: delay sending interrupt when done processing command list
2017-05-23 14:29:45 +02:00
Corwin McKnight
07dc2e17f3
Qt: Update General, Interface pane
2017-05-23 00:19:02 -07:00
Mat M
b7cc4d73dc
Merge pull request #5469 from ligfx/cmakecleanupunittests
...
CMake: various cleanups for UnitTests
2017-05-23 02:08:58 -04:00
Mat M
3f437337a1
Merge pull request #5466 from lioncash/db
...
SignatureDB: Minor cleanup
2017-05-22 21:25:36 -04:00
Mat M
4bfd464b0c
Merge pull request #5468 from leoetlino/headers
...
Fix some header includes
2017-05-22 21:22:04 -04:00
Sepalani
95ea721f06
Tools: Load GameCube BIOS added
2017-05-22 22:44:21 +01:00
Léo Lam
cf0c4455cd
Fix indirect includes
2017-05-22 10:39:36 +02:00
Leo Lam
f994538875
Merge pull request #5455 from leoetlino/es-get-ticket-from-view
...
IOS/ES: Implement ES_GetTicketFromView ioctlvs
2017-05-22 10:11:25 +02:00
Michael Maltese
974ada25e4
CMake: use RUNTIME_OUTPUT_DIRECTORY rather than setting OUTPUT_NAME each time
2017-05-22 00:19:14 -07:00
Michael Maltese
6d403d9ad4
CMake: specify unittests libs directly in target_link_libraries
2017-05-22 00:19:14 -07:00
Michael Maltese
8e57a0ff14
CMake: remove explicit platform libraries from UnitTests
...
They're not used directly, and any libraries that need them will pull
them in transitively.
2017-05-22 00:19:14 -07:00
Michael Maltese
be2f4466e3
CMake: move unittests target to UnitTests
2017-05-22 00:19:14 -07:00
Michael Maltese
ea35549e00
CMake: don't explictly create Tests/ directory
2017-05-22 00:19:13 -07:00
Michael Maltese
41fb6db6e3
CMake: remove extraneous TestUtils directory
2017-05-22 00:19:13 -07:00
Michael Maltese
87d64afe19
CMake: pass all srcs to add_test in ARGN
2017-05-22 00:19:13 -07:00
Michael Maltese
9d130b52f7
CMake: use unittests_stubhost object library
2017-05-22 00:19:13 -07:00
Michael Maltese
a78ca46d9e
CMake: use implicit target location in add_test
2017-05-22 00:19:13 -07:00
Michael Maltese
942cbd3c8d
CMake: don't prefix test targets with Test_
...
The current prefixing makes it harder to build test executables directly
from the command line, since the target name breaks CMake convention and
doesn't match the name passed to `add_dolphin_test`. They all have "Test"
somewhere in the name anyways.
2017-05-22 00:19:13 -07:00
Léo Lam
531378e8e6
IOSC: Fix header includes
2017-05-22 02:07:14 +02:00
Léo Lam
7bdf3d7ea7
ESFormats: Fix header includes
2017-05-22 02:06:49 +02:00
Léo Lam
6bc4cc984f
TitleDatabase: Fix header includes
...
Remove unneeded includes, and add missing includes.
2017-05-22 02:02:04 +02:00
Lioncash
73b72c6a62
TitleDatabase: Remove unused <iostream> header
...
Many implementations of <iostream> inject a static constructor into the
translation unit, it's included in, even if nothing from the header is used.
2017-05-21 17:51:47 -04:00
Lioncash
c3bab0b0e7
SignatureDB: Remove unnecessary header
2017-05-21 17:39:44 -04:00
Lioncash
bbe1e643fb
SignatureDB: in-class initialize DBFunc members
2017-05-21 17:39:42 -04:00
Lioncash
d0089191e1
SignatureDB: default the format handler destructor
2017-05-21 17:39:41 -04:00
Lioncash
5301efddd0
SignatureDB: Remove unnecessary qualifiers and virtual keywords
2017-05-21 17:39:40 -04:00
Lioncash
3c94962332
SignatureDB: Move two functions into the cpp file
...
These are implementation details.
2017-05-21 17:39:34 -04:00
Anthony
e328b13ae2
Merge pull request #5462 from spycrab/qt_refresh_devices
...
Qt: Fix default device handling
2017-05-21 13:29:11 -07:00
Anthony
1072da11fe
Merge pull request #5460 from spycrab/qt_fix_rounding_errors
...
Qt: Fix rounding errors
2017-05-21 13:28:42 -07:00
Léo Lam
964f546e69
UI: Expose the "show active title" setting
2017-05-21 18:58:32 +02:00
Léo Lam
cfc0cc1453
Add an option to show the active title in the title
...
This can be useful for figuring out at a glance what title is running,
along with its game ID / title ID.
2017-05-21 18:58:32 +02:00
Léo Lam
2f5f9be9ac
WX: Use TitleDatabase for getting title names
2017-05-21 18:57:55 +02:00
Léo Lam
4a55d757dd
Add a TitleDatabase
...
Add a TitleDatabase to allow easily querying a title database to get
a user-friendly string for a game ID.
2017-05-21 18:57:55 +02:00
Léo Lam
ef5ecedded
Analytics: Report game start on title change
...
Otherwise, we may be missing some reports.
2017-05-21 18:53:07 +02:00
spycrab
6370f094ba
Qt: Fix default device handling
2017-05-21 14:47:35 +02:00
Silvan Jegen
d8db6a7139
NANDImporter: fix printf warning
...
gcc complains that the printf %x formatting instruction expects an
'unsigned int' but we pass a 'size_t'. We add the 'z' length formatting
specifier used for 'size_t'
2017-05-21 13:06:40 +02:00
Léo Lam
48d02f91a8
IOS/ES: Mark ioctlv 0x3f as invalid
...
It's not used in IOS. Looks like they just decided to skip 0x3f.
2017-05-21 12:28:30 +02:00
Léo Lam
e92308fe7e
IOS/ES: Implement ES_GetTicketFromView ioctlvs
...
This implements ioctlvs 0x40, 0x43, 0x44.
2017-05-21 12:28:30 +02:00
Leo Lam
7af05fd9e6
Merge pull request #5454 from leoetlino/es-delete-shared-content
...
IOS/ES: Implement ES_DeleteSharedContent
2017-05-21 12:11:48 +02:00
spycrab
e8bfa2273c
Qt: Fix rounding errors
2017-05-21 12:03:13 +02:00
Sepalani
56f2d523dd
PPCSymbolDB: Split SaveMap function
...
Rewrite the code map file generation
2017-05-21 01:00:36 +01:00
spycrab
6e28f4dae6
Qt: Implement analytics (+ prompt)
2017-05-20 23:41:02 +02:00
Leo Lam
dc8bc95a6b
Merge pull request #5456 from JosJuice/wii-disc-formats
...
VolumeWiiCrypted: Use Formats.cpp more
2017-05-20 22:39:52 +02:00
Anthony
373fc58428
Merge pull request #5457 from spycrab/qt_fix_labels
...
Qt: Fix Wii Motioncontrol button mapping labels
2017-05-20 12:22:15 -07:00
spycrab
cf747fb050
Qt: Fix Wii Motioncontrol button mapping labels
2017-05-20 21:08:31 +02:00
JosJuice
1575020c3a
VolumeWiiCrypted: Get title keys from TicketReader
2017-05-20 20:44:12 +02:00
JosJuice
26f5b53ecb
VolumeWiiCrypted: Get title IDs from TicketReader
2017-05-20 20:43:31 +02:00
JosJuice
5c68a03ae4
VolumeWiiCrypted: Cache TMDs and tickets
2017-05-20 20:42:44 +02:00
Anthony
cf60564d84
Merge pull request #5405 from spycrab/qt_mapping_windows
...
Qt: Implement mapping dialogs
2017-05-20 09:28:57 -07:00
spycrab
33e111e92f
Qt: Implement button mapping dialogs
2017-05-20 17:53:17 +02:00
Léo Lam
2e8e420623
IOS/ES: Implement ES_DeleteSharedContent
2017-05-20 14:46:28 +02:00
Léo Lam
1231226ad9
WX: Use the proper format specifier
2017-05-20 11:43:06 +02:00
Leo Lam
445b77f738
Merge pull request #5452 from spycrab/qt_rnd_crashes
...
Qt: Fix random crashes
2017-05-20 11:29:06 +02:00
Leo Lam
8b113ea06c
Merge pull request #5438 from Starsam80/nand-importer-fixes
...
NANDImporter: Fix GUI freezing + add logging
2017-05-20 11:24:50 +02:00
spycrab
a4b24ac265
Qt: Fix random crashes
2017-05-20 11:10:39 +02:00
Leo Lam
1d2b272b00
Merge pull request #5422 from MerryMage/sysconf-ini
...
ConfigManager: Remove load/save code to INI for SYSCONF settings
2017-05-20 10:39:58 +02:00
JosJuice
e019872d62
Remove no-pie build flags
2017-05-20 09:35:53 +02:00
JosJuice
89e60a41eb
MemoryUtil: 0 -> nullptr
2017-05-20 09:35:53 +02:00
JosJuice
4b4cf509f8
Remove code for only allocating low memory
...
This is unnecessary when we have position-independent code.
2017-05-20 09:35:53 +02:00
Pierre Bourdon
d486904e9b
build.gradle: do not change the output filename, our CI relies on it
2017-05-20 05:54:55 +02:00
Michael Maltese
1683c69fb7
DSPAssembler: add WARNPC directive from xkas (technically, from asar)
...
This adds the WARNPC directive from xkas/asar to complement the existing ORG
directive. A common useful idiom is "WARNPC 0xXXXX\nORG 0xXXXX," which only
seeks forward and raises an error if you've already written to that part
of the file.
2017-05-19 19:53:38 -07:00
Michael Maltese
a4cb691058
DSPAssembler: make ORG directive correctly seek forward
...
The xkas assembler says about org: "You can seek forward and backward
into a file."
2017-05-19 19:53:38 -07:00
Michael Maltese
f3c8291c26
DSPAssembler: remove temporary file
2017-05-19 19:53:38 -07:00
Michael Maltese
2fad33cafe
DSP-HLE: cleanup PushMail argument names
2017-05-19 19:04:06 -07:00
Michael Maltese
43c09c63d8
AX-HLE: delay sending interrupt when done processing command list
...
Fixes https://bugs.dolphin-emu.org/issues/10265 (Star Wars: The Clone
Wars hangs on loading screen with DSP-HLE and JIT Recompiler).
The Clone Wars hangs upon initial boot if this interrupt happens too
quickly after submitting a command list. When played in DSP-LLE, the
interrupt lags by about 160,000 cycles, though any value greater than or
equal to 814 will work. In other games, the lag can be as small as 50,000
cycles (in Metroid Prime) and as large as 718,092 cycles (in Tales of
Symphonia!).
All credit to @hthh, who put in a heroic(!) amount of detective work and
discovered that The Clone Wars tracks a "AXCommandListCycles" variable
which matches the aforementioned 160,000 cycles. It's initialized to ~2500
cycles for a minimal, empty command list, so that should be a safe number
for pretty much anything a game does (*crosses fingers*).
2017-05-19 19:04:06 -07:00
Mat M
b47d44ab15
Merge pull request #5445 from JosJuice/remove-jitil
...
Remove JITIL
2017-05-19 21:33:38 -04:00
MerryMage
df2fc3c32f
ConfigManager: Remove load/save code to INI for SYSCONF settings
...
These settings are already loaded and saved to the SYSCONF. The INI
load/saves are redundant and do not work anyway because they are
overwritten by SYSCONF.
2017-05-19 23:57:08 +01:00
Starsam80
3229cde292
NANDImporter: Add logging
2017-05-19 16:36:06 -06:00
Starsam80
618eb9f743
NANDImporter: Use a indeterminate progress meter
2017-05-19 16:31:47 -06:00
XeR
d30eb7ea70
GeckoCode: install code handler even if no codes are activated
...
This let users use the gecko code handler debugging protocol with existing
tools even when no gecko codes are enabled.
2017-05-19 23:54:22 +02:00
JosJuice
4dce620130
Merge pull request #5433 from leoetlino/cleanup
...
Drop remnants of the plugin system
2017-05-19 23:54:09 +02:00
JosJuice
256a0cf4db
Remove JITIL
2017-05-19 22:21:07 +02:00
JosJuice
78effbabc6
Replace some usages of IVolume::ReadSwapped with IBlobReader::ReadSwapped
...
Skips needing to specify PARTITION_NONE.
2017-05-19 21:31:47 +02:00
JosJuice
fcb2c5bd29
Remove CBlobBigEndianReader
...
We can simply put ReadSwapped directly in IBlobReader.
2017-05-19 21:23:00 +02:00
Léo Lam
f96ab66d31
Drop remnants of the plugin system
2017-05-19 19:13:16 +02:00
JosJuice
ac5c82b36b
DiscIO: Remove VolumeCreator
...
This file is pretty small now that it doesn't handle Wii
partitions anymore, so let's move its contents to Volume.cpp.
This is also more consistent with how blob creation works.
2017-05-19 18:33:21 +02:00
JosJuice
56b218a750
DiscIO: Simplify volume creation
...
Basically inlining GetDiscType into CreateVolumeFromFilename.
2017-05-19 18:18:43 +02:00
Leo Lam
bc5496e119
Merge pull request #5444 from sepalani/code
...
FrameTools: Prevent dummy code map to be saved
2017-05-19 16:33:40 +02:00
Sepalani
649eb43d98
FrameTools: Prevent dummy code map to be saved
2017-05-19 15:04:11 +01:00
Markus Wick
d7d339105b
Merge pull request #5441 from lioncash/android
...
MainAndroid: Resolve -Wmissing-variable-declarations warnings
2017-05-19 10:51:24 +02:00
Mat M
1880a97bb0
Merge pull request #4424 from Helios747/remove_more_features
...
Remove D3D12
2017-05-18 20:04:40 -04:00
Helios747
a465c483f3
Remove D3D12
2017-05-18 17:01:12 -07:00
Lioncash
35aa55931f
MainAndroid: Resolve -Wmissing-variable-declarations warnings
2017-05-18 19:55:05 -04:00
Mat M
35a8771e68
Merge pull request #5427 from lioncash/host
...
Host: Get rid of Host_SetStartupDebuggingParameters()
2017-05-18 19:04:25 -04:00
Sean Maas
3e33c99f4c
Android: Initialize video backend setting on first run
2017-05-18 08:44:45 -04:00
Sepalani
e0231d0b30
PPCSymbolDB: Remove biased address check
...
The appropriate check is already done by PPCAnalyst::AnalyzeFunction.
2017-05-17 19:37:27 +01:00
Tilka
8be41d3b7c
Merge pull request #5437 from sepalani/ppc-ibat
...
PPCAnalyst: Use the proper RAM check
2017-05-17 13:28:13 +01:00
Markus Wick
392936a5e5
Merge pull request #5423 from SeannyM/misc-touch
...
Android: Various touch control improvements
2017-05-17 11:05:33 +02:00
Sepalani
aa65ca4b6b
PPCAnalyst: Use the proper RAM check
2017-05-17 02:10:26 +01:00
JosJuice
fa06d10f4a
Merge pull request #2353 from JosJuice/wii-partition-cleanup
...
VolumeWiiCrypted: Replace ChangePartition with a partition parameter
2017-05-16 23:06:32 +02:00
JosJuice
2bcad57225
Check file system validity before reading opening.bnr
...
This happened to work without any problems because the only way for a
file system to be invalid was to not have the right GC/Wii magic word
in the unencrypted area, and a volume could not be created without
having the right GC/Wii magic word there. Now that file systems read
the magic word from a partition instead, a fix is needed.
2017-05-16 22:59:01 +02:00
JosJuice
639ce6c484
FileSystemGCWii: Replace m_Wii with m_offset_shift
...
I replaced m_OffsetShift with m_Wii in bb93336
to support
the decrypt parameter for read functions. Doing that is no
longer necessary, so m_offset_shift is now used like before.
2017-05-16 22:58:57 +02:00
JosJuice
19b8f1c10a
VolumeWiiCrypted: Replace ChangePartition with a partition parameter
...
By removing mutable state in VolumeWiiCrypted, this change makes
partition-related code simpler. It also gets rid of other ugly things,
like ISOProperties's "over 9000" loop that creates a list of
partitions by trying possible combinations, and DiscScrubber's
volume swapping that recreates the entire volume when it needs to
change partition.
2017-05-16 22:58:15 +02:00
JosJuice
74d84c5af2
VolumeWiiCrypted: Turn m_dataOffset into a constant
2017-05-16 22:56:53 +02:00
Michael Maltese
930c165c4e
DSPHWInterface: cleanup gdsp_idma_in
2017-05-15 20:33:42 -07:00
Michael Maltese
5f68a0dcdd
DSP: cleanup DumpDSPCode and remove temp file write
2017-05-15 15:11:09 -07:00
JosJuice
f4e8a01d16
Merge pull request #5431 from leoetlino/change-disc
...
DVDInterface: Fix a regression with changing discs
2017-05-15 23:57:51 +02:00
Michael Maltese
59c863329d
DSP-LLE: calculate code CRC _before_ swapping endianness
...
- Makes DSP-LLE code checksums the same as those from DSP-HLE. I'm
assuming DSP-HLE was doing it correctly, since there are numerous
references to these pre-endian-swapped checksums (including in
DSPHost.cpp itself).
- Fixes disassembly when dumping code from DSP-LLE, which was using the
wrong endianness and giving totally bogus output.
- Reveals error messages of the format, "Bah! ReadAnnotatedAssembly
couldn't find the file ../../docs/DSP/DSP_UC_AX_07F88145.txt," which
seems to be intended behavior that was previously hidden.
2017-05-15 14:27:39 -07:00
Leo Lam
8e38eca150
Merge pull request #5426 from spycrab/qt_c_refreshbutton
...
Qt: Implement Wiimote Refresh button
2017-05-15 19:51:49 +02:00
Léo Lam
c660dfcbd9
DVDInterface: Fix a regression with changing discs
...
We were not clearing s_disc_path_to_insert, which would cause disc
changes to be only possible once.
2017-05-15 19:20:29 +02:00
Leo Lam
d2d7247ebe
Merge pull request #5430 from sepalani/connect-log
...
IOS/Network: Log IOCTL_SO_CONNECT return value
2017-05-15 18:12:56 +02:00
Sepalani
b323c8b34f
IOS/Network: Log IOCTL_SO_CONNECT return value
2017-05-15 17:03:03 +01:00
Sean Maas
d4728807e0
Android: Add pressed dpad images for other DPIs
2017-05-15 08:32:22 -04:00
Sean Maas
3bd8890486
Android: Prevent stuck on-screen buttons
2017-05-15 08:32:07 -04:00
Michael Maltese
c67bae5491
DSP-HLE: use DumpDSPCode to de-duplicate logic (and gain disassembly)
...
This change centralizes all of the path handling and file writing logic
in DumpDSPCode. DSP-HLE also gains the feature of DSP-LLE to
automatically disassemble dumped code and write it to an accompanying
text file.
2017-05-15 02:38:51 -07:00
Michael Maltese
f985e0faac
DSP: remove unused DSPLLETools
...
With the relocation of DumpDSPCode to DSPCodeUtils, the only remaining
function in DSPLLETools is DumpCWCode. This function 1) is not used
anywhere (not even in DSPTool), 2) doesn't seem to really do anything,
and 3) has a single comment saying "TODO make this useful :p"
2017-05-15 02:35:56 -07:00
Michael Maltese
e4c779de0b
DSP: move DumpDSPCode from DSPLLETools to DSPCodeUtil
...
This code is useful outside of DSP-LLE, and I plan to modify DSP-HLE to
use it in a future commit.
2017-05-15 02:34:43 -07:00
Michael Maltese
edb16cd399
DSP-LLE: dump code if m_DumpUCode instead of DEBUG
...
This change makes the behavior consistent with that of DSP-HLE.
2017-05-15 02:33:50 -07:00
spycrab
4bf9f5e835
Qt: Implement Wiimote Refresh button
2017-05-15 05:14:45 +02:00
Lioncash
7baabe99d1
Host: Get rid of Host_SetStartupDebuggingParameters()
...
This is something that should be the responsibility of the frontend
booting the game. Making this part of the host 'interface' inherently
requires frontends to leak internal details (much like the other
UI-related functions in the interface).
This also decouples more behavior from the debugger and the
initialization process in the wx frontend. This also eliminates several
usages of the parent menubar in the debugger code window.
2017-05-14 19:12:59 -04:00
JosJuice
1e56972e4f
Make Load_BS2's MSR poking more readable
2017-05-14 23:56:19 +02:00
JosJuice
a6283f6eec
Use SetupBAT in Load_BS2
2017-05-14 23:56:19 +02:00
JosJuice
4726c9075f
Split SetupBAT into SetupMSR and SetupBAT
2017-05-14 23:56:19 +02:00
Leo Lam
ed5e98c3cc
Merge pull request #5419 from leoetlino/import-code-reuse
...
Reuse the IOS code for WAD installation
2017-05-14 23:35:43 +02:00
Leo Lam
072b24a3d2
Merge pull request #5425 from sepalani/get-interface-opt
...
IP/Top: Implement GetInterfaceOpt hardcoded cases
2017-05-14 23:27:53 +02:00
JosJuice
405643b902
VolumeWiiCrypted: Use std::min
2017-05-14 22:52:21 +02:00
JosJuice
5c46810a36
VolumeWiiCrypted: Store last decrypted offset instead of block number
...
This makes it unnecessary to reset m_last_decrypted_offset
when changing partition.
2017-05-14 22:52:21 +02:00
Sepalani
6ba8130e11
IP/Top: Implement GetInterfaceOpt hardcoded cases
2017-05-14 21:47:41 +01:00
JosJuice
651340826d
Merge pull request #5424 from lioncash/override
...
MEGASignatureDB: Add missing override specifiers
2017-05-14 22:39:14 +02:00
Lioncash
198d686a41
MEGASignatureDB: Add missing override specifiers
2017-05-14 16:20:45 -04:00
JosJuice
486de022df
Don't run EmulatedBS2_Wii with VolumeDirectory
...
VolumeDirectory doesn't support necessities like TMDs,
so thanks to 5.0-2172 (18968ab
), EmulatedBS2_Wii crashes
when the inserted disc is a VolumeDirectory.
This commit fixes that.
This commit makes our DOL booting code very similar to our
ELF booting code. One exception is that the DOL booting
code still always calls SetupBAT. (Note that EmulatedBS2_GC
calls SetupBAT even if no disc is inserted.) I'm not sure
if there's a point to the difference, but I thought I'd
better avoid changing it so that I don't break anything.
2017-05-14 22:01:36 +02:00
Leo Lam
2fca1b925f
Merge pull request #4241 from JosJuice/remove-getvolume
...
Remove DVDInterface::GetVolume
2017-05-14 21:46:28 +02:00
Sean Maas
6190b1c4e2
Android: Animate onscreen joystick
...
Invalidate more often, display nub as pressed when in use, and implement
basic nub bounds.
2017-05-14 15:29:47 -04:00
JosJuice
2a2db16087
DVDInterface: Remove GetVolume
...
For thread safety reasons, the currently inserted volume must
only be accessed by the DVD thread (or by the CPU thread if it
calls DVDThread::WaitUntilIdle() first). After this commit,
only DVDThread.cpp can access the volume, which prevents code in
other files from accessing the volume in a non-threadsafe way.
2017-05-14 21:11:46 +02:00
Markus Wick
247cdca9b9
Merge pull request #5398 from mahdihijazi/controls_states
...
Android: Add pressed state to the on-screen controllers
2017-05-14 20:45:12 +02:00
Mahdi Hijazi
216a7ceea8
Android: Add pressed state to the on-screen controllers
...
Now the buttons will be shown in different color to indicate a press event
2017-05-14 18:41:04 +02:00
Léo Lam
aa3dc9a057
IOS/ES: Consider hidden channels/system menu as channels
2017-05-14 17:39:42 +02:00
Léo Lam
c8bffb0153
Reuse the IOS code for WAD installation
...
* Less code and logic duplication.
* Fixes a bug with the data dir not being created, steps being done in
the wrong order.
2017-05-14 15:30:42 +02:00
Léo Lam
afcda22da9
DiscIO: Add GetContent() for reading content from WADs
...
Direct access to the WAD bytes is required to read contents with proper
padding data (since they can sometimes end up being outside of the
data app section). Allowing the whole buffer to be accessed directly
would be error prone, so this commit adds GetContent() to WiiWAD
for getting raw content data by index.
2017-05-14 15:30:42 +02:00
Léo Lam
6916a3d85b
Hide non-channel WADs
...
These cannot be booted, so it is bad UX to show them in the UI as if
they were regular titles, and yet have different behaviour for them.
And technically, there is no reason to allow them to be used to boot
in the first place.
Another reason they should not be shown is that Dolphin fails
spectacularly with WADs that have a valid boot content index, but are
not PPC titles (e.g. IOS WADs). The only reliable way to avoid this
is to check for the title type and only show channels, just like
the Wii System Menu.
2017-05-14 15:30:42 +02:00
Léo Lam
2058f37596
IOS/ES: Implement ImportTitleCancel properly
...
Mistakenly used the wrong TMD to clean up the import.
The original TMD is the one that is supposed to be used when
cancelling an import, but I forgot it's in the /import directory after
starting an import.
2017-05-14 15:30:39 +02:00
Léo Lam
5587342ca1
IOS/ES: Expose title management ioctlvs
...
This exposes all ES title management ioctlvs to avoid duplicating IOS
code everywhere and to make it easier to reuse (since this way it's
not unnecessarily tied to the PPC IPC mechanism anymore) and unit test.
Some functions were also renamed for consistency with the other names,
*and* with official names.
2017-05-14 15:30:09 +02:00
Léo Lam
f8ffcb2483
IOS/ES: Remove unused struct
2017-05-14 15:30:08 +02:00
Leo Lam
ad27e90263
Merge pull request #5420 from JosJuice/elf-setupbat
...
Use SetupBAT in Boot_ELF
2017-05-14 15:29:27 +02:00
JosJuice
41b3b05cfe
Use SetupBAT in Boot_ELF
...
Sigh...
2017-05-14 15:18:58 +02:00
JosJuice
5a55957741
Boot: Pass volume as argument to functions
...
Avoids using DVDInterface's global state in the boot process.
2017-05-14 13:29:47 +02:00
Leo Lam
690e61b997
Merge pull request #5417 from leoetlino/constructor
...
IOS: Fix AddCoreDevices being called twice
2017-05-13 23:20:22 +02:00
JosJuice
807e242d05
DVDInterface: Replace SetVolume functions
...
It's better to just let the calling code provide a volume
object instead of needing one SetVolume for each way of
creating a volume. This simplifies InsertDiscCallback and
is needed for the following commits.
2017-05-13 22:56:11 +02:00
Léo Lam
adf9218e74
IOS: Fix AddCoreDevices being called twice
...
Also make sure m_title_id is set as soon as possible.
2017-05-13 22:14:29 +02:00
shuffle2
0f504e7a84
Merge pull request #5416 from lcsondes/d3d12-build-fix
...
VS2017 build fix after upgrading project
2017-05-13 13:10:02 -07:00
shuffle2
67d640bd12
Merge pull request #5376 from ligfx/fixfourswordshle
...
[RFC] Tweaks to Zelda-HLE to allow multiple GBA connections
2017-05-13 13:06:02 -07:00
lcsondes
94be591606
VS2017 build fix after upgrading project
2017-05-13 20:34:27 +01:00
Tilka
327180daa7
Merge pull request #5415 from MerryMage/frame-toggle-dual-core
...
Frame: Remove unused member function OnToggleDualCore
2017-05-13 20:15:42 +01:00
MerryMage
c68c6d0f2d
Frame: Remove unused member function OnToggleDualCore
2017-05-13 19:43:49 +01:00
Anthony
6cf0377ef8
Merge pull request #5386 from sepalani/ppc-analyst-target
...
PPCAnalyst: Fix annoyances
2017-05-13 09:03:34 -07:00
Tilka
d95b82abc3
Merge pull request #5413 from leoetlino/dsphle-fixes
...
DSPHLE: Typo fix
2017-05-13 15:59:15 +01:00
MerryMage
bd3e493695
Section: Fix Section::Get
2017-05-13 15:22:29 +01:00
MerryMage
af33ae0e02
Core: Move ConfigLoaders to a ConfigLoaders filter
2017-05-13 15:22:28 +01:00
MerryMage
dd9e622155
GameConfigLoader: Fix blank keys for variable sections
2017-05-13 15:22:26 +01:00
Léo Lam
df63638b4a
DSPHLE: Fix a typo in the savestate code
...
https://github.com/dolphin-emu/dolphin/pull/5306#discussion_r112840565
2017-05-13 16:08:12 +02:00
JosJuice
9e8293f5e3
Boot: Small simplifications and formatting cleanup
2017-05-13 12:13:33 +02:00
JosJuice
42370e4b5b
Use console-appropriate SetupBAT when booting DOL files
2017-05-13 09:24:06 +02:00
Matthew Parlane
fe71836127
Merge pull request #5409 from sepalani/vcxproj
...
Fix DolphinWX.vcxproj.filters
2017-05-13 14:27:38 +12:00
Tilka
f77fc55568
Merge pull request #5306 from leoetlino/dsphle-ptrs
...
DSPHLE: Use unique_ptr for ucodes
2017-05-13 03:25:54 +01:00
Sepalani
cc1f4c951f
Fix DolphinWX.vcxproj.filters
2017-05-13 01:40:03 +01:00
Leo Lam
ea89e8566e
Merge pull request #5391 from leoetlino/delete-title-content
...
IOS/ES: Implement DeleteTitleContent properly
2017-05-13 00:48:28 +02:00
Leo Lam
dae46fa3d2
Merge pull request #5385 from douglasjv/master
...
Fix for Emulator Issue #10267 : Game list column sizes are being incorrectly calculated.
2017-05-13 00:41:16 +02:00
Leo Lam
a44fa16601
Merge pull request #5370 from Ryanel/qt-settings-general
...
Qt: Add General Pane to Settings
2017-05-13 00:37:31 +02:00
Léo Lam
bacf52384f
IOS/ES: Implement DeleteTitleContent properly
...
Just like DeleteTitle, Using CNANDContentManager is overkill,
inefficient and useless. And it results in a few failures in
situations where a delete should just always work.
But here it gets bonus points, because it manages to actually use
the TMD for deleting contents, when IOS does none of that and just
deletes files ending with .app in the title content directory. :)
2017-05-13 00:34:58 +02:00
Léo Lam
12801fd722
IOS: Allow instances that are not tied to emulation
...
This enables constructing an IOS instance that is not tied to emulation
and that can be simply used for internal purposes (ES, FS).
NAND root initialisation was moved to IOS since we cannot rely on HW
doing that for us anymore, and technically the NAND is entirely managed
by IOS anyway.
2017-05-13 00:34:58 +02:00
Leo Lam
f4e115b322
Merge pull request #5406 from JosJuice/refactor-emulatedbs2
...
Boot: Refactor EmulatedBS2
2017-05-13 00:31:11 +02:00
Léo Lam
8a9075ac1d
DSPHLE: Use unique_ptr for ucodes
2017-05-12 23:55:13 +02:00
spycrab
dd54f3c0c1
Qt: Fix Interface Pane
2017-05-12 20:56:00 +02:00
JosJuice
20f7a7a3e3
Boot: Read apploader trailer for Wii discs too
...
This was probably an oversight from back when the code
was duplicated between EmulatedBS2_GC and EmulatedBS2_Wii.
2017-05-12 18:49:00 +02:00
JosJuice
22c499aafe
Boot: Deduplicate code by creating a RunApploader function
2017-05-12 18:00:17 +02:00
JosJuice
5e1fb1a596
Boot: Deduplicate code by creating a SetupBAT function
2017-05-12 17:53:15 +02:00
Corwin McKnight
e8a214ad14
Qt: Fix how Icons are assigned in Settings Window.
2017-05-11 13:14:47 -07:00
Corwin McKnight
a2d2acf741
Qt: Add General Pane to Settings
...
Replace SConfig references with Settings()
2017-05-11 12:40:14 -07:00
Anthony
33980d816a
Merge pull request #5378 from Ryanel/qt-settings-interface
...
Qt: Add Interface Pane to Settings
2017-05-11 11:19:27 -07:00
Leo Lam
ade0e51a78
Merge pull request #5403 from leoetlino/formatting
...
Config: Fix a formatting issue
2017-05-10 20:33:59 +02:00
Anthony
eab243d6ee
Merge pull request #5402 from spycrab/qt_gamelist_cfix
...
Qt: Fix that some columns are not hidden properly
2017-05-10 11:30:52 -07:00
Léo Lam
6185933d18
Config: Fix a formatting issue
...
Not sure why clang-format did not catch this on the lint builder, but
it definitely doesn't like the lines being too long here.
2017-05-10 17:56:09 +02:00
spycrab
4d4dc03801
Qt: Fix that some columns are not hidden properly
2017-05-10 11:04:21 +02:00
Leo Lam
f1f8beef25
Merge pull request #5397 from MerryMage/do-not-cast-derived-to-base
...
Config/Layer: Fix accidental cast of RecursiveSection to Section
2017-05-09 23:27:46 +02:00
Léo Lam
6b8cb2ee41
IOS/ES: Handle fake-signed tickets properly
...
Fake-signed tickets have a bogus common key index, in which case we
must assume and use the normal common key to decrypt contents.
2017-05-09 20:58:20 +02:00
spycrab
c8d0b647ac
Qt: Add controller (overview) window
2017-05-09 18:49:10 +02:00
Anthony
f8ca0901a7
Merge pull request #5395 from spycrab/qt_gamelist_columns
...
Qt: Bring Gamelist up to Wx standards
2017-05-09 08:31:31 -07:00