James Rowe
e9f60a87fe
Merge pull request #3002 from Dragios/nwm-cmdhdr-fix
Change command header in nwm::UDS Initialize function
8 years ago
Dragios
cefb2e7745
Change command header in nwm::UDS Initialize function
8 years ago
Sebastian Valle
3fb50166a9
Merge pull request #2991 from Subv/getpointer
Remove more usages of GetPointer.
8 years ago
Sebastian Valle
66150505dc
Merge pull request #2975 from shinyquagsire23/archive-ncch-container-and-override
file_sys/archive_ncch: use NCCHs/.apps instead of .romfs files, NCCH section override
8 years ago
Sebastian Valle
a19944b9eb
Merge pull request #2953 from Subv/applet_launch
HLE/APT: Always set up the APT parameter when starting a library applet.
8 years ago
Subv
c6304fc50e
SVC: Removed GetPointer usage in the GetResourceLimit functions.
8 years ago
Subv
62e3520792
SVC: Remove GetPointer usage in CreatePort.
8 years ago
Subv
5768c55104
SVC: Replace GetPointer usage with ReadCString in ConnectToPort.
8 years ago
Subv
f08872822c
SVC: Replace GetPointer usage with ReadBlock in OutputDebugString.
8 years ago
Subv
690b21012d
SVC: Replace GetPointer usage with Read32 in ReplyAndReceive.
8 years ago
Subv
6fd20a0595
SVC: Replace GetPointer usage with Read32 in WaitSynchronizationN.
8 years ago
Subv
8226539902
Memory: Remove all GetPointer usages from the GDB stub.
8 years ago
bunnei
798268897e
Merge pull request #2985 from huwpascoe/pica_reg
Extracted the attribute setup and draw commands into their own functions
8 years ago
Huw Pascoe
e38656565d
Extracted the attribute setup and draw commands into their own functions
8 years ago
bunnei
14389f5d6d
Merge pull request #2977 from Subv/shmem_create
SharedMemory: Don't take over and unmap the source memory block when creating a shared memory, just reference it
8 years ago
James Rowe
c97e36c02a
Merge pull request #2982 from MerryMage/lazy-macos-opt
macOS: Build x86_64h slice
8 years ago
Subv
25a5ce9e75
Kernel/SharedMemory: Don't take over and unmap the source memory block when creating a shared memory, just reference it.
Also reference the right offset into the backing block for the requested address.
8 years ago
MerryMage
6186f88b54
macOS: Build x86_64h slice
This commit produces a fat-binary with two slices. The x86_64 slice
is for all x64 systems, and the x86_64h slice targets x64 systems
starting with Haswell. The latter allows the compiler to use newer
instructions that are not available on older microarchitectures.
8 years ago
Sebastian Valle
cbf57de4e5
Merge pull request #2971 from Subv/per_process_memops
Memory: Add overloads for ReadBlock and WriteBlock that operate on a specific process.
8 years ago
Subv
1265575db5
Memory: Make WriteBlock take a Process parameter on which to operate
8 years ago
Subv
bf55d2f57e
Memory: Make ReadBlock take a Process parameter on which to operate
8 years ago
Subv
141da6b667
Kernel/Thread: Added a helper function to get a thread's command buffer VAddr.
8 years ago
Sebastian Valle
fd974cb502
Merge pull request #2974 from Subv/nim_event
Services/NIM: Implement CheckForSysUpdateEvent.
8 years ago
shinyquagsire23
9c8cdede44
file_sys, loader: add support for reading TMDs to determine app paths
8 years ago
shinyquagsire23
f6564f232e
file_sys: add class for Title Metadata (TMD)
8 years ago
shinyquagsire23
a151c0edec
file_sys/ncch_container: add RomFS, ExeFS override to allow for backward compatibility with existing .romfs system archive dumps
8 years ago
shinyquagsire23
2f8af214f8
file_sys/archive_ncch: use NCCHContainer instead of loading .romfs files
8 years ago
Sebastian Valle
a403be5e32
Merge pull request #2973 from huwpascoe/down_count
Moved down_count to CoreTiming
8 years ago
Subv
ded3089f66
Services/NIM: Implement CheckForSysUpdateEvent.
Implementation verified by reverse engineering.
This lets the Home Menu boot without crashing on startup.
8 years ago
Huw Pascoe
ed9e0618c9
Moved down_count to CoreTiming
8 years ago
B3n30
6706b1994e
Services/UDS: Handle the rest of the connection sequence. ( #2963 )
Services/UDS: Handle the rest of the connection sequence.
8 years ago
James Rowe
6aa70ae745
Merge pull request #2972 from Subv/ignore_.vs
Add the .vs folder and the CMakeSettings.json file from Visual Studio to gitignore
8 years ago
Subv
4c82746e83
Add the .vs folder and the CMakeSettings.json file from Visual Studio to gitignore.
8 years ago
Sebastian Valle
afd9af8417
Merge pull request #2946 from Subv/home_menu_apt
Implement PrepareToStartNewestHomeMenu and fixed an APT regression.
8 years ago
Sebastian Valle
2e30398e7a
Merge pull request #2967 from Subv/thread_wakeup_callbacks
Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken
8 years ago
Sebastian Valle
53d74215b2
Merge pull request #2962 from huwpascoe/static_cast
Fixed type conversion ambiguity
8 years ago
Huw Pascoe
da1c8d1522
Fixed type conversion ambiguity
8 years ago
bunnei
e2a34ccd89
Merge pull request #2961 from Subv/load_titles
Loaders: Don't automatically set the current process every time we load an application.
8 years ago
Subv
a0054d695e
Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken.
This change makes for a clearer (less confusing) path of execution in the scheduler, now the code to execute when a thread awakes is closer to the code that puts the thread to sleep (WaitSynch1, WaitSynchN). It also allows us to implement the special wake up behavior of ReplyAndReceive without hacking up WaitObject::WakeupAllWaitingThreads.
If savestates are desired in the future, we can change this implementation to one similar to the CoreTiming event system, where we first register the callback functions at startup and assign their identifiers to the Thread callback variable instead of directly assigning a lambda to the wake up callback variable.
8 years ago
Sebastian Valle
1d94b4fd3d
Merge pull request #2907 from Subv/warnings3
Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types.
8 years ago
Subv
9f1b2d3260
Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types.
It is unlikely we will ever use this without first doing a Cast to a signed type.
Fixes 9 "unary minus operator applied to unsigned type, result still unsigned" warnings on MSVC2017.3
8 years ago
Subv
11920a6bd1
Loaders: Don't automatically set the current process every time we load an application.
The loaders will now just create a Kernel::Process, construct it and return it to the caller, which is responsible for setting it as the current process and configuring the global page table.
8 years ago
James Rowe
47ca57f00f
Merge pull request #2954 from Subv/cache_unmapped_mem
Memory/RasterizerCache: Ignore unmapped memory regions when caching physical regions
8 years ago
Subv
2e78c05d91
Kernel/Thread: Allow specifying which process a thread belongs to when creating it.
Don't automatically assume that Thread::Create will only be called when the parent process is currently scheduled. This assumption will be broken when applets or system modules are loaded.
8 years ago
Subv
2420759794
Tests: Added Memory::IsValidVirtualAddress tests.
8 years ago
Subv
6af5b05299
Tests: Fixed ARM VFP tests
8 years ago
Subv
3cb2bf08c3
Memory: Allow IsValidVirtualAddress to be called with a specific process parameter.
There is still an overload of IsValidVirtualAddress that only takes the VAddr and will default to the current process.
8 years ago
Merry
0e74e2bd52
Merge pull request #2958 from Subv/audio_buffer_datatype
Audio: Use std::deque instead of std::vector for the audio buffer type (StereoBuffer16)
8 years ago
Subv
04481f6a13
HLE/APT: Always set up the APT parameter when starting a library applet.
Only use the HLE interface if an HLE applet with the desired id was started.
This commit reorganizes the APT code surrounding parameter creation and delivery to make it easier to support LLE applets in the future.
As future work, the HLE applet interface can be reworked to utilize the same facilities as the LLE interface.
8 years ago
Subv
bfc70ef1d1
Memory/RasterizerCache: Ignore unmapped memory regions when caching physical regions.
Not all physical regions need to be mapped into the address space of every process, for example, system modules do not have a VRAM mapping.
This fixes a crash when loading applets and system modules.
8 years ago