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. 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;