summaryrefslogtreecommitdiffstats
path: root/src/core/memory (follow)
Commit message (Collapse)AuthorAgeFilesLines
* CMakeLists: Specify -Wextra on linux buildsLioncash2020-04-161-2/+3
| | | | | | | | | | | Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.
* Core: Set all hardware emulation constants in a single file.Fernando Sahmkow2020-02-121-1/+2
|
* core/memory: Migrate over Write{8, 16, 32, 64, Block} to the Memory classLioncash2019-11-271-1/+1
| | | | | | | | | The Write functions are used slightly less than the Read functions, which make these a bit nicer to move over. The only adjustments we really need to make here are to Dynarmic's exclusive monitor instance. We need to keep a reference to the currently active memory instance to perform exclusive read/write operations.
* core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory classLioncash2019-11-272-5/+4
| | | | | | | | | | | | | | With all of the trivial parts of the memory interface moved over, we can get right into moving over the bits that are used. Note that this does require the use of GetInstance from the global system instance to be used within hle_ipc.cpp and the gdbstub. This is fine for the time being, as they both already rely on the global system instance in other functions. These will be removed in a change directed at both of these respectively. For now, it's sufficient, as it still accomplishes the goal of de-globalizing the memory code.
* core_timing: Use better reference tracking for EventType. (#3159)bunnei2019-11-272-2/+3
| | | | | | | * core_timing: Use better reference tracking for EventType. - Moves ownership of the event to the caller, ensuring we don't fire events for destroyed objects. - Removes need for unique names - we won't be using this for save states anyways.
* Merge pull request #2992 from lioncash/dmntbunnei2019-10-181-2/+2
|\ | | | | dmnt_cheat_vm: Correct register Restore and ClearRegs behavior
| * dmnt_cheat_vm: Correct register Restore and ClearRegs behaviorLioncash2019-10-181-2/+2
| | | | | | | | | | Previously these were performing the same behavior as the Save and ClearSaved opcode types.
* | core/memory/cheat_engine: Resolve -Wreorder warningsLioncash2019-10-171-4/+3
|/ | | | | Amends the initializer lists to be ordered in the same manner that they're declared within the class.
* dmnt_cheat_vm: Default initialize structure valuesZach Hilman2019-09-222-87/+87
|
* dmnt_cheat_vm: Make Cheat VM compliant to code styleZach Hilman2019-09-223-868/+861
|
* cheat_engine: Move to memory and strip VMZach Hilman2019-09-222-0/+320
| | | This is to go with the Atmosphere VM port, now it just contains the callbacks needed for the interface between DmntCheatVm and yuzu, along with the cheat parsers.
* memory: Port Atmosphere's DmntCheatVmZach Hilman2019-09-223-0/+1598
This was done because the current VM contained many inaccuracies and this also allows cheats to have identical behavior between hardware and yuzu.