Lioncash
22b7e4fcf6
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.
8 years ago
Lioncash
1c77c732e6
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.
8 years ago
Subv
87389ce295
Shaders: Implemented predicate condition 3 (LessEqual) in the fset and fsetp instructions.
8 years ago
bunnei
5f2d36726c
am: Fix GetDesiredLanguage implementation.
8 years ago
bunnei
dea2d271a9
set: Fix GetAvailableLanguageCodes implementation.
8 years ago
bunnei
f2da134385
fermi_2d: Fix surface copy block height.
8 years ago
bunnei
aaa3d91e7c
gl_shader_decompiler: Partially implement I2I_R, and I2F_R.
8 years ago
bunnei
327e24bb8f
gl_shader_decompiler: More cleanups, etc. with how we handle register types.
8 years ago
bunnei
543d4a680f
GLSLRegister: Simplify register declarations, etc.
8 years ago
bunnei
8c6970d20d
shader_bytecode: Add decodings for i2i instructions.
8 years ago
bunnei
f252169fa6
gl_shader_decompiler: Implement MOV32_IMM instruction.
8 years ago
Lioncash
5155b90870
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.
8 years ago
Lioncash
ea0bac3599
log: Remove old logging macros and functions
Now that the old macros are no longer used, we can remove all functionality related to them.
8 years ago
Lioncash
cfd0e7f2d9
renderer_opengl: Replace usages of LOG_GENERIC with fmt-capable equivalents
8 years ago
Lioncash
44d2f427d4
core: Replace usages of LOG_GENERIC with new fmt-capable equivalents
8 years ago
bunnei
2dbd239ed5
gl_shader_decompiler: Add GLSLRegisterManager class to track register state.
8 years ago
Lioncash
324ee31fc3
general: Convert assertion macros over to be fmt-compatible
8 years ago
David Marcec
2810310018
Switched to NGLOG_WARNING
8 years ago
Lioncash
f4cc29c07c
common: Move logging macros over to new fmt-capable macros where applicable
8 years ago
Lioncash
ef3129bf7a
frontends: Move logging macros over to new fmt-capable ones
8 years ago
Lioncash
db4f7293fd
input_common: Move old logging macros over to fmt-capable ones
8 years ago
David Marcec
6f6cac9366
Added PREPO to logging backend, Removed comments from SaveReportWithUser
8 years ago
Lioncash
0a1e044322
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.
8 years ago
Lioncash
67e3bb3e87
common: Remove chunk_file.h and linear_disk_cache.h
These are unused (and given chunk_file references Dolphin's >SVN< I doubt they were going to be used).
8 years ago
bunnei
8e661859a8
gl_shader_decompiler: Boilerplate for handling integer instructions.
8 years ago
bunnei
02771faf4e
gl_shader_decompiler: Move color output to EXIT instruction.
8 years ago
Lioncash
6d0f299ed9
core/gdbstub: Move logging macros to new fmt-compatible ones
8 years ago
Lioncash
ca674a999b
core/hw: Move logging macros over to fmt-capable ones
8 years ago
Lioncash
871e6c0041
kernel/shared_memory: Remove unnecessary semicolon at end of ConvertPermissions()
Functions don't need to be terminated by semicolons.
8 years ago
Lioncash
bd9414dd31
kernel: Migrate logging macros to fmt-compatible ones
8 years ago
Subv
0c04a308d1
GPU: Partially implemented the Fermi2D surface copy operation.
The hardware allows for some rather complicated operations to be performed on the data during the copy, this is not implemented.
Only same-format same-size raw copies are implemented for now.
8 years ago
Subv
1755d4bec3
Shaders: Added bit decodings for the I2I instruction.
8 years ago
Subv
e02112db16
Shaders: Implemented the FSET instruction.
This instruction is similar to the FSETP instruction, but it doesn't set a predicate, it sets the destination register to 1.0 if the condition holds, and 0 otherwise.
8 years ago
Subv
6418127891
Memory: Added a missing shortcut for Memory::CopyBlock for the current process.
8 years ago
Subv
634620b502
GPU: Make the Textures::CopySwizzledData function accessible from the outside of the file.
8 years ago
Subv
284aad1420
GPU: Added a function to retrieve the bytes per pixel of the render target formats.
8 years ago
Subv
bbb15541aa
GPU: Added surface copy registers to Fermi2D
8 years ago
Subv
b0b75e7ae4
GPU: Added boilerplate code for the Fermi2D engine
8 years ago
Subv
94d0d499c3
GPU: Reduce the number of registers of Maxwell3D to 0xE00.
The rest are just macro shim registers.
8 years ago
Subv
219b5d34e7
GPU: Move the Maxwell3D macro uploading code to the inside of the Maxwell3D processor.
It doesn't belong in the PFIFO handler.
8 years ago
Subv
f42b93399f
GPU: Corrected the upper bound of the PFIFO method ids in the command processor.
8 years ago
Lioncash
1cd301f2c0
file-sys: convert a StringFromFormat call into fmt::format in GetFullPath()
Lessens the amount to read and gets rid of the PRIX64 macro, allowing us to use a single string
for the whole path, making it easier to read.
8 years ago
Lioncash
a1dc050bbf
file-sys: Move logging macros over to the new fmt-capable ones
8 years ago
Lioncash
796b5c727d
core/memory: Amend address widths in asserts
Addresses are 64-bit, these formatting specifiers are simply holdovers from citra. Adjust them to be the correct width.
8 years ago
Lioncash
62e427d98f
core/memory: Move logging macros over to new fmt-capable ones
While we're at it, correct addresses to print all 64 bits where applicable, which were holdovers from citra.
8 years ago
Lioncash
f5bd2617a8
video-core: Move logging macros over to new fmt-capable ones
8 years ago
mailwl
cf607e7fca
Service/PCTL: convert to module, add services, stub
PCTL::CreateServiceWithoutInitialize and IParentalControlService::Initialize, required by Kirby Star Allies
8 years ago
Subv
74c89df1c8
Shaders: Added decodings for the FSET instructions.
8 years ago
bunnei
bfb435c994
renderer_opengl: Use correct byte order for framebuffer pixel format ABGR8.
8 years ago
bunnei
1f14d07952
gl_rasterizer_cache: Use CHAR_BIT for bpp conversions instead of 8.
8 years ago