mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 01:14:56 +00:00
added spdlog library
This commit is contained in:
parent
f998469730
commit
72bdf22035
5 changed files with 15 additions and 3 deletions
|
@ -14,7 +14,7 @@
|
|||
#include <SDL3/SDL_opengl.h>
|
||||
#endif
|
||||
|
||||
#include <fmt/core.h>
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
// This example can also compile and run with Emscripten! See 'Makefile.emscripten' for details.
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
@ -24,7 +24,7 @@
|
|||
// Main code
|
||||
int main(int, char**)
|
||||
{
|
||||
fmt::print("Hello, world!\n");
|
||||
spdlog::info("Welcome to spdlog!");
|
||||
// Setup SDL
|
||||
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_GAMEPAD) != 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue