Skip to content

Commit ed552f8

Browse files
Record the scoped Ocarina offline play-report fix
1 parent 4f25737 commit ed552f8

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

‎dm/ios/Engines/NxNative/README.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,16 @@ Apply `ocarina-m2-opening-movie.patch` to the pinned 60.57 Ocarina Metal 3
4242
renderer. Source SHA-256 before patching:
4343

4444
- `dm/gfx/nvn/nvn_mtl_legacy.inc`: `4a5bf9dfb5e825d1ac9e1122c7a53fdd841346a0d47f88ae54100accafcc0c4a`
45+
46+
## Ocarina of Time: offline play-report service (M2 60.61)
47+
48+
After the opening video reached end of stream, the game opened `prepo:u`
49+
directly and aborted with `0xe15` when the service was absent. Admit that name
50+
to the existing in-process HIPC responder only in the Ocarina framework.
51+
The responder does not send telemetry or touch saved data. The Metal 3
52+
renderer, sealed shader chain and all six guest sections stay unchanged.
53+
54+
Apply `ocarina-m2-offline-play-report.patch` to the pinned Ocarina 60.60
55+
engine's `dm/host/hle_sf.c`, whose SHA-256 is
56+
`4e37968a18e54f1a00b4bb516665aaa6973cb96cb8d14f83e608b953cd99b6f4`. Relink just the Ocarina framework;
57+
the shared iOS engine does not use this patch.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--- a/dm/host/hle_sf.c
2+
+++ b/dm/host/hle_sf.c
3+
@@ -15,7 +15,9 @@
4+
#define SF_MAX 64
5+
static struct { char name[16]; int used, domain; unsigned seen; } g_sf[SF_MAX];
6+
static pthread_mutex_t g_sf_mu = PTHREAD_MUTEX_INITIALIZER;
7+
-static const char *const sf_served[] = {"olsc:u"};
8+
+// This object is linked only into Ocarina. Its post-intro SDK opens
9+
+// PlayReport directly. Use the existing local response path; send nothing.
10+
+static const char *const sf_served[] = {"olsc:u", "prepo:u"};
11+
-
12+
+
13+
static int sf_slot(uint32_t h) {
14+
unsigned i = h - SF_H0;

0 commit comments

Comments
 (0)