Mercurial > vba-clojure
comparison src/sdl/SDL.cpp @ 49:139178c4d843
clojure can now drive vba
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 07 Mar 2012 01:17:53 -0600 |
parents | 3e36553d0cbf |
children | 9d0ec2614443 |
comparison
equal
deleted
inserted
replaced
48:75349da4c344 | 49:139178c4d843 |
---|---|
42 #include "common/movie.h" | 42 #include "common/movie.h" |
43 #include "common/System.h" | 43 #include "common/System.h" |
44 #include "common/inputGlobal.h" | 44 #include "common/inputGlobal.h" |
45 #include "../common/vbalua.h" | 45 #include "../common/vbalua.h" |
46 #include "SoundSDL.h" | 46 #include "SoundSDL.h" |
47 | 47 #include "Drive.h" |
48 | 48 |
49 #define GBC_CAPABLE ((gbRom[0x143] & 0x80) != 0) | 49 #define GBC_CAPABLE ((gbRom[0x143] & 0x80) != 0) |
50 #define SGB_CAPABLE (gbRom[0x146] == 0x03) | 50 #define SGB_CAPABLE (gbRom[0x146] == 0x03) |
51 | 51 |
52 #ifndef WIN32 | 52 #ifndef WIN32 |
2703 | 2703 |
2704 SDL_Quit(); | 2704 SDL_Quit(); |
2705 return 0; | 2705 return 0; |
2706 } | 2706 } |
2707 | 2707 |
2708 // RLM | |
2709 int runVBA(int argc, char **argv){ | |
2710 return main(argc, argv); | |
2711 } | |
2712 | |
2713 | |
2708 void systemMessage(int num, const char *msg, ...) | 2714 void systemMessage(int num, const char *msg, ...) |
2709 { | 2715 { |
2710 char buffer[2048]; | 2716 char buffer[2048]; |
2711 va_list valist; | 2717 va_list valist; |
2712 | 2718 |