bunnei
3396730b85
hle: nvflinger: Move PixelFormat to its own header.
4 years ago
bunnei
7c04c18560
hle: nvflinger: Add implementation for GraphicBuffer class.
4 years ago
bunnei
d5d04d5684
hle: nvflinger: Add implementation for Fence class.
4 years ago
bunnei
fbd0e594ba
hle: nvflinger: Add implementation for Rect class.
4 years ago
bunnei
89a97915a8
Revert "dynarmic: Reduce size of code caches"
4 years ago
Morph
f7d582a655
applets/swkbd: Split software keyboard initialization
Since the CalcArg struct has been updated with a new size and fields, we have to split the initialization of the keyboard into multiple functions.
This also adds support for parsing the new CalcArg struct used by updated versions of Monster Hunter Rise.
4 years ago
Morph
07954ef117
applets/swkbd: Add new inline software keyboard types
These were added in newer firmware versions.
4 years ago
Morph
3b6c02f774
applets/mii: Remove unused include
4 years ago
Morph
94be8a907d
applets/mii: Remove frontend parameters
These are unused for now as we do not support a frontend implementation.
4 years ago
Morph
67bdfcb7ff
applets/mii: Cleanup MiiEdit applet implementation
This also enables proper support for MiiEdit applets which are used in games with firmware versions prior to 10.2.0 by handling the 2 different versions of applet inputs and outputs.
4 years ago
Morph
d91788fe38
applets/mii: Cleanup MiiEdit applet types
4 years ago
Morph
061eceaf0d
applets/mii: Move MiiEdit applet types into its own file
4 years ago
Morph
6e2ff19bc7
service: Move mii enums and structs into its own file
Moves these into types.h, since other files also make use of these types.
4 years ago
Morph
a8663c9f5c
applets: Rename Mii to MiiEdit
4 years ago
ameerj
f9709bb9e9
general: Fix clang/gcc build errors
4 years ago
ameerj
e70b4f3fc5
common: Reduce unused includes
4 years ago
ameerj
22e01068e1
core: Reduce unused includes
4 years ago
ameerj
1967757627
general: Reduce core.h includes
4 years ago
Morph
c2a970b67d
KHandleTable: Optimize table entry layout
Since the handle type is not being used, we can reduce the amount of space each entry takes up by 4 bytes.
4 years ago
Valeri
bbf69903e9
bsd: Allow inexact match for address length in AcceptImpl
Minecraft passes in zero for length, but this should account for all possible cases
4 years ago
bunnei
1494a66aa3
core: hle: kernel: init_slab_setup: Move CalculateSlabHeapGapSize to global namespace.
4 years ago
bunnei
8b109f8a69
core: hle: kernel: Allocate dummy threads on host thread storage.
- Fixes a crash where on subsequent boots, long-lived host threads would have their dummy threads freed.
4 years ago
bunnei
18baef2ec9
core: hle: kernel: Downgrade dangling objects warning to debug.
- It is not impossible to leak kernel objects, so this is not really any issue anymore (albeit, still interesting).
4 years ago
bunnei
58b39c8ad8
core: hle: kernel: Make object list container global and ensure it is reset on each emulation session.
4 years ago
bunnei
29924a999e
core: hle: kernel: Remove server session tracking.
- These are now allocated/managed by emulated memory, so we do not need to track and free them on shutdown.
4 years ago
bunnei
b7535cd853
core: hle: kernel: k_process: Remove handle table finalize, reset page table.
4 years ago
bunnei
2b881f4ccc
core: hle: kernel: k_process: Implement thread local storage accurately.
4 years ago
bunnei
c8dba7c578
core: hle: kernel: k_page_table: Add implementations of MapPages, UnmapPages, and FindFreeArea for TLS.
4 years ago
bunnei
cb294300ea
core: hle: kernel: k_slab_heap: Refresh to use guest allocations.
4 years ago
bunnei
4b022badf0
core: hle: kernel: Update init_slab_heap, use device memory, and add KThreadLocalPage and KPageBuffer.
- Refreshes our slab initialization code to latest known behavior.
- Moves all guest kernel slabs into emulated device memory.
- Adds KThreadLocalPage and KPageBuffer, which we will use for accurate TLS management.
4 years ago
bunnei
8e8d8724a2
core: hle: kernel: k_page_buffer: Add KThreadLocalPage primitive.
4 years ago
bunnei
f92568936a
core: hle: kernel: k_page_buffer: Add KPageBuffer primitive.
4 years ago
bunnei
84ced13966
core: hle: kernel: k_thread: Ensure host Fiber is freed.
4 years ago
bunnei
4aa9e8543d
core: hle: kernel: k_server_session: Ensure SessionRequestManager is freed.
4 years ago
bunnei
dfbf03438f
core: hle: service: kernel_helpers: Use system resource limit.
4 years ago
bunnei
c0a2ae3186
core: hle: service: sm: Fix KPort reference count.
4 years ago
bunnei
c5516b1800
core: hle: kernel: k_thread: Update to reflect tree changes.
4 years ago
bunnei
8421193857
core: hle: kernel: Use weak_ptr where possible for SessionRequestHandler and SessionRequestManager.
4 years ago
bunnei
cbf7c2eb40
core: hle: kernel: k_memory_layout: Update kernel slab memory sizes.
4 years ago
bunnei
33c5eca64c
core: hle: kernel: svc_types: Add ThreadLocalRegionSize.
4 years ago
bunnei
bb2c956cf9
core: hle: kernel: k_condition_variable: Update to reflect tree changes.
4 years ago
bunnei
075ae485b1
core: hle: kernel: k_address_arbiter: Update to reflect tree changes.
4 years ago
Merry
eb30b2382a
dynarmic: Reduce size of code caches
4 years ago
bunnei
86eaedbf19
hle: service: ldr: Use deterministic addresses when mapping NROs.
- Instead of randomization, choose in-order addresses for where to map NROs into memory.
- This results in predictable behavior when debugging and consistent behavior when reproducing issues.
4 years ago
bunnei
9dd48f8f89
hle: kernel: KPageTable: Improve implementations of MapCodeMemory and UnmapCodeMemory.
- This makes these functions more accurate to the real HOS implementations.
- Fixes memory access issues in Super Smash Bros. Ultimate that occur when un/mapping NROs.
4 years ago
lat9nq
e3f8340bec
emu_window: Create a way to Cancel the exit of a Scoped
If a GraphicsContext is destroyed before its Scoped is destroyed, this
causes a crash as the Scoped tries to call a method in the destroyed
context on exit.
Add a way to Cancel the call when we know that calling the
GraphicsContext will not work.
4 years ago
lat9nq
7df809b8b1
core: Don't shutdown a null GPU
When CreateGPU fails, yuzu would try and shutdown the GPU instance
regardless of whether any instance was actually created.
Check for nullptr before calling its methods to prevent a crash.
4 years ago
BytesGalore
8f530cbb09
loader: log the type of mismatching file-extension
4 years ago
german77
9188dfafc4
applet: mii: Simple implementation of mii applet
4 years ago
bunnei
82ca8230ad
hle: kernel: Re-create memory layout at initialization.
- As this can only be derived once.
4 years ago