Zach Hilman
7a547b9342
wait_object: Make wait behavior only require one object to signal.
- This was holdover from citra.
7 years ago
bunnei
3a0c1e79f8
am: Correct IPC object count mismatch.
6 years ago
bunnei
77da74e17a
services: am: Clear events on PopOutData and PopInteractiveOutData.
6 years ago
bunnei
84e895cdd6
am: Refactor IStorage interface.
6 years ago
bunnei
3557fa25d0
applets: software_keyboard: Signal state change on end of interactive session.
6 years ago
bunnei
be5fcffb89
applets: software_keyboard: Minor cleanup.
6 years ago
bunnei
2245c24e21
services: prepo: Fix IPC interface with SaveReport/SaveReportWithUser.
6 years ago
bunnei
9751ccc5e0
hle_ipc: Add error checking to read/write buffer access.
6 years ago
bunnei
91b0a3f799
Revert "system_archive: Fix Korean and Chinese fonts"
6 years ago
Lioncash
472319e573
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
2de2bb980e
kernel/physical_core: Make use of std::unique_ptr
shared_ptr was used in 2d1984c20c 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
16e7b7b83d
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
51927bc9dc
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
f92cbc5501
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
788d57d723
settings: Add settings for graphics backend
6 years ago
ReinUsesLisp
e651e54b85
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
2d1984c20c
System: Address Feedback
6 years ago
Fernando Sahmkow
de4b01f75d
System: Correct PrepareReschedule.
6 years ago
Fernando Sahmkow
a1630ab53e
Kernel: Remove a few global instances from the kernel.
6 years ago
Fernando Sahmkow
e4a1ead897
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
450341b397
ArmInterface: Delegate Exclusive monitor factory to exclusive monitor interfasce.
6 years ago
Fernando Sahmkow
4d6a86b03f
Core: Refactor CPU Management.
This commit moves ARM Interface and Scheduler handling into the kernel.
6 years ago
bunnei
2a822f3378
bsd: Stub several more functions.
- Required for Little Town Hero to boot further.
6 years ago
FearlessTobi
845a5dbca9
Disable clang-format for font files
6 years ago
Fernando Sahmkow
ab89ced244
Kernel: Implement Physical Core.
6 years ago
fearlessTobi
ac3690f205
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>
6 years ago
bunnei
ed76c71319
service: time: Implement ToPosixTimeWithMyRule.
- Used by Pokemon Mystery Dungeon.
6 years ago
Michael Scire
5a7eecc3ad
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
7113236b30
time: Fix month off-by-one error.
- Fixes timestamp in ZLA and Astral Chain saves.
6 years ago
FearlessTobi
4e9331f45d
system_archive: Fix Chinese font
Adds the proper OSS font for the Chinese language.
6 years ago
FearlessTobi
999e3f89b9
system_archive: Fix Korean font
Fixes Korean fonts when using Open-source system archives.
6 years ago
Markus Wick
56672b8c98
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
55103da066
core/hle: Simplify PhysicalMemory usage in vm_manager.
6 years ago
Markus Wick
7e94e544f4
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
635deb70d4
Moved analog direction logic to sdl_impl
6 years ago
CJBok
231d9c10f3
Corrected directional states sensitivity
6 years ago
Markus Wick
c76ffa5019
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 c0a01f3adc
6 years ago
CJBok
ae7fd01e38
hid: Fix analog sticks directional states
6 years ago
bunnei
be5c149d37
service: time: Implement GetStandardLocalSystemClock.
6 years ago
bunnei
361285add9
time: Remove overflow error checking (currently breaks ADO builds).
6 years ago
bunnei
a4e840181c
service: time: Implement GetClockSnapshotFromSystemClockContext.
6 years ago
bunnei
fab2607c6b
service: time: Implement IsStandardNetworkSystemClockAccuracySufficient.
6 years ago
bunnei
4414640285
system_archive: Add a basic HLE implementation for time zone binary.
6 years ago
bunnei
78f977c980
service: time: Rewrite implementation of glue services.
6 years ago
bunnei
5135b74179
core: Initialize several structs that make use of Common::UUID.
6 years ago
bunnei
64c5631579
service: vi: Implement CloseLayer.
- Needed for Undertale.
6 years ago
ReinUsesLisp
0d6d8129c4
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
0986caa8d8
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
Markus Wick
cb9dd01ffd
video_core: Block in WaitFence.
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.
6 years ago
Fernando Sahmkow
a5bb1ac6e3
NvServices: Correct Ioctl Remap.
This commit corrects a padding value in Ioctl Remap that was actually an
offset to the mapping address.
6 years ago