Commit Graph

2876 Commits (f0b6baf3adde14f9ccfc4660a6eaa412a81d644d)

Author SHA1 Message Date
bunnei e75aba3ed0 loader: Add DeconstructedRomDirectory for game dumps. 7 years ago
bunnei 023aef053c loader: Refactor to also pass filepath into IdentifyType. 7 years ago
bunnei 2dafd0d287 nso: Remove code specific to directory loading. 7 years ago
River City Ransomware c8a094e164 Port citra #3352 to yuzu (#103)
* Port citra #3352 to yuzu

This change allows non x86_64 architectures to compile yuzu by skipping the building of dynarmic

* Fixed clang-format errors

* fixes more clang-format errors
7 years ago
David 0b6da0c1ab Added CreateSharedMemory & UNIMPLEMENTED() for non existent services. (#113)
* Added svcCreateSharedMemory

* Services which are not implemented now throw UNIMPLEMENTED()

* clang-format

* changed perms to u32

* removed camelcase
7 years ago
River City Ransomware dd62f125c3 Fixes some cast warnings, partial port of citra #3064 (#106)
* Fixes some cast warnings, partially fixes citra #3064

* Converted casts to uint32_t to u32

* Ran clang-format
7 years ago
bunnei 7b219539a9
Merge pull request #112 from Rozelette/master
ISelfController: Stub LockExit and UnlockExit
7 years ago
goaaats c457f34eb2 acc, set, applet_oe: stub various functions, add set service (#105)
* Stubs for various acc:u0 funcs needed

* Stub for GetDesiredLanguage in IApplicationFunctions

* Add set service + stubs needed for games

* Fix formatting

* Implement IProfile, IManagerForApplication, return bool in CheckAvailability, style fixes

* Remove IProfile::Get(needs more research), fix IPC response sizes
7 years ago
Rozlette d9ca9d3472 ISelfController: Stub LockExit and UnlockExit 7 years ago
bunnei 0f363d37e6
Merge pull request #109 from bunnei/libnx-fixes
Fix svcGetInfo for libnx
7 years ago
bunnei c3005ee4d1
Merge pull request #97 from bunnei/time-stub
time: Stub out GetTotalLocationNameCount and some cleanup.
7 years ago
bunnei deec326ddf time: Add new line to ends of files. 7 years ago
bunnei 1d49680613 applet_oe: Clang-format. 7 years ago
bunnei e27accc15d time: Stub out GetTotalLocationNameCount and some cleanup. 7 years ago
bunnei de646cef2d nvdrv: Stub SetClientPID. 7 years ago
bunnei e1ee8f4657 svc: Fix svcGetInfo MapRegionBaseAddr. 7 years ago
bunnei d80991977a svc: Add additional fields to MemoryInfo struct. 7 years ago
gdkchan 8f13499bb8 Fix dispdrv typo 7 years ago
bunnei 952dba9c2b
Merge pull request #100 from Rozelette/master
time: Refactor time:* to use a single shared module
7 years ago
gdkchan 3a409d5c8f Fix NRO Entry Point 7 years ago
gdkchan 59575d5cae Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc (#96)
* Stub PopLaunchParameter and implement Buffer C Descriptors reading

* Address PR feedback

* Ensure we push a u64 not a size_t

* Fix formatting
7 years ago
flerovium^-^ 463356f0a7 Start to implement/stub BSD:U and SFDNSRES services (#78)
* bsd: start stubbing bsd:u and sfdnsres

* bsd: stubbed RegisterClient

* bsd: attempt to get past socket()

* bsd: fix some wrong assumptions about IPC

* bsd: fix format specifiers

* bsd: stubbed Connect()

* bsd: stubbed SendTo()

* made requested changes

* sockets: respect alphabetical order at service installation

* run clang-format

* bsd: start stubbing bsd:u and sfdnsres

* bsd: stubbed RegisterClient

* bsd: attempt to get past socket()

* bsd: fix some wrong assumptions about IPC

* bsd: fix format specifiers

* bsd: stubbed Connect()

* bsd: stubbed SendTo()

* made requested changes

* sockets: respect alphabetical order at service installation

* run clang-format

* run clang-format (2)
7 years ago
Rozlette 378cea2ae2 time: Fix use of CamelCase in ToCalendarTimeWithMyRule 7 years ago
Rozlette c7c180fdf1 time: Refactor time:* to use a single shared module 7 years ago
bunnei b5bc94bce0
Merge pull request #95 from bunnei/lm-skip-byte
lm: Minor logging fix to skip a byte.
7 years ago
bunnei be0e14ab3e
Merge pull request #84 from lioncash/cmake
CMakeLists: Derive the source directory grouping from targets themselves
7 years ago
bunnei 4ca5f0c145
Merge pull request #91 from lioncash/svc
svc: Minor clarity changes
7 years ago
bunnei 22465c8722 lm: Minor logging fix to skip a byte. 7 years ago
bunnei ed788742bf
Merge pull request #90 from lioncash/vi-override
vi: Minor clean up/correctness changes
7 years ago
bunnei cf0daed0b8
Merge pull request #89 from lioncash/vi-vector
vi: Copy data directly into the std::vector within Parcel's ReadBlock function
7 years ago
Lioncash e710a1b989 CMakeLists: Derive the source directory grouping from targets themselves
Removes the need to store to separate SRC and HEADER variables, and then
construct the target in most cases.
7 years ago
bunnei 6a36ffb86c controller: Use DuplicateSession for DuplicateSessionEx. 7 years ago
Lioncash 4497eb4528 svc: Rename some entries to match their analogue on SwitchBrew
Makes the codebase a little more consistent with regards to available documentation. Also amends the duplicate case where there was a similar entry at 0x72 named ConnectToPort.
7 years ago
Lioncash c81ed5eb33 svc: Add CreateJitMemory and MapJitMemory svc strings
Makes the table match SwitchBrew for these entries
7 years ago
Lioncash 3d19102c48 vi: Make constructors explicit where applicable
Prevents implicit conversions.
7 years ago
Lioncash 14069e6ec4 vi: Add missing override specifiers 7 years ago
Lioncash b16c89bf65 vi: Copy data directly into the std::vector within Parcel's ReadBlock function
Previously this would unnecessarily zero-initialize the vector before
copying the actual data into the vector instance.
7 years ago
bunnei 01f379baa7
Merge pull request #80 from gdkchan/nro_fix
Fix NRO loading
7 years ago
bunnei ee08c39b72
Merge pull request #73 from N00byKing/3093
Implement Pull #3093 from citra: Added missing headers to CMakeLists.txt and fixed includes.
7 years ago
gdkchan d3e63e4220 Fix NRO loading 7 years ago
bunnei e2f06dbc17
Merge pull request #76 from Rozelette/master
TIME: consolidate time:* interfaces, stub functions and structs
7 years ago
Rozlette 6f22471a72 TIME: consolidate time:* interfaces, stub functions and structs 7 years ago
gdkchan c65ac49238 Remove relocation on NSO/NRO 7 years ago
bunnei 0568346cc3
Merge pull request #64 from shinyquagsire23/hid-timing
hid: Adjust timing based on actual hardware
7 years ago
bunnei 8bff9c9152
Merge pull request #70 from flerovii/nvdrv-close
nvdrv: stubbed Close(cmd 2)
7 years ago
N00byKing 10955d72ef
Update CMakeLists.txt 7 years ago
N00byKing 66388f7576
Update title_metadata.h 7 years ago
bunnei 7fa32af1c7 svc: Clang-format fix. 7 years ago
N00byKing 30d2ba9de3
Update core.cpp 7 years ago
bunnei 7172ff4d9a
Merge pull request #62 from bunnei/domain-close-handle
Implement IPC domain command CloseVirtualHandle
7 years ago
bunnei b588cbcb1d hle_ipc: Clang format. 7 years ago
Frederic Meyer 60d650cc4e nvdrv: stubbed Close(cmd 2) 7 years ago
River City Ransomware d05dc3f4dd Fix gdbstub typo, fixes Citra #3318
Core::System().GetInstance().IsPoweredOn() -> Core::System::GetInstance().IsPoweredOn()
7 years ago
shinyquagsire23 008823724f hid: Adjust timing based on actual hardware 7 years ago
bunnei 9ae55884d2
Merge pull request #60 from jroweboy/game-frame
UI: Fix frame rate perf stats
7 years ago
bunnei 30cb98f874 ipc: Implement domain command CloseVirtualHandle. 7 years ago
James Rowe a66eb7351b UI: Fix frame rate perf stats
Adds in a missing EndGameFrame when nvdrv swaps buffers
7 years ago
bunnei dc905463dc
Merge pull request #34 from shinyquagsire23/hid-sharedmem-layouts-circbufs-meta
hid: Write to all layouts, implement circular buffers, set up controller metadata.
7 years ago
bunnei 4b156d2e64 acc_u0: Add IPC interface and stub InitializeApplicationInfo. 7 years ago
shinyquagsire23 eff90550a1 hid: clang-format 7 years ago
shinyquagsire23 36b89787ce hid: Adjust for style guide 7 years ago
bunnei f621310da2 applet_oe: Fix GetOperationMode and GetPerformanceMode. 7 years ago
Subv cb75b56e45 NV: Implemented the nvdrv service, which uses the same interface as nvdrv:a 7 years ago
Subv 30657f9ca1 NV: Move the nvdrv classes into the Nvidia namespace, and move the functionality to a s single module that services call. 7 years ago
Subv f827b17dd4 VI: Stubbed GetNativeHandle, Create/DestroyStrayLayer and CloseDisplay 7 years ago
Subv c5a0408ccc Services: Stubbed APM::OpenSession and the ISession interface.
# Conflicts:
#	src/core/hle/service/am/applet_oe.cpp
#	src/core/hle/service/apm/apm.cpp
7 years ago
Subv f7dc637a61 AppletOE: Stub a bunch of functions required by libnx homebrew. 7 years ago
Subv bf0e20c571 SVC: Correct some return values in svcGetInfo and added TitleId and PrivilegedProcessId stubs.
# Conflicts:
#	src/core/hle/kernel/svc.cpp
7 years ago
Subv 3442f4b96a SVC: Add 4.0.0+ comment to GetInfoType enum values. 7 years ago
Subv 5bc14e791a IPC: Push domain objects as move handles when not in a domain. 7 years ago
bunnei 1aa4cdc3c8
Merge pull request #52 from ogniK5377/fsp
added more svcGetInfo pairs for 3.0.0+ support, Changed HEAP_SIZE and TLS_AREA_VADDR. changed mem usage & heap usage stub added, ISelfController, IApplication function stubs. Added SetThreadCoreMask
7 years ago
David cb8d5328d5
Update memory.h 7 years ago
bunnei 07b465d24e
Merge pull request #44 from Rozelette/master
nso: Modify .bss size calculation logic
7 years ago
David Marcec bb7221c5d5 SetThreadCoreMask stub, time to implement fsp 7 years ago
David Marcec 104dd867c4 implemented more of ISelfController and IApplicationFunctions 7 years ago
David Marcec 68143af636 Added more svcGetInfo pairs 7 years ago
David Marcec c903372111 Increased heap size and changed tls area vaddr 7 years ago
MerryMage e35644c005 clang-format 7 years ago
Rozlette 09bcc2042c nso: Modify .bss size calculation logic 7 years ago
James Rowe 2d7a85f7af Build: Automagically handle unicorn
On MSVC if unicorn isn't found, fallback to bundled unicorn
On everything else, fallback to building unicorn in externals

Also fixes loading unicorn in msvc
7 years ago
shinyquagsire23 d20a883194 hid: Write to all layouts, implement circular buffers, set up controller metadata. 7 years ago
James Rowe e026b66bbb Build: Add unicorn as a submodule and build it if needed
Adds a cmake custom target that will build unicorn on first compile and
uses this in the build scripts as well. Updates Appveyor and Travis
build scripts to work with the new unicorn build, and updates the paths
to all of the different artifacts.
7 years ago
bunnei 6f904bb622 nso: Load subsdk4 if available. 7 years ago
bunnei 1a3b3e9100 pctl: Clang format. 7 years ago
bunnei 1148e2ce7b pctl: GetService should return an IParentalControlService interface. 7 years ago
bunnei 5bc14ab0de applet_oe: Stub SetFocusHandlingMode, GetCurrentFocusState, SetTerminateResult. 7 years ago
bunnei 8e2f62c6a5 settings: Fix button mappings array to have correct entries. 7 years ago
bunnei 325f72aceb
Merge pull request #16 from shinyquagsire23/hid-sharedmem-impl-start
HID Sharedmem Impl Start
7 years ago
shinyquagsire23 1ea49442f9 hid: Bare-minimum sharedmem input 7 years ago
shinyquagsire23 bb1fcfac33 hid: Remove redundant HID prefix on structs/enums 7 years ago
shinyquagsire23 801d6c1b6f settings: Screenshot button 7 years ago
shinyquagsire23 74aa14c9b4 settings: adjust button configs for Switch controllers 7 years ago
shinyquagsire23 e08c132175 hid: Add sharedmem structs 7 years ago
bsaleil af1ca87be1 vi: Add IManagerDisplayService::CloseDisplay function 7 years ago
David Marcec f3264dd78d Games expect 15 for ICommonStateGetter::ReceiveMessage in order to continue execution 7 years ago
bunnei ebd613c2cc renderer: Render previous frame when no new one is available. 7 years ago
bunnei 71eeab257f lm: Fix IPC header for Initialize. 7 years ago
bunnei 7bedea73a8 time: Implement GetStandardUserSystemClock, GetCurrentTime. 7 years ago
bunnei d81a984d4a audio: Add files to CMake. 7 years ago
bunnei 2e8246a02c hid: Remove unused registered_loggers. 7 years ago