path: root/src/osd/sdl/sdlos_unix.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-148/+0
* did license settings for OG and Andrew, cleared up OSD part for licenses (nw) Miodrag Milanovic2015-05-091-5/+2
* Added license headers to the rest of files (nw) Miodrag Milanovic2015-05-071-0/+2
* Cleanups and version bumpmame0158 Miodrag Milanovic2015-01-281-3/+0
* Aligned sdlfile.c to winfile.c (which is actually included by sdl). couriersud2015-01-101-74/+0
| | | Consequently removed quite some dead code spread across different files.
* For unix and windows, moved osd_ticks() and friends to couriersud2015-01-101-43/+0
| | | | | src/osd/modules/lib. For mainline and SDL windows the implementations slightly differed. Dropped the SDL one in favour of mainline windows osd_ticks() implementation. (nw)
* - Moved OS specific low level code to osd/modules/lib. couriersud2015-01-091-83/+0
| | | | | | - Removed duplicate code - Should support LIB/BASELIB separation better going forward
* [JSMESS] Use emscripten_get_now() instead of gettimeofday() [clb] (nw) Justin Kerk2014-02-131-0/+7
* output of new srcclean changes that are relatively small [smf] smf-2013-01-111-1/+0
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-2/+2
* SDL: support unofficial (not in the OSD class) num_processors API used by ↵ R. Belmont2012-02-261-1/+1
| | | | chdman. Allows chdman to use multiple cores/processors on non-Windows. [R. Belmont]
* updated sdl os-core to compile against stock SDL-2.0 [couriersud]. Couriersud2012-02-121-10/+23
| | | | | | | | | | | - The SDL team has moved from 1.3 to 2.0. At the same time, changes were made to allow SDL1.2 and SDL2.0 to coexist. All SDL2.0 include files are now in /usr/include/SDL2. - Added sdlinc.h to avoid having tons of #ifdef .. #include in the code. - Scalemode is no longer a per-window setting - Fixed a bug in YUV rendering. - Use SDL_GetClipboard (SDL2.0) - Updated README_SDL20.txt Currently, SDL 2.0 is only supported on *nix. Volunteers welcome.
* Oops. Ryan Holtz2011-05-231-1/+1
* HLSL Updates: [Ryan Holtz, Bat Country Entertainment] Ryan Holtz2011-05-221-0/+9
| | | | - Created a new OSD function, osd_get_slider_list, which allows OS-specific slider controls. - Plumbed new OSD-specific slider controls for HLSL parameters on Direct3D 9 targets. And there was much rejoicing.
* (Big tangle of changes that all happened as I was looking into the ROM Aaron Giles2011-04-131-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* osd/sdl again compiles against latest SVN 1.3. SDL 1.3 still is WIP so ↵ Couriersud2011-02-121-2/+2
| | | | expect more changes. No whatsnew.
* Some fixes to keep sdlmame aligned to SDL1.3 development. No whatsnew. Couriersud2010-12-271-1/+7
* - moved opresolv and zippath into /lib/util from MESS [Miodrag Milanovic] Miodrag Milanovic2010-06-161-8/+0
| | | - removed ifdef MESS from osd part since calls are needed by zippath
* Fix the memory leaks with the strconv.c function by Scott Stone2010-04-231-1/+1
| | | using osd_malloc() instead. Fixed other memory leaks as well. [Oliver Stoneberg]
* Cleanups and version bump.mame0136u3 Aaron Giles2010-02-141-1/+1
* osd_get_emulator_directory removed (no credit) Miodrag Milanovic2010-02-131-8/+0
* No credit Couriersud2010-02-131-1/+0
| | | | - put a stub for osd_get_clipboard_text into sdlos_os2.c - removed a misleading statement form sdlos_unix.c
* No credit, please Couriersud2010-02-131-1/+8
| | | | | - put code not actually required in MAME into "#ifdef MESS" - Moved global definition of sdl_cwd from sdl_file.c back to sdl_main.c
* This should fix build. Miodrag Milanovic2010-02-131-1/+2
* - Removed not used OSD functions Miodrag Milanovic2010-02-131-0/+86
| | | | - Placed new functions into sdlos subfiles since they need different implementation (no whatsnew needed)
* Move functions from sdlclip.c to sdlos_* Couriersud2010-02-121-0/+106
| | | - X11 clipboard code will now be compiled and will honor -DNO_X11
* The return of the "misc" Couriersud2010-01-211-36/+6
| | | | | | | | | | - 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-0/+4
| | | | | | - 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-3/+3
* Cosmetic changes, no credit Couriersud2010-01-151-3/+0
* SDLMAME initial import [R. Belmont, Couriersud] R. Belmont2010-01-131-0/+150