Hanasaku Manimani [BLJM61071]
Started by BlackDaemon




2 posts in this topic
BlackDaemon
Moderator
*****


2
844 posts 374 threads Joined: Aug 2017
01-13-2016, 09:33 AM -
#1
Tested on recent master build. Goes ingame with path-fix by kd-11. Requires libSre and SpursJq LLE'd.

sys_fs.cpp
replace
Code:
std::shared_ptr<vfsStream> file(Emu.GetVFS().OpenFile(path.get_ptr(), open_mode));
to
Code:
const char *path_ptr = path.get_ptr();

    if (strstr(path.get_ptr(), "/dev_hdd0") &&
        strncmp(path.get_ptr(), "/dev_hdd0", 9))
    {
        path_ptr = strstr(path_ptr, "/dev_hdd0");

        LOG_ERROR(HLE, "Path contains device root path but not at the start!");
        LOG_ERROR(HLE, "Path given is (%s), modified to (%s)", path.get_ptr(), path_ptr);
    }
    
    std::shared_ptr<vfsStream> file(Emu.GetVFS().OpenFile(path_ptr, open_mode));


Messages In This Thread
RE: Hanasaku Manimani [BLJM61071] - by BlackDaemon - 01-13-2016, 09:33 AM
RE: Hanasaku Manimani [BLJM61071] - by tambre - 01-13-2016, 12:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)