| 187 |
// Command line options. |
// Command line options. |
| 188 |
extern BOOL full_screen; |
extern BOOL full_screen; |
| 189 |
|
|
|
#if defined(DEBUG) |
|
|
|
|
|
inline void Debug(const char *format, ...) |
|
|
{ |
|
|
va_list args; |
|
|
va_start(args, format); |
|
|
char tmp[256]; |
|
|
vsprintf(tmp, format, args); |
|
|
va_end(args); |
|
|
OutputDebugString(tmp); |
|
|
} |
|
|
|
|
|
#else |
|
|
|
|
|
inline void Debug(const char *format, ...) |
|
|
{ |
|
|
} |
|
|
|
|
|
#endif |
|
|
|
|
|
#define DebugResult(message, val) \ |
|
|
Debug("%s: 0x%x (%d)\n", message, val, HRESULT_CODE(val)) |
|
|
|
|
| 190 |
#endif |
#endif |
| 191 |
|
|
| 192 |
|
|
| 214 |
extern C64 *TheC64; |
extern C64 *TheC64; |
| 215 |
|
|
| 216 |
|
|
| 217 |
|
/* |
| 218 |
|
* Functions |
| 219 |
|
*/ |
| 220 |
|
|
| 221 |
|
// Determine whether path name refers to a directory |
| 222 |
|
extern bool IsDirectory(const char *path); |
| 223 |
|
|
| 224 |
#endif |
#endif |