bunnei
83079031b3
gpu: Refactor a/synchronous implementations into their own classes.
7 years ago
bunnei
9d1ee628b2
gpu: Move command processing to another thread.
7 years ago
bunnei
1945456cc7
bootmanager: Ensure that we have a context for shader loading.
7 years ago
bunnei
d6be1f1a53
Merge pull request #2190 from lioncash/ogl-global
core: Remove the global telemetry accessor function
7 years ago
bunnei
edf09ff450
gpu: Refactor command and swap buffers interface for asynch.
7 years ago
bunnei
1e27162275
gpu: Refactor to take RendererBase instead of RasterizerInterface.
7 years ago
bunnei
300139799f
settings: Add new graphics setting for use_asynchronous_gpu_emulation.
7 years ago
bunnei
fca1122cef
core: Set is_powered_on before GPU is initialized.
7 years ago
bunnei
a9e4bbc70f
Merge pull request #2199 from lioncash/arbiter
kernel/address_arbiter: Convert the address arbiter into a class
7 years ago
bunnei
47930412f6
Merge pull request #2201 from lioncash/audio-retval
hle/service/audio/audout_u: Correct lack of return in failure case of AppendAudioOutBufferImpl()
7 years ago
bunnei
d4a5fcecfa
Merge pull request #2204 from lioncash/wait-tree
yuzu/debugger/wait_tree: Remove use of global CurrentProcess accessor
7 years ago
fearlessTobi
2851d41838
yuzu: add a hotkey to switch between undocked and docked mode
7 years ago
Lioncash
237796b9db
hle/service/audio/audout_u: Correct lack of return in failure case of AppendAudioOutBufferImpl()
Previously we were overwriting the error case with a success code
further down (which is definitely not what we should be doing here).
7 years ago
bunnei
4ca177d536
Merge pull request #2194 from lioncash/mem
svc: Move memory range checking functions to the VMManager class
7 years ago
bunnei
7e0d80520e
Merge pull request #2200 from lioncash/audio
hle/service/audio: Extract audio error codes to a header
7 years ago
bunnei
078b37234b
Merge pull request #2203 from lioncash/engines-include
video_core/engines: Remove unnecessary includes
7 years ago
bunnei
2cc8e9cc61
Merge pull request #2198 from lioncash/todo
{kernel/thread, video_core/surface}: Remove obsolete TODOs
7 years ago
Lioncash
2c92a30baa
yuzu/debugger/wait_tree: Remove use of global CurrentProcess accessor
We already have the thread instance that was created under the current
process, so we can just pass the handle table of it along to retrieve
the owner of the mutex.
7 years ago
Lioncash
f596ce7887
video_core/engines: Remove unnecessary includes
Removes a few unnecessary dependencies on core-related machinery, such
as the core.h and memory.h, which reduces the amount of rebuilding
necessary if those files change.
This also uncovered some indirect dependencies within other source
files. This also fixes those.
7 years ago
Lioncash
4306a41b5f
kernel/server_session: Make data members private
Makes it much nicer to locally reason about server session behavior, as
part of its functionality isn't placed around other classes.
7 years ago
Lioncash
802d919443
kernel/client_session: Make data members private
These can be made private, as they aren't accessed in contexts that
require them to be public.
7 years ago
Lioncash
07f82f5a0d
hle/service/audio: Extract audio error codes to a header
Places all error codes in an easily includable header.
This also corrects the unsupported error code (I accidentally used the
hex value when I meant to use the decimal one).
7 years ago
Lioncash
b46942d789
kernel/address_arbiter: Pass in system instance to constructor
Allows getting rid of reliance on the global accessor functions and
instead operating on the provided system instance.
7 years ago
Lioncash
b9a3259cab
kernel/address_arbiter: Minor tidying up
- Invert conditions into guard clases where applicable.
- Mark std::vector parameter of WakeThreads as const
7 years ago
Lioncash
bfe7112496
kernel/address_arbiter: Convert the address arbiter into a class
Places all of the functions for address arbiter operation into a class.
This will be necessary for future deglobalizing efforts related to both
the memory and system itself.
7 years ago
Lioncash
e45b6f69ea
video_core/surface: Remove obsolete TODO in PixelFormatFromRenderTargetFormat()
This isn't needed anymore, according to Hexagon
7 years ago
Zach Hilman
20c46b9242
vm_manager: Remove cheat-specific ranges from VMManager
7 years ago
Lioncash
1adc7f4439
kernel/thread: Remove obsolete TODO in Create()
This is a TODO carried over from Citra that doesn't apply here.
7 years ago
Lioncash
7d25f9a4a2
core/hle/ipc: Remove unnecessary includes
Removes a few inclusion dependencies from the headers or replaces
existing ones with ones that don't indirectly include the required
headers.
This allows removing an inclusion of core/memory.h, meaning that if the
memory header is ever changed in the future, it won't result in
rebuilding the entirety of the HLE services (as the IPC headers are used
quite ubiquitously throughout the HLE service implementations).
7 years ago
bunnei
999a48c856
Merge pull request #2185 from FearlessTobi/port-4630
Port citra-emu/citra#4630 : "Memory: don't lock hle mutex in memory read/write"
7 years ago
Zach Hilman
9ac4e6a249
core: Add support for registering and controlling ownership of CheatEngine
7 years ago
Zach Hilman
b6ac32dc35
cheat_engine: Add parser and interpreter for game cheats
7 years ago
Zach Hilman
81f85bc280
loader/nso: Set main code region in VMManager
For rom directories (and by extension, XCI/NSP/NAX/NCA) this is for the NSO with name 'main', for regular NSOs, this is the NSO.
7 years ago
Zach Hilman
df783dac1f
vm_manager: Add support for storing and getting main code region
Used as root for one region of cheats, set by loader
7 years ago
Zach Hilman
81302571bf
patch_manager: Display cheats in game list add-ons
7 years ago
Zach Hilman
57c6d77be0
patch_manager: Add support for loading cheats lists
Uses load/<title_id>/<mod_name>/cheats as root dir, file name is all upper or lower hex first 8 bytes build ID.
7 years ago
Zach Hilman
b1fbf45e5e
controllers/npad: Add accessor for current press state
Allows frontend/features to access pressed buttons conveniently as possible
7 years ago
Zach Hilman
91b36c026a
web_browser: Add shortcut to Enter key to exit applet
Addresses issues where a user in fullscreen could not exit some web applets without leaving fullscreen.
7 years ago
Lioncash
dc51694993
vm_manager: Use range helpers in HeapAlloc() and HeapFree()
Significantly tidies up two guard conditionals.
7 years ago
Lioncash
df41590e84
vm_manager: Provide address range checking functions for other memory regions
Makes the interface uniform when it comes to checking various memory
regions.
7 years ago
Lioncash
38dd80f70f
kernel/scheduler: Pass in system instance in constructor
Avoids directly relying on the global system instance and instead makes
an arbitrary system instance an explicit dependency on construction.
This also allows removing dependencies on some global accessor functions
as well.
7 years ago
Lioncash
b0284c2f36
kernel/shared_memory: Get rid of the use of global accessor functions within Create()
Given we already pass in a reference to the kernel that the shared
memory instance is created under, we can just use that to check the
current process, rather than using the global accessor functions.
This allows removing direct dependency on the system instance entirely.
7 years ago
Lioncash
e792758ddb
svc: Migrate address range checking functions to VMManager
Provides a bit of a more proper interface for these functions.
7 years ago
bunnei
48a356ee91
Merge pull request #2165 from ReinUsesLisp/unbind-tex
gl_rasterizer: Unbind textures but don't apply the gl_state
7 years ago
bunnei
3e2d91ae8e
Merge pull request #2188 from lioncash/log-static
logging/backend: Move CreateEntry into the Impl class. Relocate local static to a class variable
7 years ago
Lioncash
a71549e4ff
core/core: Remove the global telemetry accessor function
With all usages converted off of it, this function can be removed.
7 years ago
Lioncash
de68ab9139
yuzu: Remove usage of the global telemetry accessor
In these cases the system object is nearby, and in the other, the
long-form of accessing the telemetry instance is already used, so we can
get rid of the use of the global accessor.
7 years ago
Lioncash
9c8b3fff18
yuzu-cmd/yuzu: Replace direct usage of the global system telemetry accessor in main()
We already have the system instance around, so we can use that instead
of the accessor.
7 years ago
Lioncash
c833b5a465
core/core: Replace direct usage of the global system telemetry accessor from Shutdown()
The telemetry instance is actually a member of the class itself, so we
can access it directly instead of going through the global accessor.
7 years ago
Lioncash
7c12a4035e
video_core/renderer_opengl: Replace direct usage of global system object accessors
We already pass a reference to the system object to the constructor of the renderer,
so we can just use that instead of using the global accessor functions.
7 years ago