From 435fd12a99158ae024966fb9bdf43ed6eee8572b Mon Sep 17 00:00:00 2001 From: Filip Kolinsky Date: Tue, 7 Oct 2025 22:12:52 +0200 Subject: [PATCH 1/2] fix: Corrected variable usage in _cnh_redir_fshook_rename function --- src/main/capnhook/hooklib/redir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/capnhook/hooklib/redir.c b/src/main/capnhook/hooklib/redir.c index c345b66..652b5a7 100644 --- a/src/main/capnhook/hooklib/redir.c +++ b/src/main/capnhook/hooklib/redir.c @@ -205,7 +205,7 @@ static enum cnh_result _cnh_redir_fshook_rename(struct cnh_fshook_irp *irp) _cnh_redir_init(); res_old = _cnh_redir_check(irp->rename_old); - res_new = _cnh_redir_check(irp->rename_old); + res_new = _cnh_redir_check(irp->rename_new); if (res_old != NULL) { irp->rename_old = res_old; From 9055a4a0e4980e77f72cb93fa674f706ab0eb298 Mon Sep 17 00:00:00 2001 From: Filip Kolinsky Date: Sat, 23 May 2026 17:56:04 +0200 Subject: [PATCH 2/2] Update doc so users know to manually create MachineProfile folder --- doc/hook/prohook.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/hook/prohook.md b/doc/hook/prohook.md index bc1b012..061e977 100644 --- a/doc/hook/prohook.md +++ b/doc/hook/prohook.md @@ -49,7 +49,7 @@ You need two main folders: * `game` folder with the following contents * All data zip files (e.g. `data0.zip`, `data1.zip`, ..., `encore.zip`) * An empty file `FX` (if you run this on a FX or other cabinet with a widescreen monitor) -* `save ` folder. Contents are generated automatically if empty. +* `save` folder and `MachineProfile` inside of it . You must create these folders manually, rest of the files will populate themselves. **Without doing so the game will not save settings or high scores between boots.** ## USB thumb drive/profile support Without any patches, the game's way of handling USB thumb drives is incompatible to the kernels of the last years.