aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
AgeCommit message (Collapse)Author
2018-07-18core: Don't construct instance of Core::System, just to access its live instanceLioncash
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.
2018-07-07Revert "Virtual Filesystem (#597)"bunnei
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman
* 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
2018-07-02Update clang formatJames Rowe
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-05-10core: Run all CPU cores separately, even in single-thread mode.bunnei
2018-05-10threading: Reschedule only on cores that are necessary.bunnei
2018-05-10core: Add a configuration setting for use_multi_core.bunnei
2018-05-10core: Support session close with multicore.bunnei
2018-05-10core: Create a thread for each CPU core, keep in lock-step with a barrier.bunnei
2018-05-10core: Move common CPU core things to its own class.bunnei
2018-04-26core: Replace remaining old non-generic logger usages with fmt-capable ↵Lioncash
equivalents LOG_GENERIC usages will be amended in a follow-up to keep API changes separate from interface changes, as it will require removing a parameter from the relevant function in the VMManager class.
2018-04-20core: Relocate g_service_manager to the System classLioncash
Converts the service manager from a global into an instance-based variable.
2018-04-06core, main.h: Abort on 32Bit ROMs (#309)N00byKing
* core, main.h: Abort on 32Bit ROMs * main.cpp: Fix Grammar
2018-03-26config: Use simplified checkbox (from Citra) for CPU JIT.bunnei
2018-03-19Clang FixesN00byKing
2018-03-19More Warning cleanupsN00byKing
2018-03-19Clean Warnings (?)N00byKing
2018-03-18Merge pull request #193 from N00byKing/3184_2_robotic_boogaloobunnei
Implement Pull #3184 from citra: core/arm: Improve timing accuracy before service calls in JIT (Rebased)
2018-03-14core: Move process creation out of global state.bunnei
2018-02-25Implements citra-emu/citra#3184N00byKing
2018-02-21core: Fix scheduler-shutdown related crashMerryMage
2018-02-19scheduler: Cleanup based on PR feedback.bunnei
2018-02-18kernel: Use Scheduler class for threading.bunnei
2018-02-18core: Use shared_ptr for cpu_core.bunnei
2018-02-11Make a GPU class in VideoCore to contain the GPU state.Subv
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there.
2018-01-20Merge pull request #72 from N00byKing/patch-2bunnei
Implement Pull #3275 from citra: core: Don't Shutdown before we've even Init-ed
2018-01-19Port citra #3352 to yuzu (#103)River City Ransomware
* 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
2018-01-17Update core.cppN00byKing
2018-01-12Remove gpu debugger and get yuzu qt to compileJames Rowe
2018-01-12configuration: Add cpu_core configuration optionMerryMage
2018-01-12arm_dynarmic: Implement coreMerryMage
2018-01-08CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)B3n30
* CoreTiming: New CoreTiming; Add Test for CoreTiming
2018-01-04unicorn: Use for arm interface on Windows.bunnei
2018-01-02arm: Remove SkyEye/Dyncom code that is ARMv6-only.bunnei
2017-10-23logging: Rename category "Core_ARM11" to "Core_ARM".bunnei
2017-10-09Merge remote-tracking branch 'upstream/master' into nxbunnei
# Conflicts: # src/core/CMakeLists.txt # src/core/arm/dynarmic/arm_dynarmic.cpp # src/core/arm/dyncom/arm_dyncom.cpp # src/core/hle/kernel/process.cpp # src/core/hle/kernel/thread.cpp # src/core/hle/kernel/thread.h # src/core/hle/kernel/vm_manager.cpp # src/core/loader/3dsx.cpp # src/core/loader/elf.cpp # src/core/loader/ncch.cpp # src/core/memory.cpp # src/core/memory.h # src/core/memory_setup.h
2017-09-26Loaders: Don't automatically set the current process every time we load an ↵Subv
application. The loaders will now just create a Kernel::Process, construct it and return it to the caller, which is responsible for setting it as the current process and configuring the global page table.
2017-09-10Kernel/Memory: Give each Process its own page table.Subv
The loader is in charge of setting the newly created process's page table as the main one during the loading process.
2017-08-19Added missing parts in libnetwork (#2838)B3n30
* Network: Set and send the game information over enet Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services.
2017-07-17telemetry: Log performance, configuration, and system data.bunnei
2017-06-02Addressed Bunnei's review comments, and made some other tweaks:TheKoopaKingdom
- Deleted GetStatus() because it wasn't used anywhere outside of Core::System. - Fixed design flaw where the message bar status could be set despite the game being stopped.
2017-06-02Created a whitelist of system archives to prevent false positives creating ↵TheKoopaKingdom
dialogs.
2017-06-02Made some changes from review comments:TheKoopaKingdom
- Made LoadKernelSystemMode return a pair consisting of a system mode and a result code (Could use review). - Deleted ErrorOpenGL error code in favor of just having ErrorVideoCore. - Made dialog messages more clear. - Compared archive ID in fs_user.cpp to ArchiveIdCode::NCCH as opposed to hex magic. - Cleaned up some other stuff.
2017-06-02Added system for handling core errors in citra-qt.TheKoopaKingdom
2017-05-24core: Keep track of telemetry for the current emulation session.bunnei
2017-05-09Kernel: Map special regions according to ExHeaderYuri Kunde Schlesner
This replaces the hardcoded VRAM/DSP mappings with ones made based on the ExHeader ARM11 Kernel caps list. While this has no visible effect for most applications (since they use a standard set of mappings) it does improve support for system modules and n3DS exclusives.
2017-02-26Core: Make PerfStats internally lockedYuri Kunde Schlesner
More ergonomic to use and will be required for upcoming changes.
2017-02-26Add performance statistics to status barYuri Kunde Schlesner
2017-02-11core: Free AppLoader on shutdown to release file (#2558)Yuri Kunde Schlesner
Fixes #2455