Some minor FIXME tweaks.
This commit is contained in:
parent
51a22c576e
commit
8b0988a038
|
@ -2134,6 +2134,7 @@ int PHYSFS_setBuffer(PHYSFS_File *handle, PHYSFS_uint64 _bufsize)
|
||||||
PHYSFS_uint32 bufsize;
|
PHYSFS_uint32 bufsize;
|
||||||
|
|
||||||
/* !!! FIXME: Unlocalized string. */
|
/* !!! FIXME: Unlocalized string. */
|
||||||
|
/* !!! FIXME: actually, why use 32 bits here? */
|
||||||
BAIL_IF_MACRO(_bufsize > 0xFFFFFFFF, "buffer must fit in 32-bits", 0);
|
BAIL_IF_MACRO(_bufsize > 0xFFFFFFFF, "buffer must fit in 32-bits", 0);
|
||||||
bufsize = (PHYSFS_uint32) _bufsize;
|
bufsize = (PHYSFS_uint32) _bufsize;
|
||||||
|
|
||||||
|
|
|
@ -292,12 +292,10 @@ static int findApiSymbols(void)
|
||||||
if (dll != NULL)
|
if (dll != NULL)
|
||||||
LOOKUP_NOFALLBACK(GetUserProfileDirectoryW, osHasUnicode);
|
LOOKUP_NOFALLBACK(GetUserProfileDirectoryW, osHasUnicode);
|
||||||
|
|
||||||
/* !!! FIXME: what do they call advapi32.dll on Win64? */
|
|
||||||
dll = libAdvApi32 = LoadLibraryA("advapi32.dll");
|
dll = libAdvApi32 = LoadLibraryA("advapi32.dll");
|
||||||
if (dll != NULL)
|
if (dll != NULL)
|
||||||
LOOKUP(GetUserNameW, osHasUnicode);
|
LOOKUP(GetUserNameW, osHasUnicode);
|
||||||
|
|
||||||
/* !!! FIXME: what do they call kernel32.dll on Win64? */
|
|
||||||
dll = libKernel32 = LoadLibraryA("kernel32.dll");
|
dll = libKernel32 = LoadLibraryA("kernel32.dll");
|
||||||
if (dll != NULL)
|
if (dll != NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue