Commit Graph

11 Commits

Author SHA1 Message Date
Jeremy517 3c2da3cf2e Fix ROM Browser for network shares
This part of cleanPathString was supposed to de-dupe backslashes in the directory name, and then insert a backslash to the start of directory if the directory originally started with \\ (so that the string again started with \\).  However, because the call to rDirectory.replace was specifying a length of 1, it was always replacing \ with \ instead of replacing \\ with \.  When the backslash was then inserted at the start of the directory, the directory string now began with \\\ instead of \\.  This broke the ROM browser when using a network share (such as \\myserver\Emulation\Games).
2015-08-10 00:02:44 -07:00
Emmet Young 6e897778dc Remove registry from Common. No longer used or needed. 2015-05-03 21:05:53 +10:00
unknown ae04d23d86 [Common] some scope and spacing formatting clean-ups
Miserably hated doing this commit.  Couldn't tell which code was whose, which was copyrighted, which was foreign enough to Project64 that I'd probably best just leave-as is, which was even worth considering part of Project64, which cleanups to omit doing and ignore because some ugly practices were rampant throughout the entire file and distracted from the purpose of this pull request too much.  So tried to stick to mostly just the braces/indentation changes here.
2015-03-17 17:19:42 -04:00
Emmet Young 6a3836d40f Initial Cleanup of Path.cpp, remove no longer used functions 2015-02-16 17:13:37 +11:00
zilmar 9eceed0fef #pull request 42 2015-02-01 06:27:27 +11:00
Nicholas 862eb7c48b Add support for Visual Studio 2013 2015-01-27 16:07:44 +11:00
zilmar 9e9fdc25bc Common: Update std string class 2013-04-17 20:29:48 +10:00
zilmar dcf9762fb2 CPath: If create dir, and testing if can change in it, revert to previous current dir 2013-04-15 13:48:06 +10:00
zilmar 3e0e336a52 git-svn-id: https://localhost/svn/Project64/trunk@20 111125ac-702d-7242-af9c-5ba8ae61c1ef 2009-12-28 22:22:50 +00:00
zilmar c99c1d6a6f git-svn-id: https://localhost/svn/Project64/trunk@3 111125ac-702d-7242-af9c-5ba8ae61c1ef 2008-11-14 20:47:53 +00:00
zilmar 28c5a7e77c git-svn-id: https://localhost/svn/Project64/trunk@2 111125ac-702d-7242-af9c-5ba8ae61c1ef 2008-09-18 03:15:49 +00:00