summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
Commit message (Collapse)AuthorAgeFilesLines
* Fix osx compile. Wilbert Pol2011-03-281-3/+3
|
* Another fix for SDL build, not seen by win32 build (no whatsnew) Miodrag Milanovic2011-03-281-1/+1
|
* Fix compile for SDL build (no whatsnew) Miodrag Milanovic2011-03-281-3/+3
|
* Cleanup of machine.h. Shuffled some fields around, and moved several Aaron Giles2011-03-2811-17/+17
| | | | | | | | | | | | | to private member variables with accessors: machine->m_respool ==> machine->respool() machine->config ==> machine->config() machine->gamedrv ==> machine->system() machine->m_regionlist ==> machine->first_region() machine->sample_rate ==> machine->sample_rate() Also converted internal lists to use simple_list.
* sdl-config flags are now separated into INCFLAGS and COMFLAGS in sdl.mak. ↵ Couriersud2011-03-261-1/+2
| | | | This fixes "make depend". [Couriersud]
* Fix font loading in sdlmame. BDF files are just loaded as TTF by ↵ Couriersud2011-03-267-40/+49
| | | | | TTF_OpenFont. Load is now protected by a magic check. Also fixed a bug in SDL1.3 keyboard mapping and changed SDL1.3 code to be compatible with recent 1.3 API changes. [Couriersud]
* Cleanups and version bump.mame0141u4 Aaron Giles2011-03-251-4/+4
|
* Fixed parsing of uimodekey from .ini on SDL [Fabio Priuli] Fabio Priuli2011-03-111-2/+2
|
* Mapped KEYCODE_BACKSLASH2 to the OEM_102 key (located between LShift and Z ↵ Curt Coder2011-03-101-0/+1
| | | | on international keyboard layouts). [Curt Coder]
* SDL: Fix uimodekey for MESS [Barry Rodewald, R. Belmont] R. Belmont2011-03-072-75/+87
|
* Converted core_options to a class. Removed a bunch of marginal Aaron Giles2011-03-0317-361/+498
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functionality in favor of alternate mechanisms. Errors are now reported via an astring rather than via callbacks. Every option must now specify a type (command, integer, float, string, boolean, etc). Command behavior has changed so that only one command is permitted. [Aaron Giles] Changed fileio system to accept just a raw searchpath instead of an options/option name combination. [Aaron Giles] Created emu_options class dervied from core_options which wraps core emulator options. Added mechanisms to cleanly change the system name and add/remove system-specific options, versus the old way using callbacks. Also added read accessors for all the options, to ensure consistency in how parameters are handled. Changed most core systems to access emu_options instead of core_options. Also changed machine->options() to return emu_options. [Aaron Giles] Created cli_options class derived from emu_options which adds the command-line specific options. Updated clifront code to leverage the new class and the new core behaviors. cli_execute() now accepts a cli_options object when called. [Aaron Giles] Updated both SDL and Windows to have their own options classes, derived from cli_options, which add the OSD-specific options on top of everything else. Added accessors for all the options so that queries are strongly typed and simplified. [Aaron Giles] Out of whatsnew: I've surely screwed up some stuff, though I have smoke tested a bunch of things. Let me know if you hit anything odd. Also I know this change will impact the WINUI stuff, please let me know if there are issues. All the functionality necessary should still be present. If it's not obvious, please talk to me before adding stuff to the core_options class.
* Fix OS/2 compile [K.O. Myung-Hun] R. Belmont2011-02-281-0/+11
|
* Cleanups and version bump.mame0141u3 Aaron Giles2011-02-283-7/+7
|
* Fix pastebin hash (no whatsnew) R. Belmont2011-02-171-1/+1
|
* SDL: GLSL now works for all pixel formats; fixed memory leak on textures [cgwg] R. Belmont2011-02-171-11/+24
|
* osd/sdl again compiles against latest SVN 1.3. SDL 1.3 still is WIP so ↵ Couriersud2011-02-124-51/+64
| | | | expect more changes. No whatsnew.
* Fix SDL. Maybe. (no whatsnew) R. Belmont2011-02-125-24/+24
|
* mame_file is now emu_file and is a class. It is required Aaron Giles2011-02-1220-158/+157
| | | | | | | | | | | | | | | | | | | | | | | | to pass a core_options object to the constructor, along with a search path. This required pushing either a running_machine or a core_options through some code that wasn't previously ready to handle it. emu_files can be reused over multiple open/close sessions, and a lot of core code cleaned up nicely as things were converted to them. Also created a file_enumerator class for iterating over files in a searchpath. This replaces the old mame_openpath functions. Changed machine->options() to return a reference. Removed public nvram_open() and fixed jchan/kaneko16 to stop directly saving NVRAM. Removed most of the mame_options() calls; this will soon go away entirely, so don't add any more. Added core_options to device_validity_check() so they can be used to validate things.
* (typofix) Michaël Banaan Ananas2011-02-091-1/+1
|
* Cleanups and version bump.mame0141u2 Aaron Giles2011-02-092-2/+2
|
* Move generic templates from emucore.h to emutempl.h. Aaron Giles2011-02-073-2/+4
| | | | | | Normalize the tagged_list template to wrap a regular standard_list and have similar semantics. Updated a few direct callers to handle the changes.
* Ensured that the debugger disassembly PC cursor is visible on startup. [Curt ↵ Curt Coder2011-02-061-3/+3
| | | | Coder]
* Fix build break from last checkin. Aaron Giles2011-02-061-1/+1
| | | | | | | | | | | | | | | | | Also replace timer_get_time() with machine->time() 1. Main conversion timer_get_time( *)\( *([^)]+) *\) \2->time\1() 2. Cleanup #1 &machine->time machine.time 3. Cleanup #2 &m_machine->time m_machine.time
* Implemented proper mouse wheel event handling in the Windows debugger. [Curt ↵ Curt Coder2011-02-051-3/+13
| | | | Coder]
* - Cleanup of WINUI depending compiling (no whatsnew) Miodrag Milanovic2011-02-048-23/+84
| | | | | - Rewritten some checks to be runtime instead of compile dependent - Added winmenu.c and "menu" option in windows build - winmenu.c provide just dummy implementation, and makes linking with actual menu implementation easier.
* Converted attotime to a class, with proper operators. Removed old Aaron Giles2011-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | global functions which are now superceded by the operators and methods on the class. [Aaron Giles] Required mappings are: attotime_make(a,b) => attotime(a,b) attotime_to_double(t) => t.as_double() double_to_attotime(d) => attotime::from_double(d) attotime_to_attoseconds(t) => t.as_attoseconds() attotime_to_ticks(t,f) => t.as_ticks(f) ticks_to_attotime(t,f) => attotime::from_ticks(t,f) attotime_add(a,b) => a + b attotime_add_attoseconds(a,b) => a + attotime(0, b) attotime_sub(a,b) => a - b attotime_sub_attoseconds(a,b) => a - attotime(0, b) attotime_compare(a,b) == 0 => a == b attotime_compare(a,b) != 0 => a != b attotime_compare(a,b) < 0 => a < b attotime_compare(a,b) <= 0 => a <= b attotime_compare(a,b) > 0 => a > b attotime_compare(a,b) >= 0 => a >= b attotime_mul(a,f) => a * f attotime_div(a,f) => a / f attotime_min(a,b) => min(a,b) attotime_max(a,b) => max(a,b) attotime_is_never(t) => t.is_never() attotime_string(t,p) => t.as_string(p) In addition, some existing #defines still exist but will go away: attotime_zero => attotime::zero attotime_never => attotime::never ATTOTIME_IN_SEC(s) => attotime::from_seconds(s) ATTOTIME_IN_MSEC(m) => attotime::from_msec(m) ATTOTIME_IN_USEC(u) => attotime::from_usec(u) ATTOTIME_IN_NSEC(n) => attotime::from_nsec(n) ATTOTIME_IN_HZ(h) => attotime::from_hz(h)
* NetBSD support [Thomas Klausner] R. Belmont2011-02-021-1/+6
| | | | | | | | | Not for whatsnew: I added -Wno-conversion unconditionally to disable the warnings Thomas reported. That setting is the default for GCC out-of-the-box but apparently not on NetBSD. As far as I know it shouldn't cause a problem with any GCC version back to at least 4.0.0 so we're safe even on PPC OSX, but do let me know if hilarity ensues.
* Cleanups and version bump.mame0141u1 Aaron Giles2011-01-242-2/+2
|
* Added "-syncrefresh" option to osd/sdl. This will *limit* the game speed to ↵ Couriersud2011-01-225-2/+16
| | | | the video refresh rate and works in -mt mode as well. The option has an effect only if "-waitsync" is specified. [Couriersud, Chris Kennedy]
* Removed not used ifdef section from winmain.c and MESS dependent ifdef from ↵ Miodrag Milanovic2011-01-171-7/+0
| | | | saa5050.c, this doesn't affect MAME at all (no whatsnew)
* Redo most of the DRC/backend support as C++ Aaron Giles2011-01-171-1/+1
| | | | | | | | | | | | | | Yes, it is intentional that the x86/x64 backends compile everywhere. Backends are now derived from drcbe_interface and implement several required overrides. x86emit.h now uses namespaces so that the x86/x64 emitters can co-exist. New file uml.h/uml.c actually describes the UML language, separating out several concepts from drcuml.c. Lots of other changes/fixes.
* Same fix for sockets (no whatsnew) R. Belmont2011-01-161-1/+1
|
* Fix inability to detect an error in sdl_write_ptty (no whatsnew) R. Belmont2011-01-161-1/+1
|
* Cleaned OSD windows and emu part from NEWUI dependencies (no whatsnew) Miodrag Milanovic2011-01-136-48/+6
|
* SDL OS/2 fixes [K.O. Myung-Hun] R. Belmont2011-01-102-0/+101
|
* Build vconv in all circumstances as part of win32 build. Aaron Giles2011-01-073-28/+36
| | | | | | Always use gcc to build vconv. Add missing extern "C" to intrinsic definitions. Change vconv to call link.exe instead of lib.exe for libraries.
* Moved image devices implementation and related UI functions to emu section ↵ Miodrag Milanovic2011-01-051-6/+0
| | | | from MESS [Miodrag Milanovic]
* mt bug 2283 fix Michaël Banaan Ananas2011-01-041-0/+8
|
* Remove "makedep" stuff from sdl.mak now that the core supports it. Also ↵ Couriersud2011-01-031-15/+2
| | | | split sdl-config output between INCPATH and CCOMFLAGS for linux targets. makedepend now works. [Couriersud]
* Fix Mac compile error (no whatsnew) R. Belmont2011-01-021-0/+1
|
* "Copy-and-Paste" the "-bench" option from win32 to sdl. [Couriersud] Couriersud2011-01-022-0/+14
|
* Only enable watchdog for sdlmame if "-str" set and smaller than 300 seconds. ↵ Couriersud2011-01-021-1/+4
| | | | No whatsnew.
* Implemented "-watchdog" option for SDLMame. [Couriersud] Couriersud2011-01-0210-1/+161
|
* osd/sdl again compiles against latest SDL 1.3 svn. [Couriersud] Couriersud2011-01-022-20/+20
|
* Argh, stupid .m files.mame0141 Aaron Giles2011-01-011-10/+10
|
* Cleanups and version bump. Aaron Giles2011-01-012-3/+3
|
* running_device -> device_t Aaron Giles2010-12-313-16/+16
| | | | | They both already existed. No sense in having two names for the same object type.
* Update comment in sdl.mak Couriersud2010-12-291-1/+1
|
* Fixed *BSD compilation for SDLMAME. [ElBarto] Couriersud2010-12-291-0/+4
|
* Fix most-likely-to-fail SDL_TTF version check. Added a warning if ↵ Couriersud2010-12-282-7/+7
| | | | strikethrough is specified but not supported. [Couriersud]