Zach Hilman
c228e57523
Virtual Filesystem 2: Electric Boogaloo ( #676 )
...
* Virtual Filesystem
* Fix delete bug and documentate
* Review fixes + other stuff
* Fix puyo regression
2018-07-18 18:07:11 -07:00
bunnei
2b3d247c2a
Revert "Virtual Filesystem ( #597 )"
...
This reverts commit 77c684c114 .
2018-07-07 20:24:51 -07:00
Zach Hilman
f4e25a685f
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
2018-07-06 10:51:32 -04:00
James Rowe
489e98954c
Update clang format
2018-07-02 21:45:47 -04:00
James Rowe
847a518200
Rename logging macro back to LOG_*
2018-07-02 21:45:47 -04:00
bunnei
187b2684c5
core: Run all CPU cores separately, even in single-thread mode.
2018-05-10 19:34:53 -04:00
bunnei
9ae80d3328
threading: Reschedule only on cores that are necessary.
2018-05-10 19:34:52 -04:00
bunnei
3e4416179e
core: Add a configuration setting for use_multi_core.
2018-05-10 19:34:47 -04:00
bunnei
703e1b7fb4
core: Support session close with multicore.
2018-05-10 19:34:47 -04:00
bunnei
17e8c38264
core: Create a thread for each CPU core, keep in lock-step with a barrier.
2018-05-10 19:34:46 -04:00
bunnei
56f512f16a
core: Move common CPU core things to its own class.
2018-05-10 19:34:46 -04:00
Lioncash
0eeb0d15ce
core: Replace remaining old non-generic logger usages with fmt-capable 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-26 15:37:16 -04:00
Lioncash
c826af8077
core: Relocate g_service_manager to the System class
...
Converts the service manager from a global into an instance-based
variable.
2018-04-20 19:44:32 -04:00
N00byKing
71b31d407f
core, main.h: Abort on 32Bit ROMs ( #309 )
...
* core, main.h: Abort on 32Bit ROMs
* main.cpp: Fix Grammar
2018-04-06 11:06:32 -04:00
bunnei
040c25c450
config: Use simplified checkbox (from Citra) for CPU JIT.
2018-03-26 23:02:37 -04:00
N00byKing
c7dcc85356
Clang Fixes
2018-03-19 17:53:35 +01:00
N00byKing
488a1500d6
More Warning cleanups
2018-03-19 17:27:04 +01:00
N00byKing
10448f9fb4
Clean Warnings (?)
2018-03-19 17:07:08 +01:00
bunnei
34bec922b1
Merge pull request #193 from N00byKing/3184_2_robotic_boogaloo
...
Implement Pull #3184 from citra: core/arm: Improve timing accuracy before service calls in JIT (Rebased)
2018-03-18 22:35:47 -04:00
bunnei
b95c68cc67
core: Move process creation out of global state.
2018-03-14 18:42:19 -04:00
N00byKing
ab327540e1
Implements citra-emu/citra#3184
2018-02-25 11:44:21 +01:00
MerryMage
e2ee2b397f
core: Fix scheduler-shutdown related crash
2018-02-21 16:38:18 +00:00
bunnei
654147d3ba
scheduler: Cleanup based on PR feedback.
2018-02-19 16:46:42 -05:00
bunnei
1f3b456e6c
kernel: Use Scheduler class for threading.
2018-02-18 15:17:16 -05:00
bunnei
dd516a88f6
core: Use shared_ptr for cpu_core.
2018-02-18 14:52:09 -05:00
Subv
cc33504d0f
Make a GPU class in VideoCore to contain the GPU state.
...
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there.
2018-02-11 23:44:12 -05:00
bunnei
1da3399f55
Merge pull request #72 from N00byKing/patch-2
...
Implement Pull #3275 from citra: core: Don't Shutdown before we've even Init-ed
2018-01-20 23:11:10 -05:00
River City Ransomware
40285c4d9a
Port citra #3352 to yuzu ( #103 )
...
* 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-19 19:36:09 -05:00
N00byKing
d1fe83a10a
Update core.cpp
2018-01-17 18:12:06 +01:00
James Rowe
244f7dc4d5
Remove gpu debugger and get yuzu qt to compile
2018-01-12 19:11:04 -07:00
MerryMage
b24e5bf4a4
configuration: Add cpu_core configuration option
2018-01-12 17:48:52 -05:00
MerryMage
78e267083d
arm_dynarmic: Implement core
2018-01-12 17:48:29 -05:00
B3n30
51a9a51632
CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119 )
...
* CoreTiming: New CoreTiming; Add Test for CoreTiming
2018-01-08 19:10:25 -05:00
bunnei
685c8610dc
unicorn: Use for arm interface on Windows.
2018-01-04 00:13:23 -05:00
bunnei
e9072e7381
arm: Remove SkyEye/Dyncom code that is ARMv6-only.
2018-01-02 22:24:12 -05:00
bunnei
8f52aa7805
logging: Rename category "Core_ARM11" to "Core_ARM".
2017-10-23 00:13:12 -04:00
bunnei
45b7723c75
Merge remote-tracking branch 'upstream/master' into nx
...
# 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-10-09 23:56:20 -04:00
Subv
67988aa2c4
Loaders: Don't automatically set the current process every time we load an 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-26 18:17:47 -05:00
Subv
fe28c5d069
Kernel/Memory: Give each Process its own page table.
...
The loader is in charge of setting the newly created process's page table as the main one during the loading process.
2017-09-10 15:13:41 -05:00
B3n30
e317c51cbd
Added missing parts in libnetwork ( #2838 )
...
* Network: Set and send the game information over enet
Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services.
2017-08-19 11:14:33 -06:00
bunnei
3fc4ccce57
telemetry: Log performance, configuration, and system data.
2017-07-17 21:32:28 -04:00
TheKoopaKingdom
28de301d16
Addressed Bunnei's review comments, and made some other tweaks:
...
- 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-02 18:40:39 -04:00
TheKoopaKingdom
266c619427
Created a whitelist of system archives to prevent false positives creating dialogs.
2017-06-02 18:28:14 -04:00
TheKoopaKingdom
de80586020
Made some changes from review comments:
...
- 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-02 18:28:14 -04:00
TheKoopaKingdom
86033c8177
Added system for handling core errors in citra-qt.
2017-06-02 18:27:56 -04:00
bunnei
184c66a1ee
core: Keep track of telemetry for the current emulation session.
2017-05-24 19:16:22 -04:00
Yuri Kunde Schlesner
a4f06962b6
Kernel: Map special regions according to ExHeader
...
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-05-09 21:44:00 -07:00
Yuri Kunde Schlesner
fac1bfea42
Core: Make PerfStats internally locked
...
More ergonomic to use and will be required for upcoming changes.
2017-02-26 17:22:03 -08:00
Yuri Kunde Schlesner
7572bf7839
Add performance statistics to status bar
2017-02-26 17:22:03 -08:00
Yuri Kunde Schlesner
c8c09610bb
core: Free AppLoader on shutdown to release file ( #2558 )
...
Fixes #2455
2017-02-11 03:29:46 -08:00