This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hanasaku Manimani [BLJM61071]
#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));


Attached Files Thumbnail(s)
       
Reply
#2
(01-13-2016, 09:33 AM)BlackDaemon Wrote: Tested on recent master build. Goes ingame with path-fix by kd-11. Requires libSre and SpursJq LLE'd.

I would rather call it a hack, until the behaviour can be proven on an actual PS3, which is highly doubtful. Likely a HLE issue of another module.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)