mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-22 05:05:56 +00:00
Name no operating system in the oe log lines, so Linux logs stop saying Windows.
The application environment and performance request lines and the services probe's locale line said Windows on every host; a Steam Deck tester's log printed them on SteamOS.
This commit is contained in:
1 parent
7285688165
commit
6b4b228fdd
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -275,7 +275,7 @@ static void probe_oe(void) {
|
||||
free(keep_locale);
|
||||
checks++;
|
||||
failures += bad > 0;
|
||||
printf("oe: language %s by default (en-US locale), %s for this Windows user locale; %d locale/TOTK_LANG cases %s\n",
|
||||
printf("oe: language %s by default (en-US locale), %s for this user's locale; %d locale/TOTK_LANG cases %s\n",
|
||||
def, sys, (int)(sizeof cases / sizeof *cases), bad ? "FAILED" : "ok");
|
||||
|
||||
CALL("oe.Initialize", 0);
|
||||
|
||||
+2
-2
@@ -114,13 +114,13 @@ static void ov_desired_language(Cpu *c) {
|
||||
ret_x(c, v);
|
||||
}
|
||||
|
||||
static void ov_oe_initialize(Cpu *c) { (void)c; rt_log("oe: application environment: local Windows process"); }
|
||||
static void ov_oe_initialize(Cpu *c) { (void)c; rt_log("oe: application environment: a local host process"); }
|
||||
|
||||
// void SetPerformanceConfiguration(PerformanceMode mode, int config)
|
||||
static void ov_performance_config(Cpu *c) {
|
||||
int64_t mode = (int32_t)arg_x(c, 0);
|
||||
if (mode < 0 || mode > 1) rt_fatal("nn::oe::SetPerformanceConfiguration: invalid mode %lld", (long long)mode);
|
||||
rt_log("oe: performance request mode %lld configuration %#x: Windows schedules the CPU", (long long)mode,
|
||||
rt_log("oe: performance request mode %lld configuration %#x: the host OS schedules the CPU", (long long)mode,
|
||||
(uint32_t)arg_x(c, 1));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user