Lioncash
88ba94e8a2
savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member function
This function doesn't alter class state.
8 years ago
Lioncash
9abc5763b6
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
4790bb907d
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
87a9bb392b
content_archive: Add missing standard includes
8 years ago
Lioncash
0b566f43a1
content_archive: std::move VirtualFile in NCA's constructor
Gets rid of unnecessary atomic reference count incrementing and
decrementing.
8 years ago
Lioncash
5e626c774f
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
55ab369043
loader/nro: Resolve sign mismatch warnings
8 years ago
Lioncash
1831b5ef62
loader/nso: Remove unnecessary vector resizes
We can just initialize these vectors directly via their constructor.
8 years ago
Lioncash
e3a30ccc7c
loader/nso: Resolve sign mismatch warnings
8 years ago
Zach Hilman
29aff8d5ab
Virtual Filesystem 2: Electric Boogaloo ( #676 )
* Virtual Filesystem
* Fix delete bug and documentate
* Review fixes + other stuff
* Fix puyo regression
8 years ago
Lioncash
72207577b2
core/memory: Remove unused function GetSpecialHandlers() and an unused variable in ZeroBlock()
8 years ago
Lioncash
2cd3141c30
address_arbiter: Correct assignment within an assertion statement in WakeThreads()
This was introduced within 4f81bc4e1b , and
considering there's no comment indicating that this is intentional, this
is very likely a bug.
8 years ago
Lioncash
296e68fd43
service/prepo: Add missing header guard
8 years ago
Lioncash
93cba6f699
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
46458e7284
core/memory, core/hle/kernel: Use std::move where applicable
Avoids pointless copies
8 years ago
Lioncash
10d2ab8098
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
3a4841e403
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
079be8032d
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
c337272ca9
Fill in more fields in TouchScreenEntryTouch
8 years ago
Zach Hilman
f2f368014e
Single touch support
8 years ago
bunnei
49e5de9f03
vi: Change TransactionId::CancelBuffer to LOG_CRITICAL.
8 years ago
bunnei
0d1a99edf6
vi: Fix size for ListDisplays default display.
8 years ago
bunnei
c3dd456d51
vi: Partially implement buffer crop parameters.
8 years ago
Zach Hilman
69bfe075b5
General Filesystem and Save Data Fixes ( #670 )
8 years ago
bunnei
170e19d4ea
nvflinger: Fix for BufferQueue event handling.
8 years ago
Michael Scire
3b885691a1
Kernel/Arbiter: Fix bug in WaitIfLessThan
8 years ago
MerryMage
56cc1c11ec
scheduler: Clear exclusive state when switching contexts
8 years ago
James Rowe
7d209b3c9f
HID: Update controllers less often
8 years ago
Subv
b07f4d6afb
Services/BSD: Corrected the return for StartMonitoring according to SwIPC.
8 years ago
Subv
7e5e4f8d7a
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
a7d6c0d6ea
No need to use ASSERT_MSG with an empty message
8 years ago
Hedges
e066bc75b9
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
8bd8d1e3da
We only need to alert for memory pool changes
8 years ago
David Marcec
6642011706
initialized voice status and unused sizes in the update data header
8 years ago
David Marcec
706892de7d
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
3d68f6ba6c
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
12a6996262
hid: Fix timestamps and controller type.
- This fixes user input in SMO.
8 years ago
David Marcec
0944bfe3cb
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
eb6cbfdbd8
savedata_factory: Always create a save directory for games.
8 years ago
bunnei
1b3dd30ba8
nvhost_ctrl: Fix NvOsGetConfigU32 for Snipper Clips.
8 years ago
bunnei
913896cbd9
Revert "Virtual Filesystem ( #597 )"
This reverts commit 77c684c114 .
8 years ago
Zach Hilman
77c684c114
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
3dab0e284b
Update AudioRenderer Voice Sections ( #614 )
* voice section updating
* fixed slight offset miscalculation
* fixed overflow
8 years ago
James Rowe
0d46f0df12
Update clang format
8 years ago
James Rowe
638956aa81
Rename logging macro back to LOG_*
8 years ago
Subv
6c0c81dfdc
GPU: Remove a surface from the cache when its backing memory is being unmapped from the GPU's MMU.
8 years ago
Subv
a093feca62
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
1bbbd26563
settings: Add a configuration for use_accurate_framebuffers.
8 years ago
David
c9e821e93e
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
11fb17054e
Service/Audio: add hwopus service, stub GetWorkBufferSize function
8 years ago