summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-02 08:20:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-02 09:34:17 +0200
commitf2faf7acf4445fef2a149ebbdecb569a2d119d94 (patch)
tree6629ba211a70a54a0ab82f6c4f4de08504072951 /proto-ft
parent66e75860d0c54baa39ed789442b09b96eeebe2e6 (diff)
nothing important
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp10
-rw-r--r--proto-ft/lang/nl_NL.ts4
-rw-r--r--proto-ft/lang/ru_RU.ts4
-rw-r--r--proto-ft/lang/stub.ts4
-rw-r--r--proto-ft/lang/zh_CN.ts4
5 files changed, 13 insertions, 13 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index bf99a94f..7bc85afa 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -20,8 +20,8 @@ freetrack::~freetrack()
dummyTrackIR.close();
}
-static_assert(sizeof(LONG) == sizeof(std::int32_t), "");
-static_assert(sizeof(LONG) == 4u, "");
+static_assert(sizeof(LONG) == sizeof(std::int32_t));
+static_assert(sizeof(LONG) == 4u);
static constexpr inline float d2r = float(M_PI/180);
@@ -35,8 +35,8 @@ cc_noinline void store(float volatile& place, const float value)
value_.f32 = value;
- static_assert(sizeof(value_) == sizeof(float), "");
- static_assert(offsetof(decltype(value_), f32) == offsetof(decltype(value_), i32), "");
+ static_assert(sizeof(value_) == sizeof(float));
+ static_assert(offsetof(decltype(value_), f32) == offsetof(decltype(value_), i32));
(void)InterlockedExchange((LONG volatile*)&place, value_.i32);
}
@@ -44,7 +44,7 @@ cc_noinline void store(float volatile& place, const float value)
template<typename t>
cc_forceinline void store(t volatile& place, t value)
{
- static_assert(sizeof(t) == 4u, "");
+ static_assert(sizeof(t) == 4u);
(void)InterlockedExchange((LONG volatile*) &place, value);
}
diff --git a/proto-ft/lang/nl_NL.ts b/proto-ft/lang/nl_NL.ts
index e2b72543..ec4f58da 100644
--- a/proto-ft/lang/nl_NL.ts
+++ b/proto-ft/lang/nl_NL.ts
@@ -56,11 +56,11 @@ Starting tracking will again overwrite the DLL locations.</source>
<context>
<name>freetrack</name>
<message>
- <source>Can&apos;t load freetrack memory mapping</source>
+ <source>Unknown game</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Unknown game</source>
+ <source>Can&apos;t load freetrack memory mapping</source>
<translation type="unfinished"></translation>
</message>
</context>
diff --git a/proto-ft/lang/ru_RU.ts b/proto-ft/lang/ru_RU.ts
index d749121c..c793ae6b 100644
--- a/proto-ft/lang/ru_RU.ts
+++ b/proto-ft/lang/ru_RU.ts
@@ -58,11 +58,11 @@ Starting tracking will again overwrite the DLL locations.</source>
<context>
<name>freetrack</name>
<message>
- <source>Can&apos;t load freetrack memory mapping</source>
+ <source>Unknown game</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Unknown game</source>
+ <source>Can&apos;t load freetrack memory mapping</source>
<translation type="unfinished"></translation>
</message>
</context>
diff --git a/proto-ft/lang/stub.ts b/proto-ft/lang/stub.ts
index 4962332f..635844a5 100644
--- a/proto-ft/lang/stub.ts
+++ b/proto-ft/lang/stub.ts
@@ -56,11 +56,11 @@ Starting tracking will again overwrite the DLL locations.</source>
<context>
<name>freetrack</name>
<message>
- <source>Can&apos;t load freetrack memory mapping</source>
+ <source>Unknown game</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Unknown game</source>
+ <source>Can&apos;t load freetrack memory mapping</source>
<translation type="unfinished"></translation>
</message>
</context>
diff --git a/proto-ft/lang/zh_CN.ts b/proto-ft/lang/zh_CN.ts
index 903ce19b..442a1aa1 100644
--- a/proto-ft/lang/zh_CN.ts
+++ b/proto-ft/lang/zh_CN.ts
@@ -56,11 +56,11 @@ Starting tracking will again overwrite the DLL locations.</source>
<context>
<name>freetrack</name>
<message>
- <source>Can&apos;t load freetrack memory mapping</source>
+ <source>Unknown game</source>
<translation type="unfinished"></translation>
</message>
<message>
- <source>Unknown game</source>
+ <source>Can&apos;t load freetrack memory mapping</source>
<translation type="unfinished"></translation>
</message>
</context>