mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-02 08:19:19 +00:00
undefine these functions for now but in the long run we should probably rename them
svn-id: r9231
This commit is contained in:
parent
a05c4bda0f
commit
b17e45c9bc
@ -1612,8 +1612,19 @@ extern int32 IsFxOpen(int32 id);
|
||||
extern int32 SetFxVolumePan(int32 id, uint8 vol, int8 pan);
|
||||
extern int32 SetFxIdVolume(int32 id, uint8 vol);
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#undef timeGetTime
|
||||
#undef VirtualUnlock
|
||||
#undef GlobalMemoryStatus
|
||||
#undef SetFileAttributes
|
||||
#undef GetCurrentDirectory
|
||||
#undef GetVolumeInformation
|
||||
#undef _mkdir
|
||||
#undef GetModuleFileName
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
//-----------------------------------------------------------------------------
|
||||
// Misc functions - from misc.cpp
|
||||
//-----------------------------------------------------------------------------
|
||||
@ -1626,7 +1637,6 @@ extern void GetCurrentDirectory(uint32 max, char* path);
|
||||
extern int32 GetVolumeInformation(char *cdPath, char *sCDName, uint32 maxPath, uint8 *, DWORD *dwMaxCompLength, DWORD *dwFSFlags, uint8 *, uint32 a);
|
||||
extern void _mkdir(const char *pathname);
|
||||
extern void GetModuleFileName(void *module, char *destStr, uint32 maxLen);
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//Macro for calling error handler with source filename and line.
|
||||
|
@ -21,11 +21,9 @@
|
||||
#include "driver96.h"
|
||||
#include "../sword2.h"
|
||||
|
||||
#ifndef WIN32
|
||||
uint32 timeGetTime(void) {
|
||||
return g_bs2->_syst->get_msecs();
|
||||
}
|
||||
#endif
|
||||
|
||||
void VirtualUnlock(uint8 *free_memman, uint32 total_free_memory) {
|
||||
warning("stub VirtualUnlock");
|
||||
@ -54,12 +52,10 @@ int32 GetVolumeInformation(char *cdPath, char *sCDName, uint32 maxPath, uint8 *,
|
||||
return 1;
|
||||
}
|
||||
|
||||
#ifndef WIN32
|
||||
// FIXME wrap different platform specific mkdir calls and actually do something
|
||||
void _mkdir(const char *pathname) {
|
||||
warning("stub _mkdir %s", pathname);
|
||||
}
|
||||
#endif
|
||||
|
||||
void GetModuleFileName(void *module, char *destStr, uint32 maxLen) {
|
||||
warning("stub GetModuleFileName");
|
||||
|
Loading…
x
Reference in New Issue
Block a user