Zach Hilman
c5091bfe00
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
9d1ab766a0
controllers/npad: Add accessor for current press state
Allows frontend/features to access pressed buttons conveniently as possible
7 years ago
Lioncash
aa30fd75cd
web_service: Remove unnecessary inclusions
Reduces the potential amount of rebuilding necessary if any headers
change. In particular, we were including a header from the core library
when we don't even link the core library to the web_service library, so
this also gets rid of an indirect dependency.
7 years ago
Lioncash
f8f1ff0b4f
logging/backend: Make time_origin a class variable instead of a local static
Moves local global state into the Impl class itself and initializes it
at the creation of the instance instead of in the function.
This makes it nicer for weakly-ordered architectures, given the
CreateEntry() class won't need to have atomic loads executed for each
individual call to the CreateEntry class.
7 years ago
Lioncash
43c1092031
logging/backend: Move CreateEntry into the Impl class
This function is only ever used within this source file and makes it
easier to remove static state in the following change.
7 years ago
fearlessTobi
71c30a0a89
citra_qt/main: make SPEED_LIMIT_STEP static constexpr
MSVC does not seem to like using constexpr values in a lambda that were declared outside of it.
Previously on MSVC build the hotkeys to inc-/decrease the speed limit were not working correctly because in the lambda the SPEED_LIMIT_STEP had garbage values.
After googling around a bit I found: https://github.com/codeplaysoftware/computecpp-sdk/issues/95 which seems to be a similar issue.
Trying the suggested fix to make the variable static constexpr also fixes the bug here.
7 years ago
ReinUsesLisp
8e84e81e74
vk_buffer_cache: Fix clang-format
7 years ago
bunnei
ab70c2583d
fuck git for ruining my day, I will learn but I will not forgive
7 years ago
ReinUsesLisp
35c105a108
vk_buffer_cache: Implement a buffer cache
This buffer cache is just like OpenGL's buffer cache with some minor
style changes. It uses VKStreamBuffer.
7 years ago
Lioncash
84aff56644
service/audio/audren_u: Implement OpenAudioRendererAuto
This currently has the same behavior as the regular
OpenAudioRenderer API function, so we can just move the code within
OpenAudioRenderer to an internal function that both service functions
call.
7 years ago
Lioncash
42dc73157c
service/audio: Provide an implementation of ExecuteAudioRendererRendering
This service function appears to do nothing noteworthy on the switch.
All it does at the moment is either return an error code or abort the
system. Given we obviously don't want to kill the system, we just opt
for always returning the error code.
7 years ago
ReinUsesLisp
e85066dac7
gl_rasterizer: Remove texture unbinding after dispatching a draw call
Unbinding was required when OpenGL delete operations didn't unbind a
resource if it was bound. This is no longer needed and can be removed.
7 years ago
ReinUsesLisp
bb3ab7d66c
gl_state: Fixup multibind bug
7 years ago
Fernando Sahmkow
7ea097e5c2
Devirtualize Register/Unregister and use a wrapper instead.
7 years ago
Fernando Sahmkow
5a9204dbd7
Corrections and redesign.
7 years ago
Fernando Sahmkow
d6b9b51606
Fix linux compile error.
7 years ago
Fernando Sahmkow
e64fa4d2ea
Remove NotifyFrameBuffer as we are doing a texception pass every drawcall.
7 years ago
Fernando Sahmkow
3558c88442
Remove certain optimizations that caused texception to fail in certain scenarios.
7 years ago
Fernando Sahmkow
e9d84ef22c
Bug fixes and formatting
7 years ago
Fernando Sahmkow
5bc82d124c
rasterizer_cache_gl: Implement Texception Pass
7 years ago
Fernando Sahmkow
8932001610
rasterizer_cache_gl: Implement Partial Reinterpretation of Surfaces.
7 years ago
Fernando Sahmkow
44ea2810e4
rasterizer_cache: mark reinterpreted surfaces and add ability to reload marked surfaces on next use.
7 years ago
Fernando Sahmkow
d583fc1e97
rasterizer_cache_gl: Notify on framebuffer change
7 years ago
Fernando Sahmkow
45b6d2d349
rasterizer_cache: Expose FlushObject to Child classes and allow redefining of Register and Unregister
7 years ago
Annomatg
ef84c70d22
Speed up memory page mapping ( #2141 )
- Memory::MapPages total samplecount was reduced from 4.6% to 1.06%.
- From main menu into the game from 1.03% to 0.35%
7 years ago
Lioncash
1068c1b06f
audio_core/cubeb_sink: Ensure COM is initialized on Windows prior to calling cubeb_init
cubeb now requires that COM explicitly be initialized on the thread
prior to calling cubeb_init.
7 years ago
Lioncash
6335bf136f
service/hid: Amend forward declaration of ServiceManager
The SM namespace is within the Service namespace, so this was forward
declaring a type that didn't exist.
7 years ago
Lioncash
456c7043bd
yuzu/compatdb: Remove unused lambda capture
Silences a compiler warning with clang.
7 years ago
Lioncash
16ea93c11e
vk_memory_manager: Reorder constructor initializer list in terms of member declaration order
Reorders members in the order that they would actually be initialized
in. Silences a -Wreorder warning.
7 years ago
Lioncash
a6a783b3dc
gl_rasterizer: Reorder constructor initializer list in terms of member declaration order
Orders the members in the order they would actually be initialized in.
Silences a -Wreorder warning.
7 years ago
Lioncash
e7eff72e83
gl_shader_disk_cache: Remove #pragma once from cpp file
This is only necessary in headers. Silences a warning with clang.
7 years ago
Lioncash
46b3209abb
core/frontend/emu_window: Make ClipToTouchScreen a const member function
This member function doesn't modify instance state, so it can have the
const specifier applied to it.
7 years ago
Lioncash
0e1b5acc6a
audio_core/audio_renderer: Name previously unknown parameters of AudioRendererParameter
Provides names for previously unknown entries (aside from the two u8
that appear to be padding bytes, and a single word that also appears
to be reserved or padding).
This will be useful in subsequent changes when unstubbing behavior related
to the audio renderer services.
7 years ago
Lioncash
b9238edd0d
common/math_util: Move contents into the Common namespace
These types are within the common library, so they should be within the
Common namespace.
7 years ago
Lioncash
1b855efd5e
common/vector_math: Move Vec[x] types into the Common namespace
These types are within the common library, so they should be using the
Common namespace.
7 years ago
Lioncash
a1574aabd5
common/quaternion: Move Quaternion into the Common namespace
Quaternion is within the common library, so it should be using the
Common namespace.
7 years ago
ReinUsesLisp
d91e35a50a
renderer_opengl: Update pixel format tracking
7 years ago
ReinUsesLisp
5219edd715
maxwell_3d: Use std::bitset to manage dirty flags
7 years ago
ReinUsesLisp
730eb1dad7
vk_stream_buffer: Remove copy code path
7 years ago
Lioncash
d29f9e9709
kernel/handle_table: Make local variables as const where applicable
Makes immutable state explicit.
7 years ago
Lioncash
5167d1577d
kernel/handle_table: Allow process capabilities to limit the handle table size
The kernel allows restricting the total size of the handle table through
the process capability descriptors. Until now, this functionality wasn't
hooked up. With this, the process handle tables become properly restricted.
In the case of metadata-less executables, the handle table will assume
the maximum size is requested, preserving the behavior that existed
before these changes.
7 years ago
Lioncash
4f8cd74061
kernel/handle-table: In-class initialize data members
Directly initializes members where applicable.
7 years ago
Lioncash
0220862ba5
kernel/handle_table: Resolve truncation warnings
Avoids implicit truncation warnings from u32 -> u16 (the truncation is
desirable behavior here).
7 years ago
Lioncash
04d7b7e09d
audio_core/cubeb_sink: Initialize CubebSinkStream's last_frame data member
Ensures that all member variables are initialized in a deterministic
manner across the board.
7 years ago
Lioncash
8250f9bb1c
audio_core/cubeb_sink: Add override specifier to destructor
CubebSinkStream inherits from a base class with a virtual destructor, so
override can be appended to CubebSinkStream's destructor.
7 years ago
Lioncash
7cdeec20ec
audio_core/cubeb_sink: Resolve variable shadowing warnings in SamplesInQueue
The name of the parameter was shadowing the member variable of the same
name. Instead, alter the name of the parameter to prevent said
shadowing.
7 years ago
Lioncash
a12f4efa2f
audio_core/codec: Resolve truncation warnings within DecodeADPCM
The assignments here were performing an implicit truncation from int to
s16. Make it explicit that this is desired behavior.
7 years ago
Lioncash
c1b2e35625
shader/track: Resolve variable shadowing warnings
7 years ago
Lioncash
be7dad5e7e
service/vi: Update IManagerDisplayService's function table
Amends it to add the 7.0.0+ CreateStrayLayer function.
7 years ago
Frederic L
517933adcb
file_sys/vfs_vector: Fix ignored offset on Write
7 years ago