summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-08-21Merge pull request #1143 from lioncash/incbunnei
sdmc_factory: Remove unnecessary core include
2018-08-21perf_stats: Change MAX_LAG_TIME_US to an appropriate valueMerryMage
25us is far too small, and would result in std::this_thread::sleep_for being called with this as a maximum value. This means that a guest application that produces frames instantly would only be limited to 40 kHz. 25ms is a more appropriate value, as it allows for a 60 Hz refresh rate while providing enough slack in the negative region.
2018-08-21sdmc_factory: Remove unnecessary core includeLioncash
This doesn't require the central core header to be included, it just needs the vfs headers.
2018-08-21Merge pull request #1129 from lioncash/headerbunnei
romfs_factory, service/filesystem: Use forward declarations where applicable
2018-08-20service/filesystem: Use forward declarations where applicableLioncash
Avoids the need to rebuild multiple source files if the filesystem code headers change. This also gets rid of a few instances of indirect inclusions being relied upon
2018-08-20Merge pull request #1126 from lioncash/telembunnei
telemetry_session: Don't allocate std::string instances for program lifetime in GetTelemetryId() and RegenerateTelemetryId()
2018-08-20Merge pull request #1122 from lioncash/accbunnei
acc/profile_manager: General cleanup
2018-08-20romfs_factory: Remove unnecessary includes and use forward declarations ↵Lioncash
where applicable Avoids the need to rebuild whatever includes the romfs factory header if the loader header ever changes. We also don't need to include the main core header. We can instead include the headers we specifically need.
2018-08-20Merge pull request #1095 from DarkLordZach/sysarchivesbunnei
filesystem: Add support for loading of system archives
2018-08-20telemetry_session: Don't allocate std::string instances for program lifetime ↵Lioncash
in GetTelemetryId() and RegenerateTelemetryId() Given these functions aren't intended to be used frequently, there's no need to keep the std::string instances allocated for the whole lifetime of the program. It's just a waste of memory.
2018-08-20acc: Replace profile_manager include with a forward declarationLioncash
This is only used in a shared_ptr, so we can forward declare it.
2018-08-20acc: Simplify WriteBuffer call within LoadImage()Lioncash
We have an overload of WriteBuffer that accepts containers that satisfy the ContiguousContainer concept, which std::array does, so we only need to pass in the array itself.
2018-08-20acc: Correct IProfile's constructor initializer list orderLioncash
Arranges them in the order the members would be initialized
2018-08-20acc: Remove unused DEFAULT_USER_IDLioncash
This is no longer used, so it can be removed.
2018-08-20profile_manager: Use INVALID_UUID in the initializer of last_opened_userLioncash
Makes it a little bit more self-documenting.
2018-08-20profile_manager: Remove unnecessary memcpy in GetProfileBaseAndData()Lioncash
Given the source and destination types are the same std::array type, we can simply use regular assignment to perform the same behavior.
2018-08-20profile_manager: Use type aliases for username data, profile data, and user ↵Lioncash
arrays Avoids the need to repeatedly specify the whole array type in multiple places.
2018-08-20profile_manager: Take ProfileInfo by const reference where applicableLioncash
ProfileInfo is quite a large struct in terms of data, and we don't need to perform a copy in these instances, so we can just pass constant references instead.
2018-08-20profile_manager: Make array parameter to CreateNewUser a const referenceLioncash
This doesn't modify the passed in array, so this can be a const reference.
2018-08-20profile_manager: Remove unnecessary staticLioncash
This can just be constexpr like the others
2018-08-20profile_manager: Simplify UUID's two param constructor, operator==, and ↵Lioncash
operator bool We can use the constructor initializer list and just compare the contained u128's together instead of comparing each element individually. Ditto for comparing against an invalid UUID.
2018-08-20profile_manager: Move UUID generation function to the cpp fileLioncash
This avoids needing to dump the contents of <random> into other files that include the profile manager header.
2018-08-20Merge pull request #1064 from lioncash/telemetrybunnei
common/telemetry: Migrate core-independent info gathering to common
2018-08-20registration: Add Data_Unknown5 NCAContentTypeZach Hilman
2018-08-20profile_manager: Remove unnecessary std::move in AddToProfiles() and ↵Lioncash
CreateNewUser() Moving a const reference isn't possible, so this just results in a copy (and given ProfileInfo is composed of trivial types and aggregates, a move wouldn't really do anything).
2018-08-20Merge pull request #1117 from ogniK5377/CheckFreeCommunicationPermissionbunnei
Added CheckFreeCommunicationPermission
2018-08-20Merge pull request #1017 from ogniK5377/better-accountbunnei
New account backend to allow for future extended support
2018-08-20Added CheckFreeCommunicationPermissionDavid Marcec
This fixes save files not loading in splatoon 2
2018-08-18filesystem: Add support for loading of system archivesZach Hilman
2018-08-17Implement SetIdleTimeDetectionExtension & GetIdleTimeDetectionExtension (#1059)greggameplayer
* Used by Mario Tennis Aces
2018-08-17Merge pull request #1090 from lioncash/ctor-assignbunnei
core: Delete System copy/move constructors and assignment operators
2018-08-17Merge pull request #1093 from ↵bunnei
greggameplayer/GetDefaultDisplayResolutionChangeEvent Implement GetDefaultDisplayResolutionChangeEvent
2018-08-16Merge pull request #1087 from MerryMage/dynarmicbunnei
dynarmic: Update to 550d662
2018-08-16correct coding stylegreggameplayer
2018-08-16Implement GetDefaultDisplayResolutionChangeEventgreggameplayer
Require by Toki Tori and Toki Tori 2+
2018-08-16Merge pull request #1085 from lioncash/namespacebunnei
common: Namespace hex_util.h/.cpp
2018-08-16core: Delete System copy/move constructors and assignment operatorsLioncash
Prevents potentially making copies or doing silly things by accident with the System instance, particularly given our current core is designed (unfortunately) around one instantiable instance. This will prevent the accidental case of: auto instance = System::Instance(); being compiled without warning when it's supposed to be: auto& instance = System::Instance();
2018-08-16dynarmic: Update to 550d662MerryMage
550d662 load_store_exclusive: Define s == t state to be Constraint_NONE 0b69381 A64/translate: Allow for unpredictable behaviour to be defined 6d236d4 system: Implement MRS CNTFRQ_EL0 6cbb6fb A32/testenv: Add missing headers 6729328 externals: Update xbyak to v5.67 1812bd2 Squashed 'externals/xbyak/' changes from 2794cde7..671fc805 9a95802 externals: Document subtrees 714a840 A64: Implement SQ{ADD, SUB}, and UQ{ADD, SUB}'s vector variants 8cab459 A64: Implement UQADD/UQSUB's scalar variants 18a8151 ir: Add opcodes for unsigned saturating add and subtract a5660ee x64/reg_alloc: Use type alias for array returned by GetArgumentInfo() 29489b5 ir/value: Use type alias CoprocessorInfo for std::array<u8, 8> e23ba26 status_register_access: Add support for bits 0 and 1 of mask to MSR 55190bd fuzz_with_unicorn: Split utility functions into fuzz_util 23b049d A32/translate/load_store: Correct detection of writeback 7ec9f15 A32/translate: Add TranslateSingleInstruction efeecb4 A32/ir_emitter: Bug fix: IREmitter::ExceptionRaised using incorrect opcode 08d1d19 A32/decoders: Split instruction list into include file 2d929cc tests: Refactor unicorn_emu to allow for A32 unicorn f672368 microinstruction: Improve assert messages 7ebff50 emit_x64_vector: EmitVectorNarrow16: AVX512 implementation edce230 emit_x64_vector: EmitVectorNarrow32: prefer pblendw to loading constant
2018-08-16Merge pull request #1075 from lioncash/includebunnei
loader/{nca, xci}: Remove unnecessary includes and unused member variables
2018-08-15common: Namespace hex_util.h/.cppLioncash
It's in the common code, so it should be under the Common namespace like everything else.
2018-08-15Merge pull request #1005 from DarkLordZach/registered-fmtbunnei
file_sys: Add support for registration format
2018-08-15Merge pull request #1078 from lioncash/messagebunnei
lm: Handle threads and modules within the logger
2018-08-15Merge pull request #1079 from lioncash/fmtbunnei
loader: Make ResultStatus directly compatible with fmt
2018-08-15Merge pull request #1051 from B3n30/UnscheduleEventThreadsafebunnei
Core::CoreTiming: add UnscheduleEventThreadsafe
2018-08-15Merge pull request #1080 from lioncash/retbunnei
sm/controller: Correct return value of QueryPointerBufferSize
2018-08-15kernel/server_session: Add IsSession() member functionLioncash
Allows querying the inverse of IsDomain() to make things more readable. This will likely also be usable in the event of implementing ConvertDomainToSession().
2018-08-15sm/controller: Correct return value of QueryPointerBufferSizeLioncash
This should be returning a u16 according to Switch Brew.
2018-08-15loader: Make ResultStatus directly compatible with fmtLioncash
We can make the enum class type compatible with fmt by providing an overload of operator<<. While we're at it, perform proper bounds checking. If something exceeds the array, it should be a hard fail, because it's, without a doubt, a programmer error in this case.
2018-08-15loader/nca: Remove unnecessary includes and member variablesLioncash
2018-08-15loader/xci: Remove unnecessary includes and member variablesLioncash
Many of these aren't necessary and will cause this file to be required to be recompiled whenever any changes to those files are made, which lengthens compile times for no reason. This also removes an unused metadata variable from AppLoader_XCI