Ameer
34e6084c8d
Reset adapter state on init, fixes errors relating driver hang from unexpected unplug
6 years ago
Ameer
0c6128cc3a
Address feedback regarding increments, const vars, and general cleanup
6 years ago
Ameer
ed72085227
fix implicit conversion of size_t type to int
6 years ago
Ameer J
21ae845d69
left const auto&, comment punctuation.
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
6 years ago
Ameer J
eb06e3e8bf
const& to button in button array
Co-authored-by: VolcaEM <63682805+VolcaEM@users.noreply.github.com>
6 years ago
Ameer
677a07c253
Stop reading loop if error is encountered
6 years ago
Ameer
7c10c568da
padbutton enum class and struct initiailization
6 years ago
Ameer
39ca7c675c
cleanup check access, read, and factory GetNextInput funcs. Use size rather than magic number
6 years ago
Ameer
ef0b52563d
Fix deallocation of GC Adapter
6 years ago
Ameer
e8c8a5bafd
Small quality of life indication that mapped button is GC
6 years ago
Ameer
f071a70fec
std::array and const reference passing of non-trivial objects
6 years ago
ameerj
14bb562028
Update src/input_common/main.cpp
Co-authored-by: LC <mathew1800@gmail.com>
update libusb submodule (hopefully windows build error fixed)
6 years ago
Ameer
5479427335
Tidy up the pointers, use pair over tuple where appropriate
6 years ago
Ameer
a0f8f1dc5e
fix for sleep using stl
6 years ago
Ameer
92a812d815
shared_ptr for the GC adapter class, constexpr constants
6 years ago
Ameer
4a54dc6bbf
std::arrays where appropriate, clear q in adapter class, other touch ups
6 years ago
Ameer
5ebed7b1bb
fix include thread
6 years ago
Ameer
eddf2d0f4e
Singleton GC Adapter class, remove globals, fix naming convention
Fix clang formatting
Manual fix for configure_input_player formatting
Add missing lib usb cmake command
6 years ago
Ameer
77ae7fe5dd
Clang Formatting
6 years ago
Ameer
243dbee81e
Cleanup after linter
6 years ago
Ameer
dbe1ad4fe4
GC Adapter Implementation
6 years ago
MerryMage
0192b77e5b
macro_jit_x64: Use ecx for shift register
shl/shr only accept cl as their second argument
6 years ago
Lioncash
64418ecaee
gl_arb_decompiler: Avoid several string copies
Variables that are marked as const cannot have the move constructor
invoked when returning from a function (the move constructor requires a
non-const variable so it can "steal" the resources from it.
6 years ago
Lioncash
909f289531
macro_jit_x64: Correct readability of Compile_ExtractShiftLeftImmediate()
Previously dst wasn't being used.
6 years ago
Lioncash
d7fa20d641
macro_jit_x64: Correct readability of Compile_ExtractShiftLeftRegister()
Previously dst wasn't being used.
6 years ago
Lioncash
a99150a132
macro_jit_x64: Remove unused variable
Removes a completely unused label and marks another variable as unused,
given it seems like it has potential uses in the future.
6 years ago
David Marcec
55654b5a12
Add translation of "Current Boxcat Events"
6 years ago
MerryMage
b26ff8fa86
input_common/motion_emu: Remove redundant move
Named return value optimization automatically applies here.
6 years ago
MerryMage
38f25284c8
input_common/keyboard: Remove redundant move
Named return value optimization automatically applies here.
6 years ago
MerryMage
b8983782ca
mii_model: Remove redundant std::move
Named return value optimization automatically applies here.
6 years ago
David Marcec
39ef4c6d57
Fix compilation when not building with boxcat
Fixes compilation when trying to build without boxcat enabled
6 years ago
MerryMage
82b575087f
macro_jit_x64: Remove unused function Read
6 years ago
ReinUsesLisp
a0cbf4f4e8
arm_dynarmic_32: Fix implicit conversion error in SetTPIDR_EL0
On MSVC builds we treat conversion warnings as errors.
6 years ago
MerryMage
638087a937
bootmanager: Remove references to OpenGL for macOS
OpenGL macOS headers definitions clash heavily with each other
6 years ago
MerryMage
23d63c30e1
memory_manager: Explicitly specifcy std::min<size_t>
6 years ago
MerryMage
042bb8824b
shared_font: Service::NS::EncryptSharedFont takes a size_t&
6 years ago
MerryMage
470ba358f9
vk_rasterizer: BindTransformFeedbackBuffersEXT accepts a size of type VkDeviceSize
6 years ago
MerryMage
abf5dd9d60
renderer_vulkan: Fix macOS GetBundleDirectory reference
6 years ago
MerryMage
ce9c74b4df
memory_util: boost hashes are size_t
* boost::hash_value returns a size_t
* boost::hash_combine takes a size_t& argument
6 years ago
MerryMage
61ba55fcc1
Rename PAGE_SHIFT to PAGE_BITS
macOS header files #define PAGE_SHIFT
6 years ago
Morph
5874c2da9c
vk_sampler_cache: Emulate GL_LINEAR/NEAREST minification filters
Emulate GL_LINEAR/NEAREST minification filters using minLod = 0 and maxLod = 0.25 during sampler creation
6 years ago
Morph
687473de86
maxwell_to_vk: Reorder filter cases and correct mipmap_filter=None
maxwell_to_vk: Reorder filtering modes to start with None, then Nearest, then Linear.
maxwell_to_vk: Logs filter modes under UNREACHABLE_MSG instead of UNIMPLEMENTED_MSG, since any unknown filter modes are invalid and not unimplemented.
maxwell_to_vk: Return VK_SAMPLER_MIPMAP_MODE_NEAREST instead of VK_SAMPLER_MIPMAP_MODE_LINEAR when mipmap_filter is None with the description from the VkSamplerCreateInfo(3) man page.
6 years ago
Morph
1cff2bea24
maxwell_to_gl: Miscellaneous changes
maxwell_to_gl: Log unimplemented features under UNIMPLEMENTED_MSG instead of LOG_ERROR to bring into parity with maxwell_to_vk
maxwell_to_gl: Deduplicate logging in VertexType(), merging them into one.
maxwell_to_gl: Return GL_NEAREST instead of GL_LINEAR if an unknown texture filter mode is encountered.
maxwell_to_gl: Log the mipmap filter mode if an unknown value is passed in.
maxwell_to_gl: Reorder filtering modes to start with None, then Nearest, then Linear.
6 years ago
MerryMage
c0be8dd9d8
macro_jit_x64: Inline Engines::Maxwell3D::GetRegisterValue
6 years ago
MerryMage
8055a71e00
arm_dynarmic_cp15: Implement CNTPCT
6 years ago
MerryMage
0ac9600204
arm_dynarmic_cp15: Update CP15
6 years ago
MerryMage
fc1c12b2c9
arm_dynarmic_32: InterpreterFallback should never happen
6 years ago
MerryMage
3585126153
macro_jit_x64: Optimization implicitly assumes same destination
6 years ago
MerryMage
b12de7b4e5
macro_jit_x64: Should not skip zero registers for certain ALU ops
The code generated for these ALU ops assume src_a and src_b are always valid.
6 years ago
Morph
0c9a78da75
gl_device: Reserve at least 4 image bindings for fragment stage
Due to the limitation of GL_MAX_IMAGE_UNITS being low (8) on Intel's and Nvidia's proprietary drivers, we have to reserve an appropriate amount of image bindings for each of the stages. So far games have been observed to use 4 image bindings on the fragment stage (Kirby Star Allies) and 1 on the vertex stage (TWD series).
No games thus far in my limited testing used more than 4 images concurrently and across all currently active programs.
This fixes shader compilation errors on Kirby Star Allies on OpenGL (GLSL/GLASM)
6 years ago