Remove more SDL references

This commit is contained in:
Godzil 2020-11-14 20:27:58 +00:00
parent 8976d4363f
commit 564e0ea2e6
3 changed files with 1 additions and 6 deletions

View File

@ -15,7 +15,6 @@
#include <fcntl.h>
#include <time.h>
#include <unistd.h>
#include "SDL.h"
#include "source/log.h"
#include "source/rom.h"
#include "source/nec/nec.h"
@ -122,9 +121,6 @@ int ws_mk_ieppath()
int main(int argc, char *argv[])
{
atexit(SDL_Quit);
SDL_Init(SDL_INIT_TIMER);
if (!log_init(LOG_PATH))
{
printf("Warning: cannot open log file %s\n",LOG_PATH);

View File

@ -1,5 +1,5 @@
set(SOURCES audio.cpp emulate.cpp gpu.cpp io.cpp log.cpp memory.cpp rom.cpp ws.cpp)
set(HEADERS audio.h emulate.h gpu.h ieeprom.h initialIo.h io.h log.h memory.h rom.h SDLptc.h ws.h)
set(HEADERS audio.h emulate.h gpu.h ieeprom.h initialIo.h io.h log.h memory.h rom.h ws.h)
add_library(wswan ${SOURCES} ${HEADERS})

View File

@ -21,7 +21,6 @@ extern char app_window_title[256];
extern int app_gameRunning;
extern int app_terminate;
extern int app_fullscreen;
extern SDL_Event app_input_event;
extern int app_rotated;