[Bug 14935] Final Fantasy 7 exits on start with no error messages
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Aug 21 08:43:23 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=14935
Louis Lenders <xerox_xerox2000 at yahoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xerox_xerox2000 at yahoo.co.uk
--- Comment #1 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk> 2008-08-21 08:43:23 ---
as far i as i can see there's an unusual try of closing the same key twice , so
the last try returns ERROR_INVALID_HANDLE. Of course I don't know if that's the
problem, but you could try hack below if that's the reason why the program
aborts. ( Is this a very old game btw?)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index 9ce3da0..dc7988a 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -915,7 +915,8 @@ LSTATUS WINAPI RegCloseKey( HKEY hkey )
{
if (!hkey) return ERROR_INVALID_HANDLE;
if (hkey >= (HKEY)0x80000000) return ERROR_SUCCESS;
- return RtlNtStatusToDosError( NtClose( hkey ) );
+ RtlNtStatusToDosError( NtClose( hkey ));
+ return 0;
}
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list