Merge pull request #4116 from leoetlino/lint-real-fix
Tools: Fix the lint script (for real, this time -- and the last time)
This commit is contained in:
commit
4c9c456846
|
@ -905,8 +905,8 @@ void UpdateTitle()
|
|||
(u32)Movie::GetCurrentFrame(), FPS, VPS, Speed);
|
||||
else if (Movie::IsRecordingInput())
|
||||
SFPS = StringFromFormat("Input: %u - VI: %u - FPS: %.0f - VPS: %.0f - %.0f%%",
|
||||
(u32)Movie::GetCurrentInputCount(), (u32)Movie::GetCurrentFrame(), FPS, VPS,
|
||||
Speed);
|
||||
(u32)Movie::GetCurrentInputCount(), (u32)Movie::GetCurrentFrame(), FPS,
|
||||
VPS, Speed);
|
||||
else
|
||||
{
|
||||
SFPS = StringFromFormat("FPS: %.0f - VPS: %.0f - %.0f%%", FPS, VPS, Speed);
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "DiscIO/Enums.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/Logging/Log.h"
|
||||
#include "DiscIO/Enums.h"
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
|
|
|
@ -148,7 +148,8 @@ void Init()
|
|||
s_signal_token_interrupt = false;
|
||||
s_signal_finish_interrupt = false;
|
||||
|
||||
et_SetTokenFinishOnMainThread = CoreTiming::RegisterEvent("SetTokenFinish", SetTokenFinish_OnMainThread);
|
||||
et_SetTokenFinishOnMainThread =
|
||||
CoreTiming::RegisterEvent("SetTokenFinish", SetTokenFinish_OnMainThread);
|
||||
}
|
||||
|
||||
void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
|
||||
|
@ -218,8 +219,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
|
|||
}));
|
||||
|
||||
// Token register, readonly.
|
||||
mmio->Register(base | PE_TOKEN_REG,
|
||||
MMIO::ComplexRead<u16>([](u32) { return s_token; }),
|
||||
mmio->Register(base | PE_TOKEN_REG, MMIO::ComplexRead<u16>([](u32) { return s_token; }),
|
||||
MMIO::InvalidWrite<u16>());
|
||||
|
||||
// BBOX registers, readonly and need to update a flag.
|
||||
|
|
|
@ -312,8 +312,8 @@ void Renderer::DrawDebugText()
|
|||
{
|
||||
final_cyan += StringFromFormat("Frame: %llu", (unsigned long long)Movie::GetCurrentFrame());
|
||||
if (Movie::IsPlayingInput())
|
||||
final_cyan +=
|
||||
StringFromFormat("\nInput: %llu / %llu", (unsigned long long)Movie::GetCurrentInputCount(),
|
||||
final_cyan += StringFromFormat("\nInput: %llu / %llu",
|
||||
(unsigned long long)Movie::GetCurrentInputCount(),
|
||||
(unsigned long long)Movie::GetTotalInputCount());
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
fail=0
|
||||
|
||||
# Check for clang-format issues.
|
||||
for f in $(git diff --name-only --diff-filter=ACMRTUXB); do
|
||||
for f in $(git diff --name-only --diff-filter=ACMRTUXB --cached); do
|
||||
if ! echo "${f}" | egrep -q "[.](cpp|h|mm)$"; then
|
||||
continue
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue