Commit Graph

1399 Commits (acbd46366c893537c3e63f510b8ba04adafc0c02)

Author SHA1 Message Date
Lectem 12ed746477 IPCHelper Skip method + address comments for apt 8 years ago
wwylele 0123411468 apt: fix RequestBuilder parameters for Unwrap 8 years ago
Lectem 77f4fc473f fix #2560 and other comments 8 years ago
Lectem fb70c9683c move push out of class body and add u8 u16 bool specializations 8 years ago
Lectem 501e23ce59 refactor APT service to use the new IPC helpers 8 years ago
bunnei 423ab5e2bc Merge pull request #2497 from wwylele/input-2
Refactor input emulation & add SDL gamepad support
8 years ago
bunnei 709e4fa5d2 Merge pull request #2620 from FernandoS27/syscore_error
Refined thread launch on syscore error messages
8 years ago
wwylele 363f36b904 cfg: implement GenHashConsoleUnique 8 years ago
Fernando Sahmkow b5dbc6cb98 Refined thread launch on syscore error messages 8 years ago
wwylele e02c4b7195 Input: remove unused stuff & clean up
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID
2. removed button handling in EmuWindow
3. removed key_map
4. cleanup #include
8 years ago
wwylele 70420272ca HID: use AnalogDevice 8 years ago
wwylele 1d1329af23 HID: use ButtonDevice 8 years ago
wwylele 85ba60d5ec Timer: restore missing signaled=true from #2421 8 years ago
bunnei 5e334af369 Merge pull request #2594 from wwylele/ir-separate
IR: separate functions of each port to their own files
8 years ago
B3n30 dcf115778a Fix log entry in timer::signal (#2600) 8 years ago
Mat M 0cb52ee74a Doxygen: Amend minor issues (#2593)
Corrects a few issues with regards to Doxygen documentation, for example:

- Incorrect parameter referencing.
- Missing @param tags.
- Typos in @param tags.

and a few minor other issues.
8 years ago
Yuri Kunde Schlesner b250ce21b9 Merge pull request #2587 from yuriks/status-bar
Replace built-in Profiler with indicators in status bar
8 years ago
Yuri Kunde Schlesner b285c2a4ed Core: Make PerfStats internally locked
More ergonomic to use and will be required for upcoming changes.
8 years ago
Yuri Kunde Schlesner c75ae6c585 Add performance statistics to status bar 8 years ago
Yuri Kunde Schlesner 441f8b5a4b Core: Remove unnecessary include in thread.h 8 years ago
wwylele 2d6113de09 IR: separate functions of each port to their own files 8 years ago
bunnei 892888ed9e Merge pull request #2569 from wwylele/wrap-unwrap
APT: implemented Wrap and Unwrap
8 years ago
Subv 0be77c3ae4 Timers: Return an error when calling SetTimer with negative timeouts. 8 years ago
Subv 029a11030e Timers: Immediately signal the timer if it was started with an initial value of 0. 8 years ago
wwylele d5b0e275e3 APT: implement Wrap and Unwrap 8 years ago
Weiyi Wang c7c1f56ce6 HID: move enable_accelerometer/gyroscope_count initialization into Init() (#2574)
Fixes #2556
8 years ago
Yuri Kunde Schlesner 070daf4126 HLE/IPC: Fix uninitialized variables in helpers (#2568)
Fixes #2567
8 years ago
noah the goodra ded09dc727 NWM changed to NIM 8 years ago
noah the goodra ad49cec194 turned clang format back on 8 years ago
Yuri Kunde Schlesner d60767d393 Merge pull request #2561 from wwylele/fs-rom
file_sys: change RomFS archive to Self NCCH archive
8 years ago
wwylele 20544977da loader: use self NCCH archive 8 years ago
wwylele a0df747325 file_sys: add Self NCCH archive 8 years ago
Weiyi Wang 0dd007e9ba hid: remove the touch field from PadState (#2557) 8 years ago
Weiyi Wang a1393dc70c Merge pull request #2027 from Lectem/ipcrefactor
IPC helper
8 years ago
Lectem 2ee472b9c7 fix wwylele's comment and use typename in templates 8 years ago
Yuri Kunde Schlesner 9590c932ec Merge pull request #2496 from mailwl/cfg-mem
Core: update Kernel Config Memory to latest version (11.2)
8 years ago
mailwl a53714acd3 GSP_GPU::StoreDataCache stubbed (#2428) 8 years ago
mailwl d0bf7df5ba HLE/Applets: Stub Mint (eShop) Applet (#2463)
This allows Phoenix Wright - Dual Destinies to boot.
8 years ago
mailwl 0b0c5672c8 Core: update Kernel Config Memory to latest version (11.2) 8 years ago
Yuri Kunde Schlesner 1410aa1824 Merge pull request #2368 from wwylele/camera-2
CAM: build the service framework with a dummy implementation
8 years ago
Yuri Kunde Schlesner a925473995 Merge pull request #2429 from wwylele/auto-language-fix
CFG: move language override to the boot process
8 years ago
Kloen 2ca3beb9d3 core: fix err_f.cpp warning about unhandled enumeration value on OSX 8 years ago
Yuri Kunde Schlesner 3feb3ce283 Merge pull request #2434 from mailwl/nfc-amiibo
Service/NFC: stub some functions
8 years ago
Kloen 095f7c83fc core: fix mic_u warnings on MSVC 8 years ago
wwylele 2c7676d371 HID: reset acceleroeter and gyroscope index in Init 8 years ago
wwylele 0045ea662f CFG: override language setting on boot 8 years ago
wwylele 47960b0659 CoreTiming: use named constant for ARM11 clock rate 8 years ago
wwylele 3c333c53f1 HID: manages updating itself using correct ticks 8 years ago
mailwl efe7e245b2 Service/NFC: stub some functions
Tested on: Mini-Mario & Friends - amiibo Challenge
8 years ago
mailwl b458d7447c GSP::WriteHWRegsWithMask: fix register mask 8 years ago
bunnei 7ddfd3054d Merge pull request #2425 from Subv/cleanup_todos
Implement some TODOs in the code.
8 years ago
bunnei 597a7c615c Merge pull request #2308 from mailwl/ac-i
Service/AC: add ac:i service
8 years ago
Subv 1ddff14511 Threads: Check the process' resource limit for the max allowed priority when creating a thread and remove the priority clamping code. 8 years ago
Subv f2f2572fed Thread: Added priority range checking to svcSetThreadPriority and removed priority clamping code from Thread::SetPriority. 8 years ago
Subv 5ddc2e09b1 Y2R: Use the proper error code when GetStandardCoefficient receives an invalid value. 8 years ago
wwylele cf3a272332 CAM: implement basic camera functions with a blank camera 8 years ago
bunnei 84d72fd92f Merge pull request #2397 from Subv/pulse
Kernel: Implemented Pulse event and timers.
8 years ago
bunnei b5eac78b43 Merge pull request #2410 from Subv/sleepthread
Don't yield execution in SleepThread(0) if there are no available threads to run
8 years ago
bunnei 59f4f1d7ff Merge pull request #2396 from Subv/sema_acquire
Kernel/Semaphore: Fixed a regression in semaphore waits.
8 years ago
Hyper f0199a17f6 Kernel: Fix SharedMemory objects always returning error when addr = 0 (#2404)
Closes #2400
8 years ago
bunnei 1c792389e6 Merge pull request #2408 from Subv/priority_boosting
Kernel: Removed the priority boost code for starved threads.
8 years ago
Subv fc2266130b Kernel: Don't attempt to yield execution in SleepThread(0) if there are no available threads to run.
With this we avoid an useless temporary deschedule of the current thread.
8 years ago
Subv 5e2a8ebabf Kernel: Remove some unused functions. 8 years ago
Subv 933df2606a Kernel: Removed the priority boost code for starved threads.
After hwtesting and reverse engineering the kernel, it was found that the CTROS scheduler performs no priority boosting for threads like this, although some other forms of scheduling priority-starved threads might take place.

For example, it was found that hardware interrupts might cause low-priority threads to run if the CPU is preempted in the middle of an SVC handler that deschedules the current (high priority) thread before scheduling it again.
8 years ago
Subv e52ca85711 Kernel: Implemented Pulse event and timers.
Closes #1904
8 years ago
Subv 4251eb26ec Kernel/Semaphore: Fixed a regression in semaphore waits.
The regression was caused by a missing check in #2260.

The new behavior is consistent with the real kernel.
8 years ago
Sebastian Valle f20d872643 Merge pull request #2393 from Subv/synch
Kernel: Mutex priority inheritance and synchronization improvements.
8 years ago
Subv dda4ec93be Kernel: Add some asserts to enforce the invariants in the scheduler. 8 years ago
Subv 7f1dca8cd2 Kernel: Remove a thread from all of its waiting objects' waiting_threads list when it is awoken.
This fixes a potential bug where threads would not get removed from said list if they awoke after waiting with WaitSynchronizationN with wait_all = false
8 years ago
Subv fd95b6ee26 Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all the objects that a thread is waiting on. 8 years ago
Subv cef5f45de2 Kernel: Use different thread statuses when a thread calls WaitSynchronization1 and WaitSynchronizationN with wait_all = true.
This commit removes the overly general THREADSTATUS_WAIT_SYNCH and replaces it with two more granular statuses:

THREADSTATUS_WAIT_SYNCH_ANY when a thread waits on objects via WaitSynchronization1 or WaitSynchronizationN with wait_all = false.

THREADSTATUS_WAIT_SYNCH_ALL when a thread waits on objects via WaitSynchronizationN with wait_all = true.
8 years ago
Subv d3ff5b91e1 Kernel/Mutex: Propagate thread priority changes to other threads inheriting the priority via mutexes 8 years ago
Subv b6a0355568 Kernel/Mutex: Update a mutex priority when a thread stops waiting on it. 8 years ago
Subv 7abf185390 Kernel/Mutex: Implemented priority inheritance.
The implementation is based on reverse engineering of the 3DS's kernel.

A mutex holder's priority will be temporarily boosted to the best priority among any threads that want to acquire any of its held mutexes.
When the holder releases the mutex, it's priority will be boosted to the best priority among the threads that want to acquire any of its remaining held mutexes.
8 years ago
Subv e6a7723f2f Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.
This will be useful when implementing mutex priority inheritance.
8 years ago
Subv 38a90882a4 Kernel/Synch: Do not attempt a reschedule on every syscall.
Not all syscalls should cause reschedules, this commit attempts to remedy that, however, it still does not cover all cases.
8 years ago
Jonathan Hao c18cb1b192 Fix some warnings (#2399) 8 years ago
Lectem ee6e88fdb5 fix comments alignment 8 years ago
mailwl f2985f7080 Service/NFC: stub GetTagInRangeEvent
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
8 years ago
mailwl c6f4b93f2e Service/AC: add ac:i service 8 years ago
bunnei f556d6ee90 Merge pull request #2240 from wwylele/auto-region
Config: auto-select region and language
8 years ago
wwylele f927beb5e2 Core: remove unused hle.cpp 8 years ago
Lectem f91c51467a move Pop methods out of class body 8 years ago
Lectem 8baae9d982 IPC helpers example 8 years ago
Lectem 8f2b642415 IPC helpers 8 years ago
MerryMage 64f98f4d0f core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
8 years ago
mailwl 069a88dad7 Service/NWM: add nwm services 8 years ago
bunnei aa47af7fb6 Merge pull request #2343 from bunnei/core-cleanup
Core: Top-level consolidate & misc cleanup
8 years ago
bunnei 17d740299a Merge pull request #2285 from mailwl/csnd-format
csnd:SND: Reformat source code
8 years ago
bunnei 8b1e269e58 ThreadContext: Move from "core" to "arm_interface". 8 years ago
bunnei e26fbfd1d7 core: Replace "AppCore" nomenclature with just "CPU". 8 years ago
bunnei 5ac5cbeab7 Address clang-format issues. 8 years ago
bunnei 4fc8b8229e core: Remove HLE module, consolidate code & various cleanups. 8 years ago
bunnei 232ef55c1a core: Consolidate core and system state, remove system module & cleanups. 8 years ago
wwylele 5728e42634 Thread: remove the thread from the thread list when exiting 8 years ago
wwylele 4c9b80cee3 Kernel: remove object's waiting thread if it is dead 8 years ago
bunnei cda7210fad Merge pull request #2260 from Subv/scheduling
Threading: Reworked the way our scheduler works.
8 years ago
Yuri Kunde Schlesner 2427a5e976 Merge pull request #2328 from wwylele/fix-trace
Fix debug build from #2249
8 years ago
Yuri Kunde Schlesner 63e8174caa Merge pull request #2320 from mailwl/cecd-update
Service/CECD: Add cecd:ndm service
8 years ago
bunnei 9dc43d3720 Merge pull request #2331 from lioncash/trunc
hid: Get rid of a double -> float truncation warning
8 years ago
wwylele a7cd452ea1 FS: fix debug build from #2249 8 years ago
Sebastian Valle 3e4cc6b3d2 Merge pull request #2330 from lioncash/pragma
core: Add missing #pragma once directives where applicable
8 years ago
Lioncash 3faa675d6b hid: Get rid of a double -> float truncation warning
float literals need to have the 'f' prefix.
8 years ago
Lioncash 2f3c1bdfb4 core: Add missing #pragma once directives where applicable 8 years ago
Lioncash d467b5ce4f act: Fix docstring typo
These aren't the AM services.
8 years ago
bunnei bdb6956879 Merge pull request #2314 from mailwl/account
Service/ACT: move ACT services to folder
8 years ago
mailwl 7f27be1521 Service/CECD: Add cecd:ndm service 8 years ago
Yuri Kunde Schlesner 905fc92ce1 Merge pull request #2249 from Subv/sessions_v3
Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.
8 years ago
Subv 016307ae65 Fixed the codestyle to match our clang-format rules. 8 years ago
Subv 5b1edc6ae7 Fixed the codestyle to match our clang-format rules. 8 years ago
mailwl 5dea1faedd Service/ACT: move ACT services to folder 8 years ago
JamePeng ac2ed18a3b Minor amendment of GSP_GPU::ImportDisplayCaptureInfo code 8 years ago
mailwl 1238e48c58 csnd:SND reformat source code 8 years ago
mailwl e53cd12c42 APT::GetStartupArgument: force clear startup argument 8 years ago
Lioncash 963aedd8cc Add all services to the Service namespace
Previously there was a split where some of the services were in the
Service namespace and others were not.
8 years ago
Subv 406907d570 Properly remove a thread from its wait_objects' waitlist when it is awoken by a timeout. 8 years ago
bunnei 6edb024d38 Merge pull request #2291 from lioncash/svc
service: Add the cfg:nor service
8 years ago
Subv ebbb55ec8f Moved the HLE command buffer translation task to ServerSession instead of the HLE handler superclass. 8 years ago
Subv deb83c9fc5 Kernel/IPC: Small codestyle cleanup 8 years ago
Subv 17b29d8865 WaitSynch: Removed unused variables and reduced SharedPtr copies.
Define a variable with the value of the sync timeout error code.

Use a boost::flat_map instead of an unordered_map to hold the equivalence of objects and wait indices in a WaitSynchN call.
8 years ago
Lioncash a2d69adad1 service: Add cfg:nor service 8 years ago
Yuri Kunde Schlesner a5cd925a95 Merge pull request #2292 from lioncash/bool
ptm: Use boolean instead of integral value
8 years ago
Lioncash 934b8ffcf8 ptm: Use boolean instead of integral value
The third parameter of Write is actually a bool type, not an int.
8 years ago
Lioncash 823d58ac9b service: Drop '_Interface' from cfg service names 8 years ago
Subv 386112da32 Added a framework for partially handling Session disconnections.
Further implementation will happen in a future commit.

Fixes a regression.
8 years ago
Subv f9bcf89510 Use std::move where appropriate. 8 years ago
Lioncash 007815647c service: Add the ptm:s service
3dbrew documents this as being the exact same as ptm:sysm
8 years ago
Lioncash 56656b75ab service: Add common ptm:u commands to other ptm services
3dbrew indicates that all services have access to these commands
except for ptm:sets.
8 years ago
Lioncash cd778cf991 service: Drop '_Interface' in ptm service class names
Inheriting from Service::Interface makes this obvious.
8 years ago
Lioncash 41c03f481a service: Add ptm::gets and ptm::sets services 8 years ago
Lioncash 2061d2014d service: Add mvd and qtm services
Adds the two New3DS-only modules.

3dbrew was used for command information.
8 years ago
Lioncash e8a960f6a1 service: Add nfc services
3dbrew was used for the command information.
8 years ago
Yuri Kunde Schlesner 43558dc40a Merge pull request #2283 from lioncash/svc
service: Update function tables
8 years ago
Yuri Kunde Schlesner bc48e2bda6 Merge pull request #2281 from lioncash/applet
applet: minor interface changes
8 years ago
Lioncash a09602d6f6 ssl_c: Update function table
Updated based off information from 3dbrew
8 years ago
Lioncash ab900f8a25 ptm: Update ptm_sysm function table
Updated based off information from 3dbrew.
8 years ago
Lioncash c67dae54b9 pm_app: Update function table
Updated based off information from 3dbrew.
8 years ago
Lioncash 9f2ad62084 nwm_uds: Update function table
Updated based off information from 3dbrew.
8 years ago
Lioncash 4a150a8f3c nim: Update function tables
Updated based off information from 3dbrew.
8 years ago
Lioncash c4bcd5c4ac http_c: Update function table
Updated based off information from 3dbrew.
8 years ago
Lioncash 65d94857c3 gsp_lcd: Update function table
Updated based off information from 3dbrew.
8 years ago
Lioncash 006e6a7f4a fs_user: Update function table
Updated based off information from 3dbrew.
8 years ago
Lioncash 093aa35c87 dlp_srvr: Update function table 8 years ago
Lioncash 733c8890aa cfg: Update function tables
Updated based off information from 3dbrew
8 years ago
Lioncash 0229983ff2 cecd_u: Update function table
Updated based off information from 3dbrew.
8 years ago
Lioncash 4ebdb7e3e1 boss_p: Update function table 8 years ago
Lioncash 74b3f0faa7 act: Update function tables
Updated based off information from 3dbrew.
8 years ago
Lioncash 258694996f apt: Update apt function tables
Updated based off information from 3dbrew.
8 years ago
Lioncash 26ea6b9546 Update AM service function tables
Updated based off information from 3dbrew.
8 years ago
Lioncash f1709b8b59 applet: Move common IsRunning underlying variable to the Applet class
Gets rid of basic duplication.
8 years ago
Lioncash 6f71fb2954 applet: Make virtual destructor defaulted 8 years ago
Lioncash d3f4fd1777 applet: Make constructor protected
Considering the class is abstract, there's no need to make the constructor
public.
8 years ago
wwylele 84e78790ab Config: auto-select region and language 8 years ago
bunnei 8d529a5cda Merge pull request #2232 from wwylele/other-save
FS: implement archives for other game save data
8 years ago
Subv 7cde5b83bc Use boost remove_erase_if instead of the erase-remove idiom 8 years ago
Subv 1f286b72a1 Improved the algorithm for GetHighestPriorityReadyThread. 8 years ago
Subv c93c5a72bb Return an error code when connecting to a saturated port.
The error code was taken from the 3DS kernel.
8 years ago
Subv 61a2fe8c3b HLE: Use a member variable instead of a virtual function to retrieve the max number of sessions that can be connected to an HLE service at the same time. 8 years ago
Subv 00f0c77570 Split SessionRequestHandler::HandleSyncRequest into HandleSyncRequest, TranslateRequest and HandleSyncRequestImpl.
HandleSyncRequest now takes care of calling the command buffer translate function before actually invoking the command handler for HLE services.
8 years ago
Subv 29d809b6e1 Kernel: Remove the Redirection handle type. 8 years ago
Subv dd8887c8cf KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it. 8 years ago
Subv bdad00c73f Threading: Added some utility functions and const correctness. 8 years ago
Yuri Kunde Schlesner efc8179747 GSP: Downgrade log severity of SetAxiConfigQoSMode
This function doesn't need to do anything for HLE and some games call it
quite often, spamming up the logs.
8 years ago
Subv 8634b8cb83 Threading: Reworked the way our scheduler works.
Threads will now be awakened when the objects they're waiting on are signaled, instead of repeating the WaitSynchronization call every now and then.

The scheduler is now called once after every SVC call, and once after a thread is awakened from sleep by its timeout callback.

This new implementation is based off reverse-engineering of the real kernel.

See https://gist.github.com/Subv/02f29bd9f1e5deb7aceea1e8f019c8f4 for a more detailed description of how the real kernel handles rescheduling.
8 years ago
Subv 2ce61344d6 Declare empty ServerSession and ClientSession constructors as default. 8 years ago
Subv ed210c32b3 Threads do not wait for the server endpoint to call AcceptSession before returning from a ConnectToPort or GetServiceHandle call. 8 years ago
Subv 2eceee3a4c Fixed the rebase mistakes. 8 years ago
Subv 009b15b3aa A bit of a redesign.
Sessions and Ports are now detached from each other.
HLE services are handled by means of a SessionRequestHandler class, Interface now inherits from this class.
The File and Directory classes are no longer kernel objects, but SessionRequestHandlers instead, bound to a ServerSession when requested.
File::OpenLinkFile now creates a new session pair and binds the File instance to it.
8 years ago
Subv c5e7e0fa26 IPC/HLE: Associate the ClientSessions with their parent port's HLE interface if it exists.
Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request.
8 years ago
Subv c19afd2118 Kernel/HLE: Service::Interface no longer inherits from any Kernel object, and is now its own standalone class.
Interface is now used by aggregation in ClientPort, to forward service commands to their HLE implementation if needed.
8 years ago
Subv 0a33d915f8 fixup! Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. 8 years ago
Subv 073653e858 Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.
All handles obtained via srv::GetServiceHandle or svcConnectToPort are references to ClientSessions.
Service modules will wait on the counterpart of those ClientSessions (Called ServerSessions) using svcReplyAndReceive or svcWaitSynchronization[1|N], and will be awoken when a SyncRequest is performed.

HLE Interfaces are now ClientPorts which override the HandleSyncRequest virtual member function to perform command handling immediately.
8 years ago
mailwl 5b136aa211 Set client SDK version to Service APIs 9 years ago
wwylele 589b642790 FileSys: Implement OtherSaveData 9 years ago
wwylele b25f19ac26 FS: add missing MediaType 9 years ago
wwylele 5af117e00c FileSys: abstract SD save data archive source 9 years ago
Yuri Kunde Schlesner 3174bfd50c Merge pull request #2196 from Subv/system_mode
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
9 years ago
Sebastian Valle 4ba5acdaff Merge pull request #2132 from wwylele/fix-fs-err
Correct FS error codes & add path boundary checks
9 years ago
mailwl ec15e485c9 Output parameters to log 9 years ago
mailwl d4cadf11fc MIC_U: Stub service funcions 9 years ago
pippo2931 0c9c97e5ea Bravely Default/Second stuck #1822 (#2188)
* Bravely Default/Second stuck #1822
CancelLibraryApplet stub

* Log parameter.

* Taking care of comments

* Sync with 3DBrew

* White space ?

* lower case
9 years ago
Yuri Kunde Schlesner ef421696e3 Merge pull request #2186 from wwylele/config9
cfg: add config block 0x00090000
9 years ago
Yuri Kunde Schlesner fefa645ec7 Merge pull request #1654 from JamePeng/errdisp
Rework the code of err:f service!
9 years ago
bunnei f1798c1db6 Merge pull request #2193 from Subv/pulse_events
Kernel/Events: Log an error when trying to create Pulse events and timers
9 years ago
Subv 1323ab2f5f Kernel/Loader: Grab the system mode from the NCCH ExHeader.
3dsx and elf files default to system mode 2 (96MB allocated to the application).

This allows Home Menu to boot without modifications.
Closes #1849
9 years ago
Subv 4ab8692475 Kernel/Events: Log an error when trying to create Pulse events and timers.
Related to #1904
9 years ago
Subv d7ab4fd53d APT/Applets: Renamed the members of the SignalType enum.
Names now make sense and match 3dbrew.
9 years ago
wwylele d7d6975af0 FileSys: rename SaveDataCheck archive to NCCH archive
According to the observation from game and 3dbrew "Used for accessing general NCCH data"
9 years ago
wwylele 5c6e13a171 PTM & CFG: use the correct path and error code according to the new FileSys policy 9 years ago
wwylele 0987783699 FileSys: add SDMCWriteOnlyArchive 9 years ago
wwylele a879984c06 FileSys: add ExtSaveDataArchive
ExtSaveData is more similar to SaveData, so let it be a subclass of SaveData
9 years ago
wwylele 7166fdc490 FileSys: add SaveDataArchive
The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.
9 years ago
wwylele dd5c15abd0 cfg: add config block 0x00090000 9 years ago
mailwl af7f5bef8d Style fix 9 years ago
mailwl 5872abeab9 Rename AcConfig, change types u8 to u32 9 years ago
mailwl a62df98686 AC_U: Stub functions, used if EULA agreed 9 years ago
wwylele 4dd8a831bd FileSys: make Archive interfaces return error code
and make the mode parameter a reference since it is a BitField union
9 years ago
bunnei ae2fab4a0e Merge pull request #2126 from wwylele/stub-nwm
NWM: stub Initialize with an error
9 years ago
Jan Beich 702439b519 core: some errno values are uncommon on Unix
src/core/hle/service/soc_u.cpp:107:6: error: 'ENODATA' was not declared in this scope
     {ENODATA, 43},
      ^
src/core/hle/service/soc_u.cpp:117:6: error: 'ENOSR' was not declared in this scope
     {ENOSR, 53},
      ^
src/core/hle/service/soc_u.cpp:118:6: error: 'ENOSTR' was not declared in this scope
     {ENOSTR, 54},
      ^
src/core/hle/service/soc_u.cpp:139:6: error: 'ETIME' was not declared in this scope
     {ETIME, 75},
      ^
9 years ago
mailwl f672c7bd24 FRD: fix GetMyFriendKey 9 years ago