Lioncash
f92bb43138
savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member function
This function doesn't alter class state.
8 years ago
Lioncash
a9b596c444
partition_filesystem: Ensure all class members of PartitionFilesystem are initialized
Previously is_hfs and pfs_header members wouldn't be initialized in the
constructor, as they were stored in locals instead. This would result in
things like GetName() and PrintDebugInfo() behaving incorrectly.
While we're at it, initialize the members to deterministic values as
well, in case loading ever fails.
8 years ago
Lioncash
9eb43dc910
content_archive: Make IsDirectoryExeFS() take a shared_ptr as a const reference
There's no need to take this by value when it's possible to avoid
unnecessary copies entirely like this.
8 years ago
Lioncash
701bdfd753
content_archive: Add missing standard includes
8 years ago
Lioncash
bff53f234d
content_archive: std::move VirtualFile in NCA's constructor
Gets rid of unnecessary atomic reference count incrementing and
decrementing.
8 years ago
Lioncash
47858aed98
vfs: Deduplicate accumulation code in VfsDirectory's GetSize()
We can just use a generic lambda to avoid writing the same thing twice.
8 years ago
Lioncash
d0f53d27e0
loader/nro: Resolve sign mismatch warnings
8 years ago
Lioncash
b20bac710d
loader/nso: Remove unnecessary vector resizes
We can just initialize these vectors directly via their constructor.
8 years ago
Lioncash
0a48b45954
loader/nso: Resolve sign mismatch warnings
8 years ago
Zach Hilman
82150bd5c1
Virtual Filesystem 2: Electric Boogaloo ( #676 )
* Virtual Filesystem
* Fix delete bug and documentate
* Review fixes + other stuff
* Fix puyo regression
8 years ago
Lioncash
b7e7ddbdfc
core/memory: Remove unused function GetSpecialHandlers() and an unused variable in ZeroBlock()
8 years ago
Lioncash
76a9fc2f85
address_arbiter: Correct assignment within an assertion statement in WakeThreads()
This was introduced within d12af72c8f , and
considering there's no comment indicating that this is intentional, this
is very likely a bug.
8 years ago
Lioncash
26e188d074
service/prepo: Add missing header guard
8 years ago
Lioncash
81bf614695
vm_manager: Add missing commas to string literal array elements in GetMemoryStateName()
Without these, this would perform concatenation, which is definitely not
what we want here.
8 years ago
Lioncash
b1b1c60009
core/memory, core/hle/kernel: Use std::move where applicable
Avoids pointless copies
8 years ago
Lioncash
74185c108e
core: Make System's default constructor private
This makes it a compilation error to construct additional instances of
the System class directly, preventing accidental wasteful constructions
over and over.
8 years ago
Lioncash
e72928762f
core: Don't construct instance of Core::System, just to access its live instance
This would result in a lot of allocations and related object
construction, just to toss it all away immediately after the call.
These are definitely not intentional, and it was intended that all of
these should have been accessing the static function GetInstance()
through the name itself, not constructed instances.
8 years ago
Lioncash
40096de1fc
hle/filesystem: Amend trace log in OpenSaveData() to compile in debug mode
Previously this wouldn't compile, since no such function named
SaveStructDebugInfo() exists.
8 years ago
Zach Hilman
03480ff436
Fill in more fields in TouchScreenEntryTouch
8 years ago
Zach Hilman
25becb080e
Single touch support
8 years ago
bunnei
ad40c27409
vi: Change TransactionId::CancelBuffer to LOG_CRITICAL.
8 years ago
bunnei
3ff59a95d5
vi: Fix size for ListDisplays default display.
8 years ago
bunnei
42b866afc5
vi: Partially implement buffer crop parameters.
8 years ago
Zach Hilman
753d85fb0c
General Filesystem and Save Data Fixes ( #670 )
8 years ago
bunnei
df66fadc12
nvflinger: Fix for BufferQueue event handling.
8 years ago
Michael Scire
045893374f
Kernel/Arbiter: Fix bug in WaitIfLessThan
8 years ago
MerryMage
bd97579188
scheduler: Clear exclusive state when switching contexts
8 years ago
James Rowe
12e7a3065a
HID: Update controllers less often
8 years ago
Subv
a4f321da14
Services/BSD: Corrected the return for StartMonitoring according to SwIPC.
8 years ago
Subv
d4a639a08e
FileSys: Append the requested path to the filesystem base path in DeleteFile.
We were trying to delete things in the current directory instead of the actual filesystem directory. This may fix some savedata issues in some games.
8 years ago
David Marcec
66bd4de380
No need to use ASSERT_MSG with an empty message
8 years ago
Hedges
d8d8be6ac0
More improvements to GDBStub ( #653 )
* More improvements to GDBStub
- Debugging of threads should work correctly with source and assembly level stepping and modifying registers and memory, meaning threads and callstacks are fully clickable in VS.
- List of modules is available to the client, with assumption that .nro and .nso are backed up by an .elf with symbols, while deconstructed ROMs keep N names.
- Initial support for floating point registers.
* Tidy up as requested in PR feedback
* Tidy up as requested in PR feedback
8 years ago
David Marcec
0b2adb2672
We only need to alert for memory pool changes
8 years ago
David Marcec
761d44eea4
initialized voice status and unused sizes in the update data header
8 years ago
David Marcec
7d5403fc89
Audout "Auto" functions
Audout autos are identical to their counterpart except for the buffer type which yuzu already handles for us.
8 years ago
David Marcec
3fcb7978f0
Added IsWirelessCommunicationEnabled, IsEthernetCommunicationEnabled, IsAnyInternetRequestAccepted
Since we have no socket implementation we should be returning 0 to indicate we're currently offline.
8 years ago
bunnei
d613d8ee52
hid: Fix timestamps and controller type.
- This fixes user input in SMO.
8 years ago
David Marcec
bc85c649c1
NvOsGetConfigU32 production impl
Settings are only used when RMOS_SET_PRODUCTION_MODE is set to 0.
If production mode is set, the error code 0x30006 is returned instead
8 years ago
bunnei
99a359777c
savedata_factory: Always create a save directory for games.
8 years ago
bunnei
8924486715
nvhost_ctrl: Fix NvOsGetConfigU32 for Snipper Clips.
8 years ago
bunnei
0c22a8d514
Revert "Virtual Filesystem ( #597 )"
This reverts commit 12e9522b32 .
8 years ago
Zach Hilman
12e9522b32
Virtual Filesystem ( #597 )
* Add VfsFile and VfsDirectory classes
* Finish abstract Vfs classes
* Implement RealVfsFile (computer fs backend)
* Finish RealVfsFile and RealVfsDirectory
* Finished OffsetVfsFile
* More changes
* Fix import paths
* Major refactor
* Remove double const
* Use experimental/filesystem or filesystem depending on compiler
* Port partition_filesystem
* More changes
* More Overhaul
* FSP_SRV fixes
* Fixes and testing
* Try to get filesystem to compile
* Filesystem on linux
* Remove std::filesystem and document/test
* Compile fixes
* Missing include
* Bug fixes
* Fixes
* Rename v_file and v_dir
* clang-format fix
* Rename NGLOG_* to LOG_*
* Most review changes
* Fix TODO
* Guess 'main' to be Directory by filename
8 years ago
David
051040caaf
Update AudioRenderer Voice Sections ( #614 )
* voice section updating
* fixed slight offset miscalculation
* fixed overflow
8 years ago
James Rowe
d74d2a77cb
Update clang format
8 years ago
James Rowe
e159c550d8
Rename logging macro back to LOG_*
8 years ago
Subv
4c6cb7161a
GPU: Remove a surface from the cache when its backing memory is being unmapped from the GPU's MMU.
8 years ago
Subv
a90bbff826
nvmap: Return the address of the nvmap object when Freeing it for the last time.
This behavior is confirmed by reverse engineering.
8 years ago
bunnei
47ba060950
settings: Add a configuration for use_accurate_framebuffers.
8 years ago
David
e4479c5b55
Send the correct RequestUpdateAudioRenderer revision in the output header ( #587 )
* We should be returning our revision instead of what is requested.
Hardware test on a 5.1.0 console
* Added sysversion comment
8 years ago
mailwl
5ffac05099
Service/Audio: add hwopus service, stub GetWorkBufferSize function
8 years ago