summaryrefslogtreecommitdiff
path: root/src/core/memory
AgeCommit message (Collapse)Author
2025-01-14Revert incorrect copyright attribution for non-contributed filesZephyron
- In commit b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785, the copyright header was updated to include "Citron Homebrew Project" across multiple files, regardless of whether any contributions were made. - This commit removes the incorrect attribution and reverts the copyright header to its previous state. - Copyright attribution should only be added when meaningful contributions have been made to the file. - This commit ensures proper compliance with copyright standards and maintains correct attribution to the respective contributors. - Special thanks to Tachi for pointing out the need for these corrections and ensuring that proper attribution practices are followed.
2024-12-31chore: update project references and add Citron copyrightZephyron
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
2024-02-19scope_exit: Make constexprFearlessTobi
Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
2024-02-17dmnt: cheats: Fix valid address rangegerman77
2024-02-09Merge pull request #12927 from german77/cheat-pauseliamwhite
dmnt: cheat: Add pause and resume support
2024-02-06dmnt: cheat: Invalidate cache on memory writesNarr the Reg
2024-02-05dmnt: cheat: Add pause and resume supportgerman77
2024-02-05dmnt: cheats: Silence memory errorsgerman77
2024-02-04dmnt: cheats: Update cheat vm to latest versiongerman77
2024-01-05hid_core: Move hid to it's own subprojectNarr the Reg
2023-12-23core_timing: remove user data valueLiam
2023-12-14core: Make sure npad is initializedNarr the Reg
2023-11-20service: hid: Create appropriate hid resourcesNarr the Reg
2023-11-15service: hid: Split hid.cpp into individual interfacesNarr the Reg
2023-10-21cheats: Clamp cheat names without failinggerman77
2023-09-13cheat_engine: Remove uncaught usage of stoullat9nq
2023-07-14kernel: reduce page table region checkingLiam
2023-07-14k_process: PageTable -> GetPageTableLiam
2023-03-23memory: rename global memory references to application memoryLiam
2023-03-22kernel: use KTypedAddress for addressesLiam
2023-03-12kernel: convert KProcess to new styleLiam
2023-02-21cheat_engine: add check for hid initializationLiam
2023-02-13general: rename CurrentProcess to ApplicationProcessLiam
2022-11-20dmnt:cht: fix copy-paste errorLiam
2022-07-10PRKelebek1
2022-07-10Rework CoreTimingKelebek1
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-11-29npad: Return NpadButton in GetAndResetPressStateMorph
We were previously truncating this to a u32 as there were no known buttons that used the full 64 bits of this type. Fix this now that we know they are used.
2021-11-04general: Get the current process program id directly from the systemMorph
This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
2021-11-04general: Rename GetTitleID to GetProgramIDMorph
2021-11-03core: Remove unused includesameerj
2021-05-16core: Make variable shadowing a compile-time errorLioncash
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
2021-05-05hle: kernel: Rename Process to KProcess.bunnei
2021-05-03core: Resolve misc cases of variable shadowingLioncash
Resolves shadowing warnings that aren't in a particularly large subsection of core. Brings us closer to turning -Wshadow into an error. All that remains now is for cases in the kernel (left untouched for now since a big change by bunnei is pending), and a few left over in the service code (will be tackled next).
2021-02-18hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei
2020-10-13core/CMakeLists: Make some warnings errorsLioncash
Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.
2020-09-15cheat_engine: Convert ExtractName into a non-template functionLioncash
We don't need to create two separate instantiations of the same code, we can simply make the character template argument a regular function parameter.
2020-09-15cheat_engine: Remove unnecessary system argument to CheatParser's Parse functionLioncash
This isn't used within the function at all in any implementations, so we can remove it entirely.
2020-08-14Merge pull request #4495 from lioncash/convRodrigo Locatti
cheat_engine: Resolve implicit bool->u64 conversion
2020-08-06cheat_engine: Resolve implicit bool->u64 conversionLioncash
We can just return zero here.
2020-08-06cheat_engine: Make use of designated initializersLioncash
Same behavior, but makes the member being assigned obvious.
2020-08-03dmnt_cheat_vm: Make use of designated initializersLioncash
Allows for more compact code.
2020-07-27core_timing: Make use of uintptr_t to represent user_dataLioncash
Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly.
2020-07-18Merge pull request #4348 from lioncash/nanobunnei
core_timing: Make usage of nanoseconds more consistent in the interface
2020-07-15core_timing: Make TimedCallback take std::chrono::nanosecondsLioncash
Enforces our desired time units directly with a concrete type.
2020-07-15core_timing: Make use of std::chrono with ScheduleEventLioncash
2020-07-15clang-formatVolcaEM
2020-07-15dmnt_cheat_vm: Implement opcode 0xC3 (ReadWriteStaticRegister)VolcaEM
This was based on Atmosphére's DMNT Cheat VM: - https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.hpp - https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.cpp From Atmosphére's documentation: "Code type 0xC3 reads or writes a static register with a given register" There are now only two remaining opcodes to implement (PauseProcess and BreakProcess) This is untested because I don't have any experience in testing cheats on yuzu
2020-06-27General: Recover Prometheus project from harddrive failure Fernando Sahmkow
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
2020-04-17memory: cheat_engine: Updates for new VMM.bunnei