summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/sdldir.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups and version bumpmame0158 Miodrag Milanovic2015-01-281-1/+0
|
* Promote osd_getenv from osdlib.h to osdcore.h. Change return type to couriersud2015-01-271-2/+2
| | | "const char*". Fixes netlist compile.
* Aligned sdlfile.c to winfile.c (which is actually included by sdl). couriersud2015-01-101-0/+1
| | | Consequently removed quite some dead code spread across different files.
* - Moved OS specific low level code to osd/modules/lib. couriersud2015-01-091-1/+1
| | | | | | - Removed duplicate code - Should support LIB/BASELIB separation better going forward
* SDL: fall through to the baseline Win32 implementations for file, socket, ↵ R. Belmont2014-08-311-1/+7
| | | | | | | and pty/named pipe I/O. [R. Belmont] nw: This fixes laserdisc games and enables socket and named pipe I/O in SDL Windows builds.
* Upstream changes needed to compile JSMESS [Justin Kerk, John Vilk, Justin ↵ Justin Kerk2013-11-031-1/+1
| | | | | | de Vesine] Out of whatsnew: there are still a few files being worked on, and the build scripts which are currently set up outside of the MAME source hierarchy. Always open to cleaner ways of doing things.
* Cleanups and version bumpmame0148u4 Miodrag Milanovic2013-04-301-1/+1
|
* SDL: Fix symlink handling by internal file manager. [qmc2] R. Belmont2013-04-131-6/+23
|
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-2/+1
|
* Final round of struct/union/enum normalization. Aaron Giles2012-09-161-1/+1
|
* SDL: Preliminary Haiku OS support [PulkoMandy] R. Belmont2012-05-281-1/+1
|
* (Big tangle of changes that all happened as I was looking into the ROM Aaron Giles2011-04-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loader rewrite, which is still in progress....) Replaced mamedriv.c with a new driver list mechanism that is generated by the build tools. The emulator core now expects the presence of a file called src/$(TARGET)/$(SUBTARGET).lst which is just a raw list of driver names, one per line. C and C++ comments are still permitted. This file is parsed by a new build tool makelist which extracts the driver names, sorts them, and generates a file called drivlist.c, which is consumed by the core. [Aaron Giles] Added new osdcore function osd_malloc_array() which is identical to osd_malloc() but obviously hints that the underlying allocation is for an array. Updated all callers to use the appropriate form. Modified the Windows allocator to only use guard pages for array-style allocations, allowing us to enable them once again in debug builds. [Aaron Giles] Created new static class driver_list to wrap accesses to the list of available drivers. Improved speed of driver lookups by relying on the presorting done by makelist. [Aaron Giles] Created helper class driver_enumerator as a helper for iterating through the list of drivers. This class supports basic filtering and iteration, and also serves as a temporary cache of machine_configs. [Aaron Giles] Created cli_frontend object to wrap all the CLI handling code in clifront.c. Updated/simplified all the code to take advantage of the driver_enumerator. [Aaron Giles] Created media_auditor object to wrap all the auditing functions in audit.c. Updated all users to the new interface. Note that the new auditing mechanism is slightly out of sync with the romload code in terms of finding ROMs owned by devices, so it may mis-report some issues until the new ROM loading code is in. [Aaron Giles] Added concept of a per-device searchpath. For most devices, their searchpath is just the short name of the device. For driver_devices, the searchpath is driver[;parent[;bios]]. This searchpath will eventually be used by the rom loader to find ROMs. For now it is used by the media auditor only. [Aaron Giles] Created info_xml_creator object to wrap all the info generation functions in info.c. Converted the file to C++ and cleaned up the input processing code. [Aaron Giles] (not for whatsnew ... Known issues: auditing of CHDs appears busted, and debug builds report unfreed memory if you use the built-in game picker)
* Cleanups and version bump.mame0136u3 Aaron Giles2010-02-141-2/+2
|
* - sdldir.c: Cleanup the #ifdef hell a bit. Couriersud2010-02-141-28/+22
| | | | - sdlfile.c: Cosmetic cleanups; what's the point in having #ifdef'd code for pwrite and lseek/fwrite, will get rid of that later.
* Fix sdldir.c Couriersud2010-02-141-12/+27
| | | | - For most targets this only worked when reading the current directory. - Build full path now for stat so the file is actually found.
* The return of the "misc" Couriersud2010-01-211-15/+12
| | | | | | | | | | - Added sdlmisc_<targetos>.c again. This was necessary since certain tools create stubs for e.g. osd_break_into_debugger. If we do not have this in a separate file, the link stage may break. - Applied OS/2 patch [Credit: KO Myung-Hun] - Cleaned up #includes. Removed stdlib.h were possible. - More malloc to osd_malloc rename. - SDL monitor modes are read now when they are needed. This is now consistent across platforms.
* Removed stdlib.h from osdcomm.h. Couriersud2010-01-171-1/+7
| | | | | | - Added #include stdlib.h where now necessary Fixed Solaris build Fixed building unidasm for OSD=sdl on win32
* Cleanups and version bump. Aaron Giles2010-01-161-2/+2
|
* SDLMAME initial import [R. Belmont, Couriersud] R. Belmont2010-01-131-0/+204