mirror of
https://github.com/libretro/RetroArch
synced 2024-12-28 09:29:16 +00:00
20 lines
383 B
C
20 lines
383 B
C
#ifndef __SSNES_GENERAL_H
|
|
#define __SSNES_GENERAL_H
|
|
|
|
#include <stdbool.h>
|
|
#include <samplerate.h>
|
|
|
|
#define SSNES_LOG(msg, args...) do { \
|
|
if (verbose) \
|
|
fprintf(stderr, "SSNES: " msg, ##args); \
|
|
} while(0)
|
|
|
|
#define SSNES_ERR(msg, args...) do { \
|
|
fprintf(stderr, "SSNES [ERROR] :: " msg, ##args); \
|
|
} while(0)
|
|
|
|
extern bool verbose;
|
|
extern SRC_STATE *source;
|
|
|
|
#endif
|