Prep for PS5Driver #19

Merged
cosmonaut merged 1 commits from TheSpydog/Refresh:main into main 2022-08-14 20:45:26 +00:00
2 changed files with 15 additions and 3 deletions

View File

@ -34,7 +34,12 @@
/* Drivers */ /* Drivers */
static const Refresh_Driver *drivers[] = { static const Refresh_Driver *drivers[] = {
#ifdef REFRESH_DRIVER_VULKAN
&VulkanDriver, &VulkanDriver,
#endif
#ifdef REFRESH_DRIVER_PS5
&PS5Driver,
#endif
NULL NULL
}; };

View File

@ -36,9 +36,15 @@
/* Logging */ /* Logging */
extern void Refresh_LogInfo(const char *fmt, ...); #ifdef __cplusplus
extern void Refresh_LogWarn(const char *fmt, ...); extern "C" {
extern void Refresh_LogError(const char *fmt, ...); #endif
void Refresh_LogInfo(const char *fmt, ...);
void Refresh_LogWarn(const char *fmt, ...);
void Refresh_LogError(const char *fmt, ...);
#ifdef __cplusplus
}
#endif
/* Internal Helper Utilities */ /* Internal Helper Utilities */
@ -525,6 +531,7 @@ typedef struct Refresh_Driver
} Refresh_Driver; } Refresh_Driver;
extern Refresh_Driver VulkanDriver; extern Refresh_Driver VulkanDriver;
extern Refresh_Driver PS5Driver;
#endif /* REFRESH_DRIVER_H */ #endif /* REFRESH_DRIVER_H */