Admiral H. Curtiss
d0c11f76b5
Core/BootManager: Disable loading time emulation for Riivolution-patched games until we have proper emulation for that.
2021-10-24 00:09:07 +02:00
Admiral H. Curtiss
6394960f54
Core: Add ability to specify and launch a riivolution-modded game via a .json file.
2021-10-24 00:09:07 +02:00
Admiral H. Curtiss
fe242f79ee
Core: Implement Wii NAND path redirects for Riivolution savegame patches.
2021-10-24 00:09:07 +02:00
Admiral H. Curtiss
588c31acb6
RiivolutionPatcher: Ignore last two bits of offset in file patches to match console behavior.
2021-10-24 00:09:07 +02:00
Admiral H. Curtiss
6ec4af7ea4
RiivolutionPatcher: Load external files with a layer of indirection during the patching process to properly resolve the paths given in the XML.
...
This also may eventually allow loading patches from sources other than the 1:1 expected file structure host file system, such as memory or an archive file.
2021-10-24 00:09:07 +02:00
Admiral H. Curtiss
175f225ac1
DolphinQt: Add ability to start a game with Riivolution patches from the GUI.
2021-10-24 00:09:06 +02:00
Admiral H. Curtiss
783b180dc8
Core: Add RiivolutionPatcher to apply Riivolution-style patches to a game's file system and memory.
2021-10-24 00:09:06 +02:00
Admiral H. Curtiss
e26b59bab3
Core: Add RiivolutionParser to parse a Riivolution XML.
2021-10-24 00:09:06 +02:00
Admiral H. Curtiss
a4da56e5e6
CommonPaths: Add a Riivolution subfolder in Load.
2021-10-24 00:09:06 +02:00
Admiral H. Curtiss
09fc39e2e5
DiscIO: Add CreateDisc/WAD/Volume() overloads that take a BlobReader directly.
2021-10-24 00:09:05 +02:00
Admiral H. Curtiss
e3f1de023f
DiscIO/DirectoryBlob: Add a callback that allows patching the main.dol and FST of the game partition during blob construction.
2021-10-24 00:09:05 +02:00
Admiral H. Curtiss
00ef9f2b4f
DiscIO/DirectoryBlob: Allow constructing a DirectoryBlobReader from a VolumeDisc.
2021-10-24 00:09:05 +02:00
Admiral H. Curtiss
3a72a39efd
DiscIO/DirectoryBlob: Allow constructing a DirectoryBlobPartition from a VolumeDisc.
2021-10-24 00:09:00 +02:00
Admiral H. Curtiss
b1802f6daa
DiscIO/DirectoryBlob: Add a content source representing a run of padding bytes.
2021-10-23 23:51:23 +02:00
Admiral H. Curtiss
f8611f7139
DiscIO/DirectoryBlob: Add a content source that reads data from a DiscIO::Volume.
2021-10-23 16:51:45 +02:00
Admiral H. Curtiss
b7a9cc37b1
DiscIO/DirectoryBlob: Add ability to have an offset for a partition ContentSource.
2021-10-23 16:51:45 +02:00
Admiral H. Curtiss
a14436fe3f
DiscIO/DirectoryBlob: Add ability to have a start-of-file offset for a file ContentSource.
2021-10-23 16:51:45 +02:00
Admiral H. Curtiss
885e6690c5
DiscIO/DirectoryBlob: Add explanations for DiscContent members.
2021-10-23 16:51:44 +02:00
Admiral H. Curtiss
b988ab4441
DiscIO/DirectoryBlob: Consolidate functions that take data for ContentSource to just take a ContentSource.
2021-10-23 16:51:44 +02:00
Admiral H. Curtiss
7f57c24172
DiscIO/DirectoryBlob: Rename the vector-reference variant of DiscContentContainer::Add() to AddReference() to make it clearer at call sites that the given vector must remain in memory.
2021-10-23 16:51:44 +02:00
Admiral H. Curtiss
f972ddf32f
Common/FileUtil: Fix incorrect (32-bit) stat struct being used on Windows, which was hidden by a define in CommonFuncs.h.
2021-10-23 03:50:47 +02:00
Admiral H. Curtiss
6684e26ae2
DiscIO/DirectoryBlob: Fix swapped DiscContent comparison operators.
2021-09-21 08:01:21 +02:00
Admiral H. Curtiss
ad410009bb
Core/DiscIO: Extract disc and partition constants to DiscUtils.h.
2021-09-19 22:43:52 +02:00
Admiral H. Curtiss
bd92c29ef5
Core/CheatSearch: Avoid length underflow on new search.
2021-09-16 08:13:02 +02:00
Admiral H. Curtiss
c40e8ee3a8
Qt/CheatsManager: Show disabled AR and Gecko tabs when no game is running.
2021-09-16 08:01:40 +02:00
Admiral H. Curtiss
dd9047f7c5
Qt/GeckoCodeWidget: Disable functionality if no game id is given.
2021-09-16 08:01:40 +02:00
Admiral H. Curtiss
a4b1ea3d70
Qt/ARCodeWidget: Disable functionality if no game id is given.
2021-09-16 08:01:40 +02:00
Admiral H. Curtiss
aa2d089d1b
Qt/MenuBar: Allow opening Cheats Manager regardless of emulation state and configuration.
2021-09-16 08:01:26 +02:00
Admiral H. Curtiss
aee6e45386
Qt/CheatsManager: Let the 'Configure Dolphin' button shown in the Cheats Manager when Cheats are disabled actually open the settings.
2021-09-16 08:01:12 +02:00
Admiral H. Curtiss
55397b6d52
DolphinQt: Rewrite cheat search GUI.
2021-09-15 19:05:49 +02:00
Admiral H. Curtiss
f3346262d2
Core/CheatSearch: Implement cheat searching functionality.
2021-09-15 19:05:48 +02:00
Admiral H. Curtiss
f76aaf65f6
Common/FileUtil: Strip trailing path separator in ScanDirectoryTree().
2021-09-14 17:39:38 +02:00
Admiral H. Curtiss
06d41c53ce
DiscIO/DirectoryBlob: Handle reads between files.
2021-09-14 07:09:55 +02:00
Admiral H. Curtiss
788177a001
GameINI: Disable JIT branch following for Namco Museum to avoid major stuttering in Galaga Arrangement and Dig Dug Arrangement.
2021-09-11 05:27:07 +02:00
Admiral H. Curtiss
34992f52c7
PowerPC/JitCache: Clear valid_block bits for long invalidations.
2021-09-07 23:14:20 +02:00
Admiral H. Curtiss
f592565532
DSPHLE/AX: Reload resampling coefficients on savestate load if necessary.
2021-08-30 23:36:09 +02:00
Admiral H. Curtiss
a4d4dc82d4
DSPHLE/AX: Use in-class initialization.
2021-08-27 03:00:13 +02:00
Admiral H. Curtiss
83ba17fc25
DSPHLE: Set m_dsp_control to a consistent value in Initialize().
2021-08-25 23:10:16 +02:00
Admiral H. Curtiss
54125516bb
DSPHLE: Remove unused members.
2021-08-25 23:02:04 +02:00
Admiral H. Curtiss
f5cd17925a
PowerPC: Fix for calling InvalidateICacheLines() with a count of 1 causing a (harmless) second invalidation.
2021-08-19 22:54:34 +02:00
Admiral H. Curtiss
8b2f5d5006
Jit64: Optimize dcbx being called in a loop over a large memory region.
2021-08-17 02:38:00 +02:00
Admiral H. Curtiss
df1e59409b
PowerPC: Handle translation if range given to InvalidateICache spans multiple BAT or Page Table pages.
2021-08-13 21:23:12 +02:00
Admiral H. Curtiss
57037a69f9
PowerPC: Call InvalidateICacheLine() in InstructionCache::Invalidate() for clarity.
2021-08-12 19:27:25 +02:00
Admiral H. Curtiss
4afbd87188
PowerPC: Fast path in InvalidateICache is only valid if the address is 32-byte aligned.
2021-08-12 19:27:25 +02:00
Admiral H. Curtiss
116d1361d5
PowerPC: Let callers of JitCache_TranslateAddress determine whether the address was translated.
2021-08-09 18:25:35 +02:00
Admiral H. Curtiss
95fbd09691
PowerPC: Update variable name conventions and const-ness around calls to JitCache_TranslateAddress().
2021-08-09 01:25:04 +02:00
Admiral H. Curtiss
3296d2fc1f
PowerPC: Reorder members of TranslateAddressResult to reduce struct size.
2021-08-09 01:25:04 +02:00
Admiral H. Curtiss
e3a784ffba
PowerPC: Convert enum in TranslateAddressResult to enum class.
2021-08-07 00:07:46 +02:00
Admiral H. Curtiss
0e76dabbbb
Jit64: Always pass effective address to InvalidateICache() in dcbx.
2021-08-04 22:17:42 +02:00
Admiral H. Curtiss
eedae929b7
GameINI: Set safe texture cache in WarioWare: Smooth Moves for Writer's Block and Brain Age microgames.
2021-07-13 20:38:56 +02:00
Admiral H. Curtiss
c9e4489e17
Core/MMU: Fix inverted condition in HostIsInstructionRAMAddress().
2021-07-09 05:48:17 +02:00
Admiral H. Curtiss
c292351faa
Core/MMU: Add HostTryWrite*() functions.
2021-07-07 04:26:28 +02:00
Admiral H. Curtiss
b59fcae70a
Core/MMU: Add HostTryRead*() functions.
2021-07-07 04:26:28 +02:00
Admiral H. Curtiss
1183fb3d2d
VideoCommon/Fifo: Move SConfig::GetInstance() outside the GPU loop.
2021-06-23 23:52:26 +02:00
Admiral H. Curtiss
360d05fe21
AudioInterface: Initialize s_cpu_cycles_per_sample to a sane value.
2021-06-13 20:41:20 +02:00
Admiral H. Curtiss
c3560f033e
UPnP: Improve error messages on initialization failure.
2021-06-07 00:36:35 +02:00
Admiral H. Curtiss
441d304317
CheatsManager: Use game information directly from SConfig, and only recreate widgets if game changes.
2021-06-06 21:56:34 +02:00
Admiral H. Curtiss
414e0f4598
GeckoCodeWidget: Take game ID and revision directly instead of through GameFile.
2021-06-06 21:25:37 +02:00
Admiral H. Curtiss
1fbe56210a
ARCodeWidget: Take game ID and revision directly instead of through GameFile.
2021-06-06 21:23:17 +02:00
Admiral H. Curtiss
9fd16a93c5
NetPlay: Sync the EFB access tile size as an integer instead of a boolean.
2021-06-06 19:02:07 +02:00
Admiral H. Curtiss
4b784576d9
Core/Memmap: Don't try to map logical memory from inactive physical regions.
2021-03-02 18:41:33 +01:00
Admiral H. Curtiss
8199825c6f
Core/Memmap: Store and check which physical regions are actually mapped instead of relying on SConfig staying the same.
2021-03-02 18:41:33 +01:00
Admiral H. Curtiss
918f3d92e0
Core/Memmap: Give more detailed error messages if memory mapping fails.
2021-03-01 19:11:00 +01:00
Admiral H. Curtiss
22b300336a
Core/MemoryWatcher: Use appropriate memory read function in ChasePointer().
2021-02-24 19:02:30 +01:00
Admiral H. Curtiss
dc2d234284
GCMemcardUtils: Fix typo in comment.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
e47eb16641
GCMemcardManager: Detect attempt to import multiple save files with the same internal name.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
74b56a8c7f
GCMemcardManager: Add filename column.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
9acbe1aced
GCMemcardManager: Make columns sortable.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
42f4ee629b
GCMemcardManager: Make columns resizable by the user.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
7cf991bd8a
GCMemcardManager: Small cleanups.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
e00e6e1a8c
GCMemcardManager: Replace remaining panic alert with ModalMessageBox.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
daa76183ed
GCMemcard: Let ImportFile() take a Savefile instead of a direntry and a vector of blocks.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
c95f3cbb61
GCMemcard: Remove obsolete methods.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
645cb2f3d1
GCMemcardDirectory: Rewrite migration logic without ExportGci().
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
e8b99d3afd
GCMemcardManager: Rewrite file deleting logic to provide a better user experience.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
6e96f95432
GCMemcardManager: Rewrite file copying logic to provide a better user experience.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
08dccb8727
GCMemcardManager: Rewrite file importing logic to provide a better user experience.
2021-01-28 22:01:33 +01:00
Admiral H. Curtiss
3286d2df3d
Common/VariantUtil: Add 'overloaded' helper struct for use with std::variant.
2021-01-28 22:01:32 +01:00
Admiral H. Curtiss
87ae7ccd75
GCMemcardManager: Rewrite file exporting logic to provide a better user experience.
2021-01-28 22:01:32 +01:00
Admiral H. Curtiss
7bb7aa16c2
GCMemcardManager: Relayout file table for a more compact design.
2021-01-28 22:01:32 +01:00
Admiral H. Curtiss
ec4fc7171f
GCMemcardUtils: Implement GenerateFilename() as a cleaner variant of GCMemcard::GCI_FileName().
2021-01-28 22:01:30 +01:00
Admiral H. Curtiss
3e7f537a9d
GCMemcard: Implement ExportFile() to get a file on a card with a single method call.
2021-01-28 22:00:33 +01:00
Admiral H. Curtiss
9b14cc8ea2
GCMemcard: Implement utility functions to read saves from and write saves to files, without involving a memory card.
2021-01-28 22:00:28 +01:00
Admiral H. Curtiss
2932b5f8cd
Qt: Give better error messages when Wii save importing fails.
2021-01-02 17:46:12 +01:00
Admiral H. Curtiss
d9c686db30
WiiSave: Delete existing save, if any, before importing one.
2021-01-02 17:46:12 +01:00
Admiral H. Curtiss
700d53e00f
WiiSave: In Import(), make sure the TMD exists or can be reinstalled before allowing save to be imported.
2021-01-02 17:46:11 +01:00
Admiral H. Curtiss
46e4c17db3
WiiUtils: Add utility functions to handle prep-work for importing 'SD-card export' style Wii saves.
2021-01-02 17:46:11 +01:00
Admiral H. Curtiss
7abe1085e3
IOS/ES: Pass relevant caller title information to ImportTmd() and ExportTitleInit().
2020-12-31 17:13:46 +01:00
Admiral H. Curtiss
5bbd5fce2f
Common: Write PNGs in two steps to allow Unicode target paths.
2020-12-20 03:30:17 +01:00
Admiral H. Curtiss
f5170dc69b
Common/LinearDiskCache: Handle truncated shadercache files.
2020-12-19 19:09:33 +01:00
Admiral H. Curtiss
e91a347a07
Common/LinearDiskCache: Use unique_ptr instead of new/delete.
2020-12-19 19:09:33 +01:00
Admiral H. Curtiss
668b8d60c8
Core/AddressSpace: Return null accessors when no game is running to prevent out-of-bounds memory accesses.
2020-12-13 06:21:07 +01:00
Admiral H. Curtiss
3d8736f9d7
Update bundled libpng to version 1.6.37
2020-12-13 02:50:12 +01:00
Admiral H. Curtiss
324de7fa02
VideoCommon: Use Common::SavePNG() to write textures.
2020-11-26 23:55:05 +01:00
Admiral H. Curtiss
33c1a5b941
InputCommon: Use Common::SavePNG() to write images.
2020-11-26 23:55:05 +01:00
Admiral H. Curtiss
2de3b12e9d
Common: Add SavePNG() function that writes PNGs using the simplified libpng API.
2020-11-26 23:55:05 +01:00
Admiral H. Curtiss
11e226a91a
Qt/IOWindow: Remove Apply button.
2020-11-26 00:47:37 +01:00
Admiral H. Curtiss
334100509b
Qt/IOWindow: Show the current value of the expression.
2020-11-26 00:46:51 +01:00
Admiral H. Curtiss
ddfb8fa404
Qt/IOWindow: Apply expressions immediately so we can query the current value of the expression.
2020-11-26 00:45:31 +01:00
Admiral H. Curtiss
45d4746a5d
IOFile: Replace all fprintf string writing with calls to WriteString.
2020-11-25 22:11:21 +01:00