eliminat soport per a arguments

This commit is contained in:
2026-04-14 13:09:54 +02:00
parent cf7ea6cc9c
commit 4ac34b8583
17 changed files with 53 additions and 100 deletions

View File

@@ -10,12 +10,10 @@ Actualizando a la versión "Arcade Edition" en 08/05/2024
#define SDL_MAIN_USE_CALLBACKS 1
#include <SDL3/SDL_main.h>
#include <span> // Para span
#include "director.hpp" // Para Director
SDL_AppResult SDL_AppInit(void** appstate, int argc, char* argv[]) {
*appstate = new Director(argc, std::span<char*>(argv, argc));
SDL_AppResult SDL_AppInit(void** appstate, int /*argc*/, char** /*argv*/) {
*appstate = new Director();
return SDL_APP_CONTINUE;
}