Commit Graph

6656 Commits (99f12b05fa19e46d2dd482c6bde954046f5fd5bd)
 

Author SHA1 Message Date
bunnei 8262aeeac8
Merge pull request #429 from Subv/ioctl_corruption
GPU: Don't write to invalid memory locations when handling ioctls that don't have an output.
7 years ago
David ff2f0d980a GetSharedFontInOrderOfPriority (#381)
* GetSharedFontInOrderOfPriority

* Update pl_u.cpp

* Ability to use ReadBuffer and WriteBuffer with different buffer indexes, fixed up GetSharedFontInOrderOfPriority

* switched to NGLOG

* Update pl_u.cpp

* Update pl_u.cpp

* language_code is actually language code and not index

* u32->u64

* final cleanups
7 years ago
Subv 0c8b7c00e8 GPU: Don't write to invalid memory locations when handling ioctls that don't have an output. 7 years ago
bunnei f362cf46ee
Merge pull request #425 from lioncash/namespace
core_timing: Namespace all functions and constants in core_timing's header
7 years ago
Lioncash 0197e28cc9
core_timing: Namespace all functions and constants in core_timing's header
All of these variables and functions are related to timings and should be within the namespace.
7 years ago
bunnei 81a0082f6b
Merge pull request #424 from lioncash/string
string_util: Remove StringFromFormat() and related functions
7 years ago
bunnei 225ff1130f
Merge pull request #422 from bunnei/shader-mov
Shader instructions MOV_C, MOV_R, and several minor GPU things
7 years ago
bunnei b3962e7d1e
Merge pull request #423 from lioncash/file
file_util: Minor changes to IOFile
7 years ago
Lioncash 3abba08080
string_util: Remove StringFromFormat() and related functions
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
7 years ago
Lioncash e8bbafb746
file_util: Make move constructor/assignment operator and related functions noexcept
Without this, it's possible to get compilation failures in the (rare) scenario where
a container is used to store a bunch of live IOFile instances, as they may be using
std::move_if_noexcept under the hood. Given these definitely don't throw exceptions
this is also not incorrect to add either.
7 years ago
Lioncash 40d2dcabd7
file_util: Add static assertions to ReadBytes() and WriteBytes()
Ensure that the actual types being passed in are trivially copyable. The internal
call to ReadArray() and WriteArray() will always succeed, since they're passed a pointer to char*
which is always trivially copyable.
7 years ago
bunnei f41eb95e13 maxwell_3d: Reset vertex counts after drawing. 7 years ago
bunnei 08b8fcbe6d gl_shader_decompiler: Implement MOV_R. 7 years ago
bunnei 316327f487 maxwell_to_gl: Implement type SignedNorm, Size_8_8_8_8. 7 years ago
bunnei c7ce472eeb shader_bytecode: Add decoding for FMNMX instruction. 7 years ago
bunnei 869075867b
Merge pull request #421 from Subv/sh_pred3
Shaders: Implemented predicate condition 3 (LessEqual) in the fset and fsetp instructions.
7 years ago
Subv da32c648bf Shaders: Implemented predicate condition 3 (LessEqual) in the fset and fsetp instructions. 7 years ago
bunnei a71346cd7c gl_shader_decompiler: Implement MOV_C. 7 years ago
bunnei 6c464a2a4a
Merge pull request #416 from bunnei/shader-ints-p3
gl_shader_decompiler: Implement MOV32I, partially implement I2I, I2F
7 years ago
bunnei 49d92aa661
Merge pull request #417 from bunnei/lang-codes
set/am: Fix code for getting language codes
7 years ago
bunnei 334e859ab1 am: Fix GetDesiredLanguage implementation. 7 years ago
bunnei 17b16cf6f6 set: Fix GetAvailableLanguageCodes implementation. 7 years ago
Sebastian Valle faa431b274
Merge pull request #418 from bunnei/copy-block-height
fermi_2d: Fix surface copy block height.
7 years ago
bunnei f87ea8fa8b fermi_2d: Fix surface copy block height. 7 years ago
bunnei 0c01c34eff gl_shader_decompiler: Partially implement I2I_R, and I2F_R. 7 years ago
bunnei e73927cfc2 gl_shader_decompiler: More cleanups, etc. with how we handle register types. 7 years ago
bunnei c691fa4074 GLSLRegister: Simplify register declarations, etc. 7 years ago
bunnei f2dcb39049 shader_bytecode: Add decodings for i2i instructions. 7 years ago
bunnei a7b5ab4d9a gl_shader_decompiler: Implement MOV32_IMM instruction. 7 years ago
bunnei 3d9126ba87
Merge pull request #414 from lioncash/cruft
file_util: Remove compiler version checks around is_trivially_copyable
7 years ago
bunnei 7fd54fed92
Merge pull request #413 from lioncash/dynarmic
externals: Update dynarmic
7 years ago
Lioncash 5d9ee12b1a
file_util: Remove compiler version checks around is_trivially_copyable()
The minimum clang/GCC versions we support already support this. We can also
remove is_standard_layout(), as fread and fwrite only require the type to be
trivially copyable.
7 years ago
bunnei bad00085ca
Merge pull request #412 from lioncash/log
log: Remove old logging macros and functions
7 years ago
Lioncash e56e2a1528
externals: Update dynarmic
Just a basic update to keep it in sync
7 years ago
Mat M 99ac33de20
Merge pull request #411 from lioncash/travis
travis: Use Xcode 9.3 instead of 9.2
7 years ago
Lioncash d43c49264f
log: Remove old logging macros and functions
Now that the old macros are no longer used, we can remove all functionality related to them.
7 years ago
bunnei 6b365f7703
Merge pull request #408 from bunnei/shader-ints-p2
gl_shader_decompiler: Add GLSLRegisterManager class to track register state.
7 years ago
bunnei 41dde2394b
Merge pull request #410 from lioncash/generic
core/renderer_opengl: Replace usages of LOG_GENERIC with fmt-capable equivalents
7 years ago
Lioncash 5a579f66a0
travis: Use Xcode 9.3 instead of 9.2
Keeps the toolchains up to date.
7 years ago
Lioncash 16198f979e
renderer_opengl: Replace usages of LOG_GENERIC with fmt-capable equivalents 7 years ago
Lioncash 843dd62c81
core: Replace usages of LOG_GENERIC with new fmt-capable equivalents 7 years ago
bunnei e6242ab5e6 gl_shader_decompiler: Add GLSLRegisterManager class to track register state. 7 years ago
bunnei acede1f1d3
Merge pull request #409 from lioncash/assert
general: Convert assertion macros over to be fmt-compatible
7 years ago
Lioncash 8475496630
general: Convert assertion macros over to be fmt-compatible 7 years ago
bunnei 3c40496409
Merge pull request #380 from ogniK5377/service-impl
Implemented some useful interfaces needed for games.
7 years ago
David Marcec abc23416e8 Switched to NGLOG_WARNING 7 years ago
bunnei 4f120a9ec0
Merge pull request #406 from lioncash/frontend
frontends: Move logging macros over to new fmt-capable ones
7 years ago
bunnei 18f8012233
Merge pull request #407 from lioncash/common
common: Move logging macros over to new fmt-capable macros where applicable
7 years ago
bunnei 3e0ec3dbd7
Merge pull request #405 from lioncash/input
input_common: Move old logging macros over to fmt-capable ones
7 years ago
Lioncash 3cfe77ae75
common: Move logging macros over to new fmt-capable macros where applicable 7 years ago