forked from Dniel97/segatools
fixed amfs/appdata redirects
This commit is contained in:
parent
e40e1dffe3
commit
ae199502e8
@ -68,7 +68,7 @@ static void aime_io_config_read(
|
|||||||
cfg->felica_path,
|
cfg->felica_path,
|
||||||
_countof(cfg->felica_path),
|
_countof(cfg->felica_path),
|
||||||
filename);
|
filename);
|
||||||
dprintf("NFC: felicaPath GetLastError %lx\n", GetLastError());
|
// dprintf("NFC: felicaPath GetLastError %lx\n", GetLastError());
|
||||||
|
|
||||||
cfg->felica_gen = GetPrivateProfileIntW(
|
cfg->felica_gen = GetPrivateProfileIntW(
|
||||||
L"aime",
|
L"aime",
|
||||||
|
@ -466,10 +466,10 @@ static HRESULT vfs_path_hook_option(
|
|||||||
|
|
||||||
static HRESULT vfs_reg_read_amfs(void *bytes, uint32_t *nbytes)
|
static HRESULT vfs_reg_read_amfs(void *bytes, uint32_t *nbytes)
|
||||||
{
|
{
|
||||||
return reg_hook_read_wstr(bytes, nbytes, vfs_config.amfs); // seems to be busted?
|
return reg_hook_read_wstr(bytes, nbytes, L"E:\\");
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT vfs_reg_read_appdata(void *bytes, uint32_t *nbytes)
|
static HRESULT vfs_reg_read_appdata(void *bytes, uint32_t *nbytes)
|
||||||
{
|
{
|
||||||
return reg_hook_read_wstr(bytes, nbytes, vfs_config.appdata);
|
return reg_hook_read_wstr(bytes, nbytes, L"Y:\\");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user