The Windows absolute path checker now considers the forward slash as well;
Applied all applicable PCem commits; The PS/1 and PS/2 machines now have the correct graphics cards - fixes the reference diskettes; The open dialog code now changes directory to usr_path after the dialog is closed; Disabled excess logging in the TI SVGA code.
This commit is contained in:
@@ -465,7 +465,7 @@ plat_path_slash(wchar_t *path)
|
||||
int
|
||||
plat_path_abs(wchar_t *path)
|
||||
{
|
||||
if ((path[1] == L':') || (path[0] == L'\\'))
|
||||
if ((path[1] == L':') || (path[0] == L'\\') || (path[0] == L'/'))
|
||||
return(1);
|
||||
|
||||
return(0);
|
||||
|
||||
@@ -198,6 +198,8 @@ file_dlg_w(HWND hwnd, WCHAR *f, WCHAR *fn, int save)
|
||||
r = GetOpenFileName(&ofn);
|
||||
}
|
||||
|
||||
plat_chdir(usr_path);
|
||||
|
||||
if (r) {
|
||||
wcstombs(openfilestring, wopenfilestring, sizeof(openfilestring));
|
||||
// pclog("File dialog return true\n");
|
||||
|
||||
Reference in New Issue
Block a user