Lioncash
8e063b0b2c
am: Utilize std::array within PopLaunchParameter()
Gets rid of the potential for C array-to-pointer decay, and also makes
pointer arithmetic to get the end of the copy range unnecessary. We can
just use std::array's begin() and end() member functions.
7 years ago
bunnei
b809f96a90
Merge pull request #1143 from lioncash/inc
sdmc_factory: Remove unnecessary core include
7 years ago
bunnei
9e9b607888
Merge pull request #1139 from lioncash/bitfield
bit_field: Convert ToBool() into explicit operator bool
7 years ago
bunnei
3c8b5821d4
Merge pull request #1140 from FearlessTobi/port-4056
Port #4056 from Citra: "Add Clear Recent Files menu action"
7 years ago
Mat M
68e172a90c
Merge pull request #1144 from MerryMage/MAX_LAG_TIME_US
perf_stats: Change MAX_LAG_TIME_US to an appropriate value
7 years ago
MerryMage
2336c6bb5f
perf_stats: Change MAX_LAG_TIME_US to an appropriate value
25us is far too small, and would result in std::this_thread::sleep_for
being called with this as a maximum value. This means that a guest
application that produces frames instantly would only be limited to
40 kHz.
25ms is a more appropriate value, as it allows for a 60 Hz refresh
rate while providing enough slack in the negative region.
7 years ago
Lioncash
1c234d2e03
sdmc_factory: Remove unnecessary core include
This doesn't require the central core header to be included, it just
needs the vfs headers.
7 years ago
fearlessTobi
230bf50dda
Port #3902 from Citra: "Add restart hotkey & menu option"
7 years ago
fearlessTobi
51fbaae33b
Port #4056 from Citra: "Add Clear Recent Files menu action"
7 years ago
Lioncash
d6812d9e92
bit_field: Convert ToBool() into explicit operator bool
Gets rid of a TODO that is long overdue.
7 years ago
tech4me
5e70a75986
qt/main: Port part of citra( #3411 ), open savedata works
7 years ago
bunnei
cd3cf87aaa
Merge pull request #1123 from lioncash/screen
rasterizer_interface: Remove renderer-specific ScreenInfo type from AccelerateDraw() in RasterizerInterface
7 years ago
bunnei
38a103aca4
Merge pull request #1129 from lioncash/header
romfs_factory, service/filesystem: Use forward declarations where applicable
7 years ago
bunnei
dda8fe0b56
Merge pull request #1132 from Subv/gl_FragDepth
Shaders: Implement depth writing in fragment shaders.
7 years ago
bunnei
c0e983b953
Merge pull request #1134 from lioncash/log
renderer_opengl: Use LOG_DEBUG for GL_DEBUG_SEVERITY_NOTIFICATION and GL_DEBUG_SEVERITY_LOW logs
7 years ago
bunnei
98ba049746
Merge pull request #1121 from Subv/tex_reinterpret
Rasterizer: Use PBOs to reinterpret texture formats when games re-use the same memory.
7 years ago
Lioncash
7ed85cccca
renderer_opengl: Use LOG_DEBUG for GL_DEBUG_SEVERITY_NOTIFICATION and GL_DEBUG_SEVERITY_LOW logs
LOG_TRACE is only enabled on debug builds which can be quite slow when
trying to debug graphics issues. Instead we can log the messages to the
debug log, which is available on both release and debug builds.
7 years ago
bunnei
b3546e839d
Merge pull request #1133 from lioncash/guard
gl_stream_buffer: Add missing header guard
7 years ago
Lioncash
1d77a31e1d
service/filesystem: Use forward declarations where applicable
Avoids the need to rebuild multiple source files if the filesystem code
headers change.
This also gets rid of a few instances of indirect inclusions being
relied upon
7 years ago
Lioncash
80ce7b69d5
gl_stream_buffer: Add missing header guard
Prevents potential compilation errors from occuring due to multiple
inclusions
7 years ago
Subv
ca79c467bb
Shaders: Implement depth writing in fragment shaders.
We'll write <last color output reg + 2> to gl_FragDepth.
7 years ago
bunnei
0383fbfc00
Merge pull request #1126 from lioncash/telem
telemetry_session: Don't allocate std::string instances for program lifetime in GetTelemetryId() and RegenerateTelemetryId()
7 years ago
bunnei
8e3dc543a2
Merge pull request #1131 from bunnei/impl-tex3d-texcube
gl_shader_decompiler: Implement TextureCube/Texture3D for TEX/TEXS.
7 years ago
bunnei
03668508cb
Merge pull request #1106 from Subv/multiple_rendertargets
Shaders: Write all the enabled color outputs when a fragment shader exits.
7 years ago
bunnei
f0e1387103
shader_bytecode: Replace some UNIMPLEMENTED logs.
7 years ago
bunnei
e8eee95c8e
gl_shader_decompiler: Implement Texture3D for TEXS.
7 years ago
bunnei
1ac135d85b
gl_shader_decompiler: Implement TextureCube for TEX.
7 years ago
bunnei
56f817cdd1
Merge pull request #1130 from Subv/tex_2d
Shaders: Fixed texture coordinates in TEX with Texture2D
7 years ago
Subv
7b21918d83
Shaders: Fixed the coords in TEX with Texture2D.
The X and Y coordinates should be in gpr8 and gpr8+1, respectively.
This fixes the cutscene rendering in Sonic Mania.
7 years ago
Subv
c65f043274
Shaders: Log and crash when using an unimplemented texture type in a texture sampling instruction.
7 years ago
bunnei
6a3f07784a
Merge pull request #1122 from lioncash/acc
acc/profile_manager: General cleanup
7 years ago
bunnei
1ba756cca3
Merge pull request #1125 from bunnei/update-dynarmic
externals: Update dynarmic to a42f301c.
7 years ago
Lioncash
935346a9b2
romfs_factory: Remove unnecessary includes and use forward declarations where applicable
Avoids the need to rebuild whatever includes the romfs factory header if
the loader header ever changes. We also don't need to include the main
core header. We can instead include the headers we specifically need.
7 years ago
bunnei
821b9d1901
Merge pull request #1095 from DarkLordZach/sysarchives
filesystem: Add support for loading of system archives
7 years ago
James Rowe
7714c59d56
Merge pull request #1127 from yuzu-emu/revert-838-port-3616
Revert "Port #3616 from Citra: "appveyor: set jobs to 4 for mingw""
7 years ago
Zach Hilman
461343ca9b
Revert "Port #3616 from Citra: "appveyor: set jobs to 4 for mingw""
7 years ago
Lioncash
35e0f49b3f
telemetry_session: Don't allocate std::string instances for program lifetime in GetTelemetryId() and RegenerateTelemetryId()
Given these functions aren't intended to be used frequently, there's no
need to keep the std::string instances allocated for the whole lifetime
of the program. It's just a waste of memory.
7 years ago
bunnei
5e68f4a523
externals: Update dynarmic to a42f301c.
7 years ago
Lioncash
2b5eb5254d
acc: Replace profile_manager include with a forward declaration
This is only used in a shared_ptr, so we can forward declare it.
7 years ago
Lioncash
d643659275
acc: Simplify WriteBuffer call within LoadImage()
We have an overload of WriteBuffer that accepts containers that satisfy
the ContiguousContainer concept, which std::array does, so we only need
to pass in the array itself.
7 years ago
Lioncash
477a9f8a66
acc: Correct IProfile's constructor initializer list order
Arranges them in the order the members would be initialized
7 years ago
Lioncash
f645b3ef5a
acc: Remove unused DEFAULT_USER_ID
This is no longer used, so it can be removed.
7 years ago
Lioncash
b3c07b97df
profile_manager: Use INVALID_UUID in the initializer of last_opened_user
Makes it a little bit more self-documenting.
7 years ago
Lioncash
f035a384b1
profile_manager: Remove unnecessary memcpy in GetProfileBaseAndData()
Given the source and destination types are the same std::array type, we
can simply use regular assignment to perform the same behavior.
7 years ago
Lioncash
280b278b33
profile_manager: Use type aliases for username data, profile data, and user arrays
Avoids the need to repeatedly specify the whole array type in multiple
places.
7 years ago
Lioncash
4fbaf3e0af
profile_manager: Take ProfileInfo by const reference where applicable
ProfileInfo is quite a large struct in terms of data, and we don't need
to perform a copy in these instances, so we can just pass constant
references instead.
7 years ago
Lioncash
3b6af2a6f7
profile_manager: Make array parameter to CreateNewUser a const reference
This doesn't modify the passed in array, so this can be a const
reference.
7 years ago
Lioncash
4b39dd7d47
profile_manager: Remove unnecessary static
This can just be constexpr like the others
7 years ago
Lioncash
30c2015a2e
profile_manager: Simplify UUID's two param constructor, operator==, and operator bool
We can use the constructor initializer list and just compare the
contained u128's together instead of comparing each element
individually. Ditto for comparing against an invalid UUID.
7 years ago
Lioncash
29ee3bc8d6
profile_manager: Move UUID generation function to the cpp file
This avoids needing to dump the contents of <random> into other files
that include the profile manager header.
7 years ago