mame/scripts
npwoods 3d553eda60 Attempted to sanitize/rationalize how we access UTF-8 command line arguments (#2532)
Specifically, this creates a call osd_get_command_line() that returns UTF-8 command line arguments as std::vector<std::string>.  On non-Windows platforms, this does nothing more than build the vector.  On Windows, this invokes GetCommandLineW() and CommandLineToArgvW().  This also attempts to unwind usage of wmain()/_tmain() on Windows, which is not standard.

Related to this, this fixes a bug in Imgtool; specifically, non-7 bit ASCII was not being handled correctly in Windows.

This is really an admission that the way that Windows handles Unicode and command line arguments sucks, and it is my belief that having a wmain() or _tmain() declaration specific for Windows is a worse solution.  C'est la vie.

I'm very open to the idea that src/osd/osdcore.[cpp|h] is not the best place to do this.  Let me know if I should move it.
2017-09-18 20:28:53 -04:00
..
build Add support for layout item groups, replace simple_list with more 2017-07-29 15:17:14 +10:00
font coretmpl: add an associative LRU cache with map-like behaviour 2016-12-15 17:00:34 +11:00
minimaws Python 3.3 doesn't work right (nw) 2017-08-25 14:18:20 +10:00
resources Export soft_reset, hard_reset, exit, load, and save functions for Emscripten builds 2017-07-15 15:17:29 +10:00
src Attempted to sanitize/rationalize how we access UTF-8 command line arguments (#2532) 2017-09-18 20:28:53 -04:00
target New machines added or promoted from NOT_WORKING status 2017-09-15 20:51:26 +02:00
extlib.lua Fixed building using system utf8proc 2017-01-26 09:28:21 +11:00
genie.lua Modification for Android build (NDK r14b, build-tools 21.1.2 and gradle 2.2.1) (#2585) 2017-08-23 13:09:38 +10:00
toolchain.lua Modification for Android build (NDK r14b, build-tools 21.1.2 and gradle 2.2.1) (#2585) 2017-08-23 13:09:38 +10:00