mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-17 17:05:02 +00:00
added fmt library
This commit is contained in:
parent
222d0204db
commit
f998469730
5 changed files with 12 additions and 2 deletions
|
@ -14,6 +14,8 @@
|
|||
#include <SDL3/SDL_opengl.h>
|
||||
#endif
|
||||
|
||||
#include <fmt/core.h>
|
||||
|
||||
// This example can also compile and run with Emscripten! See 'Makefile.emscripten' for details.
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#include "../libs/emscripten/emscripten_mainloop_stub.h"
|
||||
|
@ -22,6 +24,7 @@
|
|||
// Main code
|
||||
int main(int, char**)
|
||||
{
|
||||
fmt::print("Hello, world!\n");
|
||||
// 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