Lioncash
ff47991967
core/cheat_engine: Make MemoryReadImpl and MemoryWriteImpl internally linked
These don't need to be visible outside of the translation unit, so they
can be enclosed within an anonymous namespace.
7 years ago
bunnei
04c8dde70c
Merge pull request #2232 from lioncash/transfer-memory
core/hle/kernel: Split transfer memory handling out into its own class
7 years ago
bunnei
3ee41ee7e2
Merge pull request #2221 from DarkLordZach/firmware-version
set_sys: Implement GetFirmwareVersion(2) for libnx hosversion
7 years ago
bunnei
25b08005a7
Merge pull request #2253 from lioncash/flags
Migrate off directly modifying CMAKE_* compilation-related flags directly
7 years ago
bunnei
a5edb8d391
Merge pull request #2280 from lioncash/nso
loader/nso: Minor refactoring
7 years ago
bunnei
b69517e9a1
Merge pull request #2279 from lioncash/cheat-global
file_sys/cheat_engine: Remove use of global system accessors
7 years ago
bunnei
fabddcb962
Merge pull request #2256 from bunnei/gpu-vmm
gpu: Rewrite MemoryManager based on the VMManager implementation.
7 years ago
bunnei
7aebbf35e7
Merge pull request #2277 from bunnei/fix-smo-transitions
Revert "Devirtualize Register/Unregister and use a wrapper instead."
7 years ago
Lioncash
0097cd25a8
loader/nso: Place translation unit specific functions into an anonymous namespace
Makes it impossible to indirectly violate the ODR in some other
translation unit due to these existing.
7 years ago
Lioncash
0d44c061fe
file_sys/cheat_engine: Silence truncation and sign-conversion warnings
7 years ago
Lioncash
b59b7084c7
file_sys/cheat_engine: Remove use of global system accessors
Instead, pass in the core timing instance and make the dependency
explicit in the interface.
7 years ago
Lioncash
e8791f39ae
loader/nso: Clean up use of magic constants
Now that the NSO header has the proper size, we can just use sizeof on
it instead of having magic constants.
7 years ago
Lioncash
be2b64e8bc
file_sys/patch_manager: Deduplicate NSO header
This source file was utilizing its own version of the NSO header.
Instead of keeping this around, we can have the patch manager also use
the version of the header that we have defined in loader/nso.h
7 years ago
Lioncash
cae60f2d1f
loader/nso: Fix definition of the NSO header struct
The total struct itself is 0x100 (256) bytes in size, so we should be
providing that amount of data.
Without the data, this can result in omitted data from the final loaded
NSO file.
7 years ago
Lioncash
782461221f
file_sys/patch_manager: Remove two magic values
These correspond to the NSOBuildHeader.
7 years ago
bunnei
245c751cbf
Merge pull request #2234 from lioncash/mutex
core/hle/kernel: Make Mutex a per-process class.
7 years ago
bunnei
adf0cd087e
Merge pull request #2274 from lioncash/include
core/memory: Remove unnecessary includes
7 years ago
bunnei
6c61263b5c
Revert "Devirtualize Register/Unregister and use a wrapper instead."
- Fixes graphical issues from transitions in Super Mario Odyssey.
7 years ago
bunnei
2589fb3ad9
Merge pull request #2275 from lioncash/memflags
kernel/vm_manager: Amend flag value for code data
7 years ago
bunnei
e71c2689c3
Merge pull request #2276 from lioncash/am
service/am: Add function table for IDebugFunctions
7 years ago
bunnei
92870ed060
Merge pull request #1933 from DarkLordZach/cheat-engine
file_sys: Implement parser and interpreter for game memory cheats
7 years ago
Lioncash
5af93ea994
service/am: Add function table for IDebugFunctions
We already have the service related stuff set up for this, however, it's
missing the function table.
7 years ago
Lioncash
60a98211a2
kernel/vm_manager: Rename CodeStatic/CodeMutable to Code and CodeData respectively
Makes it more evident that one is for actual code and one is for actual
data. Mutable and static are less than ideal terms here, because
read-only data is technically not mutable, but we were mapping it with
that label.
7 years ago
Lioncash
465f301ce0
kernel/vm_manager: Amend flag values for CodeMutable
This should actually be using the data flags, rather than the code
flags.
7 years ago
Lioncash
1b4128a12e
core/memory: Remove unnecessary includes
In 5840ce2950 , the page table construct
was moved to the common library (which utilized these inclusions). Since
the move, nothing requires these headers to be included within the
memory header.
7 years ago
bunnei
57835877df
Merge pull request #2260 from lioncash/sdl
input_common/sdl: Correct return values within GetPollers implementations
7 years ago
Lioncash
9d504a4f9b
common/bit_util: Fix bad merge duplicating the copy constructor
Introduced as a result of #2090 , we already define the copy constructor
further down below, so this isn't needed.
7 years ago
bunnei
2d7e3fe364
Merge pull request #2090 from FearlessTobi/port-4599
Port citra-emu/citra#4244 and citra-emu/citra#4599 : Changes to BitField
7 years ago
bunnei
6e446c50c2
Merge pull request #2262 from lioncash/enum
file_sys/content_archive: Amend name of Data_Unknown5 enum entry
7 years ago
bunnei
b8cb7c581f
Merge pull request #2273 from lioncash/guard
common/uint128: Add missing header guard
7 years ago
bunnei
51cdb0df88
memory_manager: Cleanup FindFreeRegion.
7 years ago
bunnei
c04b7bd60c
memory_manager: Use Common::AlignUp in public interface as needed.
7 years ago
Lioncash
af52b092ef
common/uint128: Add missing header guard
7 years ago
Lioncash
b39d1b1beb
common/uint128: Add missing top-file source text
7 years ago
bunnei
67e1cb154e
Merge pull request #2268 from lioncash/codeset
core/kernel: Migrate CodeSet to its own source files
7 years ago
bunnei
7521cd30d1
memory_manager: Bug fixes and further cleanup.
7 years ago
bunnei
bf01830258
memory: Check that core is powered on before attempting to use GPU.
- GPU will be released on shutdown, before pages are unmapped.
- On subsequent runs, current_page_table will be not nullptr, but GPU might not be valid yet.
7 years ago
bunnei
a0b5ed6846
maxwell_dma: Check for valid source in destination before copy.
- Avoid a crash in Octopath Traveler.
7 years ago
bunnei
bb6e007a63
memory_manager: Add protections for invalid GPU addresses.
- Avoid a crash in Xenoblade Chronicles 2.
7 years ago
bunnei
b34849e61a
gl_rasterizer_cache: Check that backing memory is valid before creating a surface.
- Fixes a crash in Puyo Puyo Tetris.
7 years ago
bunnei
fa405371ee
gpu: Rewrite virtual memory manager using PageTable.
7 years ago
bunnei
6f872bd580
gpu: Move GPUVAddr definition to common_types.
7 years ago
bunnei
aff4b0b50a
Merge pull request #2272 from lioncash/boost
common/CMakeLists: Amend boost dependency
7 years ago
Lioncash
67bf0f88c4
common/CMakeLists: Amend boost dependency
When #2247 was created, thread_queue_list.h was the only user of
boost-related code, however #2252 moved the page table struct into
common, which makes use of Boost.ICL, so we need to add the dependency
to the common library's link interface again.
7 years ago
bunnei
78b9ee4f6c
Merge pull request #2267 from FernandoS27/fix-2238
Fix crash caused by #2238 .
7 years ago
bunnei
0653cfa1a9
Merge pull request #2247 from lioncash/include
common/thread_queue_list: Remove unnecessary dependency on boost
7 years ago
bunnei
ceaf34e645
Merge pull request #2224 from lioncash/opus
hwopus: Leverage multistream API for decoding regular Opus packets
7 years ago
bunnei
d865dc4235
Merge pull request #2239 from FearlessTobi/port-4684
Port citra-emu/citra#4684 : "frontend: qt: fix a freeze where if you click on entry in the game list too fast, citra will hang"
7 years ago
Lioncash
912366764e
kernel/process: Make MapSegment lambda reference parameter const
The segment itself isn't actually modified.
7 years ago
Lioncash
70ce9f5767
kernel: Move CodeSet structure to its own source files
Given this is utilized by the loaders, this allows avoiding inclusion of
the kernel process definitions where avoidable.
This also keeps the loading format for all executable data separate from
the kernel objects.
7 years ago