mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Fix various comment typos
This commit is contained in:
parent
b0e2642883
commit
f163bd1048
@ -56,4 +56,4 @@ if (DSPTOOL)
|
|||||||
add_subdirectory(DSPTool)
|
add_subdirectory(DSPTool)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# TODO: Add DSPSpy. Preferrably make it option() and cpack component
|
# TODO: Add DSPSpy. Preferably make it option() and cpack component
|
||||||
|
@ -295,7 +295,7 @@ void JitBaseBlockCache::DestroyBlock(int block_num, bool invalidate)
|
|||||||
|
|
||||||
UnlinkBlock(block_num);
|
UnlinkBlock(block_num);
|
||||||
|
|
||||||
// Delete linking adresses
|
// Delete linking addresses
|
||||||
auto it = links_to.equal_range(b.effectiveAddress);
|
auto it = links_to.equal_range(b.effectiveAddress);
|
||||||
while (it.first != it.second)
|
while (it.first != it.second)
|
||||||
{
|
{
|
||||||
|
@ -75,7 +75,7 @@ static const u32 STATE_VERSION = 65; // Last changed in PR 4120
|
|||||||
|
|
||||||
// Maps savestate versions to Dolphin versions.
|
// Maps savestate versions to Dolphin versions.
|
||||||
// Versions after 42 don't need to be added to this list,
|
// Versions after 42 don't need to be added to this list,
|
||||||
// beacuse they save the exact Dolphin version to savestates.
|
// because they save the exact Dolphin version to savestates.
|
||||||
static const std::map<u32, std::pair<std::string, std::string>> s_old_versions = {
|
static const std::map<u32, std::pair<std::string, std::string>> s_old_versions = {
|
||||||
// The 16 -> 17 change modified the size of StateHeader,
|
// The 16 -> 17 change modified the size of StateHeader,
|
||||||
// so versions older than that can't even be decompressed anymore
|
// so versions older than that can't even be decompressed anymore
|
||||||
|
@ -17,7 +17,7 @@ namespace OSX
|
|||||||
Keyboard::Keyboard(IOHIDDeviceRef device, std::string name, void* window)
|
Keyboard::Keyboard(IOHIDDeviceRef device, std::string name, void* window)
|
||||||
: m_device(device), m_device_name(name)
|
: m_device(device), m_device_name(name)
|
||||||
{
|
{
|
||||||
// This class should only recieve Keyboard or Keypad devices
|
// This class should only receive Keyboard or Keypad devices
|
||||||
// Now, filter on just the buttons we can handle sanely
|
// Now, filter on just the buttons we can handle sanely
|
||||||
NSDictionary* matchingElements = @{
|
NSDictionary* matchingElements = @{
|
||||||
@kIOHIDElementTypeKey : @(kIOHIDElementTypeInput_Button),
|
@kIOHIDElementTypeKey : @(kIOHIDElementTypeInput_Button),
|
||||||
|
@ -133,7 +133,7 @@ void StateCache::Init()
|
|||||||
// Root signature isn't available at time of StateCache construction, so fill it in now.
|
// Root signature isn't available at time of StateCache construction, so fill it in now.
|
||||||
gx_state_cache.m_current_pso_desc.pRootSignature = D3D::default_root_signature;
|
gx_state_cache.m_current_pso_desc.pRootSignature = D3D::default_root_signature;
|
||||||
|
|
||||||
// Multi-sample configuration isn't available at time of StateCache construction, so fille it in
|
// Multi-sample configuration isn't available at time of StateCache construction, so fill it in
|
||||||
// now.
|
// now.
|
||||||
gx_state_cache.m_current_pso_desc.SampleDesc.Count = g_ActiveConfig.iMultisamples;
|
gx_state_cache.m_current_pso_desc.SampleDesc.Count = g_ActiveConfig.iMultisamples;
|
||||||
gx_state_cache.m_current_pso_desc.SampleDesc.Quality = 0;
|
gx_state_cache.m_current_pso_desc.SampleDesc.Quality = 0;
|
||||||
@ -154,7 +154,8 @@ void StateCache::Init()
|
|||||||
// - The file itself is corrupt.
|
// - The file itself is corrupt.
|
||||||
// - A driver/HW change has occurred, causing the existing cache blobs to be invalid.
|
// - A driver/HW change has occurred, causing the existing cache blobs to be invalid.
|
||||||
//
|
//
|
||||||
// In either case, we want to re-create the disk cache. This should not be a frequent occurence.
|
// In either case, we want to re-create the disk cache. This should not be a frequent
|
||||||
|
// occurrence.
|
||||||
|
|
||||||
s_pso_disk_cache.Close();
|
s_pso_disk_cache.Close();
|
||||||
|
|
||||||
|
@ -104,7 +104,8 @@ enum Bug
|
|||||||
// Ended Version: -1
|
// Ended Version: -1
|
||||||
// Both Adreno and Mali have issues when you call glBufferSubData or glMapBufferRange
|
// Both Adreno and Mali have issues when you call glBufferSubData or glMapBufferRange
|
||||||
// The driver stalls in each instance no matter what you do
|
// The driver stalls in each instance no matter what you do
|
||||||
// Apparently Mali and Adreno share code in this regard since it was wrote by the same person.
|
// Apparently Mali and Adreno share code in this regard since they were written by the same
|
||||||
|
// person.
|
||||||
BUG_BROKENBUFFERSTREAM,
|
BUG_BROKENBUFFERSTREAM,
|
||||||
// Bug: ARB_buffer_storage doesn't work with ARRAY_BUFFER type streams
|
// Bug: ARB_buffer_storage doesn't work with ARRAY_BUFFER type streams
|
||||||
// Affected devices: GeForce 4xx+
|
// Affected devices: GeForce 4xx+
|
||||||
@ -153,8 +154,8 @@ enum Bug
|
|||||||
// This bug has a secondary issue tied to it unlike other bugs.
|
// This bug has a secondary issue tied to it unlike other bugs.
|
||||||
// The correction of this bug is to check the boolean value against false which results in us
|
// The correction of this bug is to check the boolean value against false which results in us
|
||||||
// not doing a negation of the source but instead checking against the boolean value we want.
|
// not doing a negation of the source but instead checking against the boolean value we want.
|
||||||
// The issue with this is that Intel's Window driver is broken when checking if a boolean value is
|
// The issue with this is that Intel's Windows driver is broken when checking if a boolean value
|
||||||
// equal to true or false, so one has to do a boolean negation of the source
|
// is equal to true or false, so one has to do a boolean negation of the source
|
||||||
//
|
//
|
||||||
// eg.
|
// eg.
|
||||||
// Broken on Qualcomm
|
// Broken on Qualcomm
|
||||||
@ -198,7 +199,7 @@ enum Bug
|
|||||||
// Started Version: -1
|
// Started Version: -1
|
||||||
// Ended Version: -1
|
// Ended Version: -1
|
||||||
// Our ARB_buffer_storage code uses explicit flush to avoid coherent mapping.
|
// Our ARB_buffer_storage code uses explicit flush to avoid coherent mapping.
|
||||||
// Qualcomm seems to have lots of overhead on exlicit flushing, but the coherent mapping path is
|
// Qualcomm seems to have lots of overhead on explicit flushing, but the coherent mapping path is
|
||||||
// fine.
|
// fine.
|
||||||
// So let's use coherent mapping there.
|
// So let's use coherent mapping there.
|
||||||
BUG_BROKENEXPLICITFLUSH,
|
BUG_BROKENEXPLICITFLUSH,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user