bunnei
3edec585bc
hle: services: Use std::shared_ptr instead of copy by value.
6 years ago
bunnei
9ffdef96d9
kernel: transfer_memory: Properly reserve and reset memory region.
6 years ago
Zach Hilman
a0400ebc19
wait_object: Make wait behavior only require one object to signal.
- This was holdover from citra.
7 years ago
bunnei
900b370e13
am: Correct IPC object count mismatch.
6 years ago
bunnei
141c06ca8b
services: am: Clear events on PopOutData and PopInteractiveOutData.
6 years ago
bunnei
b10a96347f
am: Refactor IStorage interface.
6 years ago
bunnei
0d376ae49e
applets: software_keyboard: Signal state change on end of interactive session.
6 years ago
bunnei
b1bd8d852a
applets: software_keyboard: Minor cleanup.
6 years ago
bunnei
7bdaae11ac
services: prepo: Fix IPC interface with SaveReport/SaveReportWithUser.
6 years ago
bunnei
bc76fe3100
hle_ipc: Add error checking to read/write buffer access.
6 years ago
bunnei
72a8ed19c3
Revert "system_archive: Fix Korean and Chinese fonts"
6 years ago
Lioncash
11c5ae60e6
core/arm: Remove usage of global GetCurrentThread()
Now both CPU backends go through their referenced system instance to
obtain the current thread.
6 years ago
Lioncash
371f3ecf5d
kernel/physical_core: Make use of std::unique_ptr
shared_ptr was used in 8eb175481c due to a
misunderstanding of how the language generates move constructors and
move assignment operators.
If a destructor is user-provided, then the compiler won't generate the
move constructor and move assignment operators by default--they must be
explicitly opted into.
The reason for the compilation errors is due to the fact that the
language will fall back to attempting to use the copy constructor/copy
assignment operators if the respective move constructor or move
assignment operator is unavailable.
Given that we explicitly opt into them now, the the move constructor and
move assignment operators will be generated as expected.
6 years ago
Lioncash
6bc28ed1c8
core/cpu_manager: Remove unused includes
Nothing from these headers are used within this source file, so we can
remove them.
6 years ago
Lioncash
379194237d
kernel/physical_core: Remove unused kernel reference member variable
This isn't used within the class, so it can be removed to simplify the
overall interface.
While we're in the same area, we can simplify a unique_ptr reset() call.
6 years ago
ReinUsesLisp
48cb021c34
yuzu: Implement Vulkan frontend
Adds a Qt and SDL2 frontend for Vulkan. It also finishes the missing
bits on Vulkan initialization.
6 years ago
ReinUsesLisp
2ba5519371
settings: Add settings for graphics backend
6 years ago
ReinUsesLisp
e1da845841
core: Only wait for idle on gpu_core when it was initialized
This fixes crashes when a Vulkan device fails to initialize.
6 years ago
Fernando Sahmkow
8eb175481c
System: Address Feedback
6 years ago
Fernando Sahmkow
e9b557b38e
System: Correct PrepareReschedule.
6 years ago
Fernando Sahmkow
3230cfebb7
Kernel: Remove a few global instances from the kernel.
6 years ago
Fernando Sahmkow
0a5e0d4777
Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.
This commit instends on better naming the new purpose of this classes.
6 years ago
Fernando Sahmkow
fb17429a0b
ArmInterface: Delegate Exclusive monitor factory to exclusive monitor interfasce.
6 years ago
Fernando Sahmkow
1c2981f6da
Core: Refactor CPU Management.
This commit moves ARM Interface and Scheduler handling into the kernel.
6 years ago
bunnei
ebb840daaf
bsd: Stub several more functions.
- Required for Little Town Hero to boot further.
6 years ago
FearlessTobi
40c05f9028
Disable clang-format for font files
6 years ago
Fernando Sahmkow
a402d6e870
Kernel: Implement Physical Core.
6 years ago
fearlessTobi
b2f53cceb6
Input: UDP Client to provide motion and touch controls
An implementation of the cemuhook motion/touch protocol, this adds the
ability for users to connect several different devices to citra to send
direct motion and touch data to citra.
Co-Authored-By: jroweboy <jroweboy@gmail.com>
7 years ago
bunnei
dcd1617ee2
service: time: Implement ToPosixTimeWithMyRule.
- Used by Pokemon Mystery Dungeon.
6 years ago
Michael Scire
56137d471a
loader: provide default arguments (zero byte) to NSOs
Certain newer unity games (Terraria, Pokemon Mystery Dungeon) require
that the argument region be populated. Failure to do so results in
an integer underflow in argument count, and eventually an unmapped
read at 0x800000000. Providing this default fixes this.
Note that the behavior of official software is as yet unverified,
arguments-wise.
6 years ago
bunnei
c0a7b5ee4c
time: Fix month off-by-one error.
- Fixes timestamp in ZLA and Astral Chain saves.
6 years ago
FearlessTobi
6df85b466d
system_archive: Fix Chinese font
Adds the proper OSS font for the Chinese language.
6 years ago
FearlessTobi
4be062de19
system_archive: Fix Korean font
Fixes Korean fonts when using Open-source system archives.
6 years ago
Markus Wick
4042bd107b
core/memory: Create a special MapMemoryRegion for physical memory.
This allows us to create a fastmem arena within the memory.cpp helpers.
6 years ago
Markus Wick
b18f6d19e2
core/hle: Simplify PhysicalMemory usage in vm_manager.
6 years ago
Markus Wick
b8b3264c31
core/loaders: Simplify PhysicalMemory usage.
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.
6 years ago
CJBok
be576083dd
Moved analog direction logic to sdl_impl
6 years ago
CJBok
5af2a8b2f6
Corrected directional states sensitivity
6 years ago
Markus Wick
2049ebc50e
core/kernel: Fix GetTotalPhysicalMemoryUsed.
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 b8ccd49d77
6 years ago
CJBok
57998ae780
hid: Fix analog sticks directional states
6 years ago
bunnei
18e502d636
service: time: Implement GetStandardLocalSystemClock.
6 years ago
bunnei
940ed35ee2
time: Remove overflow error checking (currently breaks ADO builds).
6 years ago
bunnei
2fef8d9feb
service: time: Implement GetClockSnapshotFromSystemClockContext.
6 years ago
bunnei
0d1c9fe2a9
service: time: Implement IsStandardNetworkSystemClockAccuracySufficient.
6 years ago
bunnei
756c19b448
system_archive: Add a basic HLE implementation for time zone binary.
6 years ago
bunnei
ac22daaf4f
service: time: Rewrite implementation of glue services.
6 years ago
bunnei
9431286523
core: Initialize several structs that make use of Common::UUID.
6 years ago
bunnei
cbaf3b3c40
service: vi: Implement CloseLayer.
- Needed for Undertale.
6 years ago
ReinUsesLisp
9328c4be0b
yuzu: Remove Maxwell debugger
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.
6 years ago
Markus Wick
f74d95547e
core/memory + arm/dynarmic: Use a global offset within our arm page table.
This saves us two x64 instructions per load/store instruction.
TODO: Clean up our memory code. We can use this optimization here as well.
6 years ago