From c14959b0b6d8a835f3b3d9fb03b729db9e8ce7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 27 Jul 2026 21:33:14 +0200 Subject: [PATCH] Buildfix/testfix --- Common/TimeUtil.cpp | 2 +- Core/HLE/sceReg.cpp | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Common/TimeUtil.cpp b/Common/TimeUtil.cpp index 789abbc5d3..e01c3108e8 100644 --- a/Common/TimeUtil.cpp +++ b/Common/TimeUtil.cpp @@ -76,7 +76,7 @@ void TimeInit() { } void TimeShutdown() { -#if PPSSPP_PLATFORM(WINDOWS) +#if PPSSPP_PLATFORM(WINDOWS) && !PPSSPP_PLATFORM(UWP) timeEndPeriod(1); #endif } diff --git a/Core/HLE/sceReg.cpp b/Core/HLE/sceReg.cpp index 4c8331eaec..62ac4220c6 100644 --- a/Core/HLE/sceReg.cpp +++ b/Core/HLE/sceReg.cpp @@ -61,6 +61,9 @@ struct KeyValue { // Partial dump of the PSP registry using tests/misc/reg.prx in pspautotests // TODO: We will need something more dynamic if we want to support writes, too. +// NOTE: updating with a new dump can cause tests to fail. These must stay as-is: +// E {"game_exec_count", ValueType::INT, "", (int)0x00000046}, +// E {"usb_connect_count", ValueType::INT, "", (int)0x000000ec}, // Dump of /DATA/FONT/PROPERTY/INFO0 static const KeyValue tree_DATA_FONT_PROPERTY_INFO0[] = { @@ -454,9 +457,9 @@ static const KeyValue tree_DATA_FONT[] = { // Dump of /DATA/COUNT static const KeyValue tree_DATA_COUNT[] = { { "boot_count", ValueType::INT, "", (int)0x0 }, // decimal: 0 - { "game_exec_count", ValueType::INT, "", (int)0x56 }, // decimal: 86 + { "game_exec_count", ValueType::INT, "", (int)0x46 }, // decimal: 70 { "slide_count", ValueType::INT, "", (int)0x0 }, // decimal: 0 - { "usb_connect_count", ValueType::INT, "", (int)0xf8 }, // decimal: 248 + { "usb_connect_count", ValueType::INT, "", (int)0xec }, // decimal: 236 { "wifi_connect_count", ValueType::INT, "", (int)0x0 }, // decimal: 0 { "psn_access_count", ValueType::INT, "", (int)0x0 }, // decimal: 0 };