Previous 199869 Revisions Next

r36838 Tuesday 31st March, 2015 at 16:03:18 UTC by Vasantha Crabb
Restore SDL2_MULTIAPI
[/trunk]makefile
[scripts/src/osd]sdl.lua sdl_cfg.lua

trunk/makefile
r245349r245350
330330PARAMS += --SDL_LIBVER='$(SDL_LIBVER)'
331331endif
332332
333ifdef SDL2_MULTIAPI
334PARAMS += --SDL2_MULTIAPI='$(SDL2_MULTIAPI)'
335endif
336
333337ifdef SDL_INSTALL_ROOT
334338PARAMS += --SDL_INSTALL_ROOT='$(SDL_INSTALL_ROOT)'
335339endif
trunk/scripts/src/osd/sdl.lua
r245349r245350
225225end
226226
227227newoption {
228   trigger = "SDL2_MULTIAPI",
229   description = "Use couriersud's multi-keyboard patch for SDL 2.1? (this API was removed prior to the 2.0 release)",
230   allowed = {
231      { "0",  "Use single-keyboard API"  },
232      { "1",  "Use multi-keyboard API"   },
233   },
234}
235
236if not _OPTIONS["SDL2_MULTIAPI"] then
237   _OPTIONS["SDL2_MULTIAPI"] = "0"
238end
239
240newoption {
228241   trigger = "SDL_INSTALL_ROOT",
229242   description = "Equivalent to the ./configure --prefix=<path>",
230243}
trunk/scripts/src/osd/sdl_cfg.lua
r245349r245350
6262   defines {
6363      "SDLMAME_SDL2=1",
6464   }
65   if _OPTIONS["SDL2_MULTIAPI"]=="1" then
66      defines {
67         "SDL2_MULTIAPI",
68      }
69   end
6570else
6671   defines {
6772      "SDLMAME_SDL2=0",


Previous 199869 Revisions Next


© 1997-2024 The MAME Team