Turn off roundrect test on LogoScreen, reduce logging

This commit is contained in:
Henrik Rydgård committed 2026-10-24 10:35:11 +02:00
1 parent e16cc84d9f
commit 3dc01bd318
4 files changed
+3 -9

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@ TextDrawerUWP::TextDrawerUWP(Draw::DrawContext *draw) : TextDrawer(draw), ctx_(n
std::string nname = ConvertWStringToUTF8(name);
NOTICE_LOG(Log::G3D, "Font family: %s", nname.c_str());
// INFO_LOG(Log::G3D, "Font family: %s", nname.c_str());
names->Release();
family->Release();
+1 -5
View File
@@ -65,16 +65,12 @@ static const float g_GranuleWindow[256] = {
0.0000216492f, 0.0000113187f, 0.0000050749f, 0.0000016272f
};
inline s16 clampfloat_s16(float f) {
static inline s16 clampfloat_s16(float f) {
if (f <= -32767.0f) return -32767;
if (f >= 32767.0f) return 32767;
return (s16)f;
}
GranularMixer::GranularMixer() {
INFO_LOG(Log::Audio, "Mixer is initialized");
}
// Executed from sound stream thread
void GranularMixer::Mix(s16 *samples, u32 num_samples, int outSampleRate, float fpsEstimate) {
_dbg_assert_(samples);
-2
View File
@@ -39,8 +39,6 @@ struct GranularStats {
class GranularMixer final {
public:
explicit GranularMixer();
// Called from audio threads
void Mix(s16 *samples, u32 numSamples, int outSampleRate, float vpsEstimate);
+1 -1
View File
@@ -469,7 +469,7 @@ void LogoScreen::DrawForeground(UIContext &dc) {
uint32_t textColor = colorAlpha(dc.GetTheme().infoStyle.fgColor, alphaText);
// TEMPORARY: Round rect test. Fixed seed so they stay put between frames.
{
if (false) {
uint32_t seed = 12345;
auto rnd = [&seed]() {
seed = seed * 1664525 + 1013904223;