diff 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
line wrap: on
line diff
     1.1 --- a/src/sdl/SDL.cpp	Wed Mar 07 00:36:53 2012 -0600
     1.2 +++ b/src/sdl/SDL.cpp	Wed Mar 07 01:17:53 2012 -0600
     1.3 @@ -44,7 +44,7 @@
     1.4  #include "common/inputGlobal.h"
     1.5  #include "../common/vbalua.h"
     1.6  #include "SoundSDL.h"
     1.7 -
     1.8 +#include "Drive.h"
     1.9  
    1.10  #define GBC_CAPABLE ((gbRom[0x143] & 0x80) != 0)
    1.11  #define SGB_CAPABLE (gbRom[0x146] == 0x03)
    1.12 @@ -2705,6 +2705,12 @@
    1.13    return 0;
    1.14  }
    1.15  
    1.16 +// RLM
    1.17 +int runVBA(int argc, char **argv){
    1.18 +  return main(argc, argv);
    1.19 +}
    1.20 +
    1.21 +
    1.22  void systemMessage(int num, const char *msg, ...)
    1.23  {
    1.24    char buffer[2048];