aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2020-01-19Merge pull request #3271 from bunnei/time-rewritebunnei
service: time: Rewrite implementation of glue services.
2020-01-19system_archive: Fix Chinese fontFearlessTobi
Adds the proper OSS font for the Chinese language.
2020-01-19system_archive: Fix Korean fontFearlessTobi
Fixes Korean fonts when using Open-source system archives.
2020-01-18core/memory: Create a special MapMemoryRegion for physical memory.Markus Wick
This allows us to create a fastmem arena within the memory.cpp helpers.
2020-01-18core/hle: Simplify PhysicalMemory usage in vm_manager.Markus Wick
2020-01-18core/loaders: Simplify PhysicalMemory usage.Markus Wick
It is currently a std::vector, however we might want to replace it with a more fancy allocator. So we can't use the C++ iterators any more.
2020-01-15Moved analog direction logic to sdl_implCJBok
2020-01-14Corrected directional states sensitivityCJBok
2020-01-11core/kernel: Fix GetTotalPhysicalMemoryUsed.Markus Wick
module._memory was already moved over to a new shared_ptr. So code_memory_size was not increased at all. This lowers the heap space and so saves a bit of memory, usually between 50 to 100 MB. This fixes a regression of c0a01f3adc466d07fc27020048e82cca60988970
2020-01-09hid: Fix analog sticks directional statesCJBok
2020-01-07Merge pull request #3272 from bunnei/vi-close-layerbunnei
service: vi: Implement CloseLayer.
2020-01-06Merge pull request #3261 from degasus/page_tablebunnei
core/memory + arm/dynarmic: Use a global offset within our arm page table.
2020-01-06Merge pull request #3257 from degasus/no_busy_loopsbunnei
video_core: Block in WaitFence.
2020-01-05Merge pull request #2945 from FernandoS27/fix-bcatbunnei
nifm: Only return that there's an internet connection when there's a BCATServer
2020-01-04service: time: Implement GetStandardLocalSystemClock.bunnei
2020-01-04time: Remove overflow error checking (currently breaks ADO builds).bunnei
2020-01-04service: time: Implement GetClockSnapshotFromSystemClockContext.bunnei
2020-01-04service: time: Implement IsStandardNetworkSystemClockAccuracySufficient.bunnei
2020-01-04system_archive: Add a basic HLE implementation for time zone binary.bunnei
2020-01-04service: time: Rewrite implementation of glue services.bunnei
2020-01-04core: Initialize several structs that make use of Common::UUID.bunnei
2020-01-04service: vi: Implement CloseLayer.bunnei
- Needed for Undertale.
2020-01-03Merge pull request #3247 from FernandoS27/remap-fixbunnei
NvServices: Correct Ioctl Remap.
2020-01-02yuzu: Remove Maxwell debuggerReinUsesLisp
This was carried from Citra and wasn't really used on yuzu. It also adds some runtime overhead. This commit removes it from yuzu's codebase.
2020-01-01core/memory + arm/dynarmic: Use a global offset within our arm page table.Markus Wick
This saves us two x64 instructions per load/store instruction. TODO: Clean up our memory code. We can use this optimization here as well.
2019-12-30video_core: Block in WaitFence.Markus Wick
This function is called rarely and blocks quite often for a long time. So don't waste power and let the CPU sleep. This might also increase the performance as the other cores might be allowed to clock higher.
2019-12-25NvServices: Correct Ioctl Remap.Fernando Sahmkow
This commit corrects a padding value in Ioctl Remap that was actually an offset to the mapping address.
2019-12-12Merge pull request #3214 from lioncash/svc-funcbunnei
kernel/svc: Amend function signature of SignalProcessWideKey
2019-12-11Kernel: Correct behavior of Address Arbiter threads. (#3165)Fernando Sahmkow
* Kernel: Correct behavior of Address Arbiter threads. This corrects arbitration threads to behave just like in Horizon OS. They are added into a container and released according to what priority they had when added. Horizon OS does not reorder them if their priority changes. * Kernel: Address Feedback.
2019-12-11kernel/svc: Correct function signature of SignalProcessWideKeyLioncash
This function doesn't actually return a result code, so we can amend the signature of it to match.
2019-12-10Merge pull request #3201 from lioncash/dumpbunnei
kernel/svc: Provide implementations for svcDumpInfo/svcDumpInfoNew
2019-12-07kernel: Remove unnecessary includesLioncash
Over the course of the changes to the kernel code, a few includes are no longer necessary, particularly with the change over to std::shared_ptr from Boost's intrusive_ptr.
2019-12-07kernel/svc: Provide implementations for svcDumpInfo/svcDumpInfoNewLioncash
These are fairly trivial to implement, we can just do nothing. This also provides a spot for us to potentially dump out any relevant info in the future (e.g. for debugging purposes with homebrew, etc). While we're at it, we can also correct the names of both of these supervisor calls.
2019-12-05CpuCore: Clear exclusive state after doing a run in dynarmic.Fernando Sahmkow
This commit corrects an error in which a Core could remain with an exclusive state after running, leaving space for possible race conditions between changing cores.
2019-12-02telemetry_session: Report renderer backendReinUsesLisp
We only have OpenGL as an option for now. Hardcode the entry.
2019-12-02telemetry_session: Use temporary to avoid writing the same enumReinUsesLisp
2019-11-28kernel: Implement a more accurate IPC dispatch.bunnei
2019-11-28Merge pull request #3169 from lioncash/memorybunnei
core/memory: Deglobalize memory management code
2019-11-28Merge pull request #3171 from lioncash/internal-linkbunnei
filesys/romfs: Make ProcessFile and ProcessDirectory internally linked
2019-11-28patch_manager: Adds check for disabled cheats to prevent them from being ↵Morph
enabled (#3178) * Adds check for disabled cheats to prevent them from being added to the CheatList * Address feedback
2019-11-27Merge pull request #3170 from lioncash/enumbunnei
file_sys/directory: Make EntryType an enum class
2019-11-27filesys/romfs: Remove unused includesLioncash
These inclusions aren't used at all within the public interface, so they can be removed.
2019-11-27filesys/romfs: Make ProcessFile and ProcessDirectory internally linkedLioncash
These functions aren't used outside of this file, so we can place them within an anonymous namespace.
2019-11-27file_sys/directory: Make EntryType an enum classLioncash
This can trivially be an enum class rather than a regular enum, making it more strongly typed.
2019-11-26core/memory; Migrate over SetCurrentPageTable() to the Memory classLioncash
Now that literally every other API function is converted over to the Memory class, we can just move the file-local page table into the Memory implementation class, finally getting rid of global state within the memory code.
2019-11-26core/memory: Migrate over GetPointerFromVMA() to the Memory classLioncash
Now that everything else is migrated over, this is essentially just code relocation and conversion of a global accessor to the class member variable. All that remains is to migrate over the page table.
2019-11-26core/memory: Migrate over Write{8, 16, 32, 64, Block} to the Memory classLioncash
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.
2019-11-26core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory classLioncash
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.
2019-11-26core/memory: Migrate over ZeroBlock() and CopyBlock() to the Memory classLioncash
These currently aren't used anywhere in the codebase, so these are very trivial to move over to the Memory class.
2019-11-26core/memory: Migrate over RasterizerMarkRegionCached() to the Memory classLioncash
This is only used within the accelerated rasterizer in two places, so this is also a very trivial migration.