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
Douglas
3e1cc46523
Fix for Emulator Issue #10267 : Game list column sizes are being incorrectly calculated.
...
Default column width was being used for math related to automatic column sizing, in the case of COLUMN_SIZE the default width was -1 which resulted in an issue where an errant scrollbar would appear.
2017-05-08 17:40:42 -07:00
Jules Blok
3d304d6938
Merge pull request #5330 from Armada651/unicode-correctness
...
Unicode correctness
2017-05-09 01:18:38 +02:00
MerryMage
32d9428171
Config/Layer: Fix accidental cast of RecursiveSection to Section
2017-05-09 00:17:00 +01:00
spycrab
6bf7b5ff0f
Qt: Bring Gamelist up to Wx standards
2017-05-08 19:03:59 +02:00
Corwin McKnight
8112c736fe
Qt: Interface Pane
...
Adds the interface pane to Qt Settings. Very basic, just some UI
customization options.
2017-05-07 12:57:13 -07:00
Leo Lam
9f39fa2e13
Merge pull request #5380 from JosJuice/minor-text-fixes
...
Minor text fixes
2017-05-07 21:04:30 +02:00
JosJuice
994b4040bf
NetPlaySetupFrame: Remove spaces that shouldn't be present
2017-05-07 20:55:58 +02:00
JosJuice
b8721b6839
Unify memory breakpoint strings
...
The MemoryWindow.cpp strings should be the same as the
MemoryCheckDlg.cpp strings so that translators don't
have to translate very similar strings twice.
Also adding i18n comments. These strings are *very* easy
to misinterpret in my opinion.
2017-05-07 20:55:34 +02:00
Léo Lam
57f8520242
WX: Don't create data dir if it is missing
...
This is unsafe, because the NAND should not be accessed and messed with
while it is being used. In fact, this kind of inappropriate behaviour
will not be possible when we get NAND image support.
And even if there were no safety issue, there is still no reason
a *getter* function should *do* something that has lasting effects
on user data. GetWiiFSPath() should *just* return a path!
2017-05-07 18:56:54 +02:00
Léo Lam
eff8c1eb48
Merge pull request #5383 from JosJuice/getwiifspath-condition
...
ISOFile/GameFile: Correct GetWiiFSPath condition
2017-05-07 18:48:43 +02:00
Léo Lam
71400745cc
Merge pull request #5356 from sepalani/hle-app
...
HLE: Use a proper apploader OSReport
2017-05-07 18:45:58 +02:00
Léo Lam
18b1ee59ed
Merge pull request #5389 from leoetlino/delete-title
...
IOS/ES: Fix DeleteTitle to not use CNANDContentManager
2017-05-07 17:14:04 +02:00
Léo Lam
131aeec580
Boot_WiiWAD: Set the UID and GID on launch
...
This adds code to update the PPC's UID and GID, which fixes a
regression with the system menu. Ideally, we would simply rely on IOS's
ES_Launch here and not duplicate the logic here, but we cannot do that
properly until the direct WAD launch hack is dropped, *and* until the
IOS changes that would enable internal calls are ready.
Since this fixes a semi-important regression with managing saves from
the SM, and the duplication is not too terrible, I believe it is a good
idea to get this fixed right now to avoid affecting users too much.
I do plan to fix this properly in the future.
2017-05-07 17:02:36 +02:00
Léo Lam
3cdb8fd297
IOS/ES: Fix DeleteTitle to not use CNANDContentManager
...
* CNANDContentManager does things that are absolutely useless. In
particular, it parses the ticket, the TMD, reads contents, etc.
when we only need to remove the title directory.
* This means it will fail if the ticket cannot be found, when that
should not be the case.
* This also obviously caused DeleteTitle to be incredibly inefficient.
* We are already removing the title directory later in the function,
as CNANDContentManager does not even delete titles correctly.
DeleteTitle != DeleteTitleContents.
2017-05-07 16:20:41 +02:00
Léo Lam
cc5b5c15ac
IOS/ES: Fix a ticket validity check
2017-05-07 16:16:41 +02:00
Corwin McKnight
24657f557e
Qt: Port help menu items.
2017-05-07 03:47:10 -07:00
JosJuice
9b8089bb70
ISOFile: Simplify error handling in GetWiiFSPath
2017-05-07 09:28:20 +02:00
JosJuice
55960f7feb
ISOFile/GameFile: Correct GetWiiFSPath condition
...
This code was originally written when there only were three
possible types, but nowadays we also have the DOL/ELF type.
2017-05-07 09:27:20 +02:00
Sepalani
40c243df28
PPCAnalyst: Fix off by one instruction
2017-05-07 04:56:16 +01:00
Sepalani
93ba6aa9f2
PPCAnalyst: Function calls without link added
2017-05-07 04:55:36 +01:00
Sepalani
95d0a48759
PPCAnalyst: EvaluateBranchTarget improved
2017-05-07 04:55:36 +01:00
Mat M
ef4a1f0ec7
Merge pull request #5384 from leoetlino/disable
...
WX: Disable NAND import when emulation is running
2017-05-06 19:38:07 -04:00
Léo Lam
6426ea2b1a
WX: Disable NAND import when emulation is running
...
Oversight from the NAND import PR. Allowing this while Wii
emulation is running is a recipe for failure.
2017-05-07 01:30:44 +02:00
JosJuice
71d105e545
DolphinWX: Use title ID from ISOFile when possible
...
This skips creating volume objects, which can take a while.
2017-05-06 18:39:51 +02:00
JosJuice
40653a6607
NandPaths: Make .h function order match .cpp
2017-05-06 17:51:50 +02:00
JosJuice
36b9e3dd35
Don't duplicate code for getting paths based on title IDs
...
I've seen the expression (u32)(title_id >> 32), (u32)title_id
a few more times in my life than I would've liked to...
2017-05-06 17:45:08 +02:00
Léo Lam
f4179f45b4
Merge pull request #5373 from leoetlino/delete-ticket
...
IOS/ES: Fix the implementation of ES_DeleteTicket
2017-05-06 13:59:11 +02:00
Léo Lam
a24ad85463
Merge pull request #5332 from spycrab/wiimote_casts
...
Clean up Wiimote* code (comments, casts, underscore variable names)
2017-05-06 13:27:04 +02:00
spycrab
c3f435287e
Clean up Wiimote* code (comments, casts, variable names)
2017-05-06 12:44:56 +02:00
Markus Wick
b4aaf806ec
Merge pull request #5372 from JonnyH/WIP/powervr-fixes
...
Add a workaround for a PowerVR glsl compiler bug
2017-05-05 12:17:25 +02:00
Michael Maltese
b14466b7e3
Zelda-HLE: set state to waiting when replacing ucode
...
Part 2/2 of a fix for using multiple GBAs in Four Swords Adventures.
2017-05-05 02:25:42 -07:00
Michael Maltese
01cc36693a
Zelda-HLE: run pending commands when replacing ucode
...
Part 1/2 of a fix for using multiple GBAs in Four Swords Adventures.
2017-05-05 02:24:53 -07:00