Commit Graph

12444 Commits

Author SHA1 Message Date
therealmogminer@gmail.com
250a5cc805 Add AVI writing to bgfx, nw 2016-04-17 19:16:14 +02:00
ImJezze
60eb6d0494 Added reasonable texcoord handling without known examples (nw) 2016-04-17 14:12:31 +02:00
Miodrag Milanovic
fc48cb17f3 added print_verbose, print_info, print_debug and print_error to lua, and used it instead of print (nw) 2016-04-16 18:01:48 +02:00
ImJezze
454db9d5d3 Fixed texture coordinates for vector screen quad (nw) 2016-04-16 15:46:04 +02:00
cracyc
95309f461e plugins/cheat: load multiple files and fix load failure (nw) 2016-04-16 08:36:09 -05:00
Miodrag Milanovic
4a291564f3 remove dependency (nw) 2016-04-16 13:48:25 +02:00
Miodrag Milanović
5dcd612d74 Merge pull request #812 from jmallach/program-name
Show MAME's program name lowercase in help output.
2016-04-16 08:55:52 +02:00
Jordi Mallach
aae47ddb1c Make display_help() use exename to print MAME's program name.
Rework commit 658a4b1 to use exename instead of appname.
2016-04-16 00:38:09 +02:00
dankan1890
8c8aca795e added advanced options to per-machine configuration. (nw) 2016-04-15 19:23:17 +02:00
cracyc
c3735cd12c plugins/cheat: fix some stuff (nw) 2016-04-15 11:40:34 -05:00
dankan1890
1e3037baf7 ui: Re-enabled configuration menu for single-machine and added some options.
Adding handler for the right mouse button in the main menu, calls the machine configuration.
2016-04-15 17:48:05 +02:00
dankan1890
a0715c7c40 Reduction code for entries of "enum class ui_menu_item_type" and the use of item_append with separators. 2016-04-15 17:39:45 +02:00
Miodrag Milanovic
a83a3c4497 lower deps on clifront.h (nw) 2016-04-15 14:10:47 +02:00
Santiago Vila
658a4b1862 Show mame's program name lowercase in help output.
As the name of the binary is normally installed lowercase, the help
output should also reflect this.
2016-04-15 11:35:01 +02:00
Miodrag Milanović
eac0b87523 Merge pull request #811 from ajrhacker/static_config
Eliminate device_t::static_config, a type-unsafe legacy feature. [AJR]
2016-04-15 07:59:10 +02:00
AJR
34be7d4166 Eliminate device_t::static_config, a type-unsafe legacy feature.
Rewrite or remove every last instance of MCFG_DEVICE_CONFIG and its two aliases, including within comments and dead code.

Make the Z80/Z180 daisy chain an interface that interfaces with the existing interface. Z8000 has been hooked up to this as well (p8000_16 already configures it), but currently does nothing with it.
2016-04-14 21:20:49 -04:00
Olivier Galibert
f9fabb1f37 screen: Fix alpha handling, cdkong looks good now [O. Galibert] 2016-04-14 14:55:35 +02:00
ImJezze
32f0e6efac Removed hacks for vector screens from shaders (nw)
- added handling of texture coordinates for vector screens to core render
- added handling of orientation/rotation for vector screens to D3D renderer
2016-04-13 19:21:57 +02:00
dankan1890
6be4d8312c Fixed MT06019: Wrong default bios outputted with -listxml command. 2016-04-13 18:54:12 +02:00
Vas Crabb
e88734cd0f * Make softwares -> software changes actually read properly
* If it's "Standard" then it should be "standard" in the ini file, too
2016-04-13 10:26:15 +10:00
therealmogminer@gmail.com
0233dd4dbf Make core vector-related slider handling slightly less egregious, nw 2016-04-12 17:19:58 +02:00
R. Belmont
3ed3b7e7fc Merge pull request #776 from jmallach/typos
Fix typos throughout the codebase
2016-04-12 08:48:35 -04:00
R. Belmont
0d0ecae0a4 Merge pull request #802 from JoakimLarsson/diserial_stopbitfix
Added extra bit as delay between bytes to make 1 stop bit work
2016-04-12 08:46:09 -04:00
etabeta78
c1600cafd9 diimage.cpp: Allow image devices to be configured with a fixed
(not user selectable) piece of software and updated a few options
and menu to acknowledge such possibility. [Fabio Priuli]

macs.cpp: Converted to use generic cartslot with fixed software
configuration. Cleaned up loading and banking systems in the driver
as a result. [Fabio Priuli]
2016-04-12 14:37:22 +02:00
dankan1890
f7166e84ae (nw) 2016-04-12 13:04:02 +02:00
cracyc
cb23ae7865 luaengine: try writing (nw)
--
Fixes "invaders don't fire" cheat
2016-04-11 11:48:17 -05:00
dankan1890
5347076f49 submenu: merged some options menu. (nw) 2016-04-11 03:37:51 +02:00
Joakim Larsson Edstrom
198565b81a Added extra bit as delay between bytes to make 1 stop bit work 2016-04-10 22:46:09 +02:00
therealmogminer@gmail.com
dd9c9a0fb3 Make OSDs return ui_menu_item lists, not slider_state lists 2016-04-10 19:22:31 +02:00
therealmogminer@gmail.com
fa92550ddb Add dividing line to bgfx slider list where applicable, nw 2016-04-10 13:13:10 +02:00
Vas Crabb
5a1a3afc81 whoops, that's not a format string 2016-04-10 21:06:53 +10:00
Vas Crabb
0c502775b6 remove ui/ui.h dependency from emu.h (for couriersud) 2016-04-10 17:48:38 +10:00
therealmogminer@gmail.com
8719535cbc Make sliders use an std::vector instead of a linked list, nw 2016-04-10 02:38:08 +02:00
dankan1890
74a8e5d1dd menu: fixed scrolling with the mouse wheel. (nw) 2016-04-10 02:28:27 +02:00
therealmogminer@gmail.com
19d51345a1 Add runtime screen chain selection, nw 2016-04-09 19:15:47 +02:00
cracyc
cd243bd4aa (nw) 2016-04-09 09:10:03 -05:00
cracyc
cf8c7fb206 luaengine: make flags explicit (nw) 2016-04-09 09:02:07 -05:00
couriersud
7b3d46dea7 Add includes for dependency documentation. (nw) 2016-04-09 12:17:51 +02:00
cracyc
74d1fbbdb9 plugins/cheatfind: start adding basic menu (nw) 2016-04-08 22:30:32 -05:00
etabeta78
db784e019f info.cpp: first attempt to fix the longstanding issue about inputs owned
by devices being always tagged as P1 inputs in -lx. [Fabio Priuli]

this proposed solution increases the field.player() value whenever the
owner device changes, unless the input is a keyboard: in this way we
correctly number pads and other controllers connected via slot devices to
consoles/computers, at price of tagging as 3-player games a few arcades
(e.g. those in cubo.cpp) which have two controllers + a touchscreen
attached through a separate device...
I start to think that maybe we shall re-think the idea of logging the number
of players of a game, but I'm open to suggestions.
2016-04-08 15:31:38 +02:00
Miodrag Milanovic
2a0c7a0f0b renamed memory.* to emumem.* (nw) 2016-04-08 10:15:48 +02:00
Miodrag Milanović
520e38abb5 Merge pull request #794 from ajrhacker/devfind_region
Devfind revision phase 1, cleaning out some legacy stuff [AJR]
2016-04-08 07:49:36 +02:00
couriersud
632b10cd0e Fix SDL compile on linux. Took the opportunity to remove a number of
"emu.h" includes from src/osd/modules/render/bgfx code. 
There is still a conflict between mame memory.h and bgfx memory.h to be
resolved.
2016-04-08 03:30:12 +02:00
AJR
c0f366c613 Devfind revision phase 1, cleaning out some legacy stuff
- Eliminate the cached device_t::m_region pointer and its region() getter method. Devices that need to bind to a region with the same tag should use optional/required_memory_region or optional/required_region_ptr with DEVICE_SELF as the subtag; this improves error checking. (DEVICE_SELF has been moved to device.h for greater visibility in the source.)
- Allow required/optional_region_ptr to specify a specific length which must match that of the region found.
- Implement finder_base::finder_tag() getter for diagnostic purposes.
- Perform some (not very efficient) validity checks on memory region finders instead of allowing them to automatically pass.
- Privatize device_memory_interface::m_addrspace.
2016-04-07 18:59:38 -04:00
cracyc
65455f3369 luaengine: fix read/write item (nw) 2016-04-07 16:42:29 -05:00
cracyc
2110fc5092 luaengine: indexed items (nw) 2016-04-07 14:50:53 -05:00
Antonio Giner
4ae76f468c Merge branch 'master' of https://github.com/mamedev/mame 2016-04-07 18:37:51 +02:00
Antonio Giner
c402c87dc0 Fix keepaspect & unevenstretch toggles in SDL OSD 2016-04-07 18:36:00 +02:00
dankan1890
45e57899d3 ui: Enter on keypad now act in the same ways of Enter on keyboard. (nw) 2016-04-07 18:05:02 +02:00
etabeta78
47f519a6fc info.cpp: Improved documentation of input devices in the listxml output, since having just a generic
'number of buttons' is rather pointless in the context of home systems with configurable controllers
(being them keyboards, keypads or joypads). Now the various controllers are listed separately with the
number of buttons they have. Frontend authors who relied on the "buttons" attribute of the input node
for any kind of filter shall now scan all available controllers and take the maximum among their "buttons"
attribute (possibly discarding keyboards and keypads if they want) to recover the old value. [Fabio Priuli]

info.cpp: Started to acknowledge PORT_16WAY inputs in -lx, since they were reported as 8-ways
so far. [Fabio Priuli]

out of whatsnew: most of the code was written almost 1 year ago, when MAME was still using
tagmaps, and only recently updated to current coding conventions: if you see any place where
C++ syntax can be exploited more just let me know :-)
2016-04-07 16:13:59 +02:00
dankan1890
b10ffebf58 Fixed the key handler for the error "roms or missing CHD."
Removed the delay in showing the description in the Advanced menu.
Synchronized the translation files.
2016-04-07 12:36:30 +02:00
cracyc
ead741a06e luaengine: add device_image_interface accessors and emu_file support 2016-04-06 16:50:46 -05:00
Miodrag Milanovic
3414afa450 lua clang compile fix (nw) 2016-04-06 08:32:28 +02:00
cracyc
389e05a300 luaengine: direct and region accessors [Carl] 2016-04-05 21:10:13 -05:00
Antonio Giner
cf830e71da Make overscan on integer scaled targets optional (add option -intoverscan). 2016-04-05 23:30:06 +02:00
Miodrag Milanović
f9f2be3e43 Merge pull request #789 from ajrhacker/emuopts_drc
Revert software-installed slot/image options when changing software [AJR]
Remove emu.h's stealth include of emuopts.h through mconfig.h; reduce dependency on emuopts.h in other headers and source files.
MCFG_CPU_FORCE_NO_DRC is now a CPU configuration parameter rather than a global one; it still works to override the -drc option setting.
2016-04-05 08:57:37 +02:00
AJR
ee12b7d2f7 Revert software-installed slot/image options when changing software
- Remove emu.h's stealth include of emuopts.h through mconfig.h; reduce dependency on emuopts.h in other headers and source files.
- MCFG_CPU_FORCE_NO_DRC is now a CPU configuration parameter rather than a global one; it still works to override the -drc option setting.
2016-04-04 23:46:44 -04:00
cracyc
817f19fcc1 luaengine: add plugin options menu [Carl] 2016-04-04 18:17:18 -05:00
Olivier Galibert
cdc04a9b7c screen: POC||GTFO of svg rendering from inside the rom. [O. Galibert]
It's damn slow, ~50ms/frame on cdkong.  Caching and/or hw accel will
solve that easily.  It doesn't look very good, nanosvg need better
anti-aliasing.  It also doesn't do texturing very well and images not
at all, so some of our current svgs won't look good.  But all that's
fixable.
2016-04-04 11:33:34 +02:00
dankan1890
5fe4b275dc Fixed MT06173: Software loaded outside of software list (e.g. -cart PATH_TO_ROM) fails to save SRAM. 2016-04-04 00:39:03 +02:00
dankan1890
37f39ecf3c Small changes. (nw) 2016-04-03 18:45:34 +02:00
Jeffrey Clark
69eae891ad submenu lang and cosmetic (nw) 2016-04-03 16:02:16 +00:00
Miodrag Milanovic
d322c23ead make it translate (nw) 2016-04-03 16:00:30 +02:00
Miodrag Milanovic
945d1d5646 Prevent crashing when compiling with mingw (nw) 2016-04-03 15:47:04 +02:00
Jeffrey Clark
ca3e65e35f refactor miscmenu and add adv menu (nw) 2016-04-03 07:02:38 +00:00
smf-
f83d5bb767 Some roms not found means the set is bad, all roms not found means the set is not found. Whatever this change was for probably can and should be done a different way.
Revert "Not found should actually return not found"

This reverts commit c756043e55.
2016-04-02 00:14:48 +01:00
dankan1890
1fb4b520e1 Fixed MT06171: Specialized ini file settings get retained on a second game launch. 2016-04-01 17:28:13 +02:00
Jordi Mallach
3d5c53d11e Typo fix: threshhold → threshold 2016-04-01 02:28:16 +02:00
Jordi Mallach
94ad873787 Typo fix: softwares → software
Software is uncountable. At most, we can use "pieces of software" or so.
2016-04-01 02:28:16 +02:00
Jordi Mallach
80890952a7 Typo fix: nonexistant → nonexistent 2016-04-01 02:28:15 +02:00
AJR
01b91996a5 Recognize the full range of controller inputs
This simplifies an old piece of MESS code that failed to properly classify paddle, pedal, positional and dial inputs, along with many of the less-common digital inputs. MT #06172 should be fixed by this.

The distinction between INPUT_CLASS_MISC and INPUT_CLASS_INTERNAL makes more sense now, though nothing makes use of it.
2016-03-31 16:08:14 -04:00
Miodrag Milanović
08d21cebc8 Merge pull request #772 from ajrhacker/auto_iterator
Iterate over core classes C++11 style [ARJ]
2016-03-31 19:57:17 +02:00
AJR
b0e033146a Avoid auto return types; silence some unused variable warnings (nw) 2016-03-31 13:50:31 -04:00
David Haywood
c53833d1e4 attempt to fix hap issue (nw) 2016-03-31 17:26:35 +01:00
David Haywood
27d55acdff borrow string processing code from ui.cpp so that £ works in layouts (using UTF-8 encoding at least) [David Haywood]
updated sc4fd7tha.lay with UTF8 encoding of £ sign [Krick]
2016-03-31 16:42:01 +01:00
AJR
bce4fcd1d7 Compile fix (nw) 2016-03-31 10:35:47 -04:00
AJR
54f7422c2a Conflict resolution (nw) 2016-03-31 10:29:46 -04:00
AJR
a7e393b36b Iterate over core classes C++11 style
C++11 range-based for loops can now iterate over simple_list, tagged_list, core_options, device_t::subdevice_list, device_t::interface_list, render_primitive_list and all subclasses of the above, and much code has been refactored to use them. Most core classes that have these lists as members now have methods that return the lists themselves, replacing most of the methods that returned the object at an owned list's head. (A few have been retained due to their use in drivers or OSD.)

device_t now manages subdevice and interface lists through subclasses, but has given up the work of adding and removing subdevices to machine_config.

memory_manager has its tagged lists exposed, though the old rooted tag lookup methods have been removed (they were privatized already).
2016-03-31 09:43:53 -04:00
Olivier Galibert
4d376af446 xml fix (nw) 2016-03-31 14:53:01 +02:00
Miodrag Milanovic
9353a1ccb3 Compressed internal layouts [David Haywood] 2016-03-30 20:40:05 +02:00
Miodrag Milanovic
913ab1e140 Cleanups and version bump 2016-03-30 08:35:21 +02:00
Scott Stone
28c9be35ea Change INIPATH default to cover new HLSL presets (ini/presets) (nw) 2016-03-30 00:38:08 -04:00
balr0g
742fa79792 Document attotime (nw) 2016-03-29 14:46:36 -04:00
Miodrag Milanovic
8e41d3105b added -plugins / -noplugins (to enable or disable plugins in total) [Miodrag Milanovic]
and -plugin highscore (will enable just that plugin)
and -noplugin highscore (will disable just that plugin)
plugin/noplugin use comma separated list of plugins
2016-03-29 14:40:40 +02:00
Miodrag Milanovic
699fa1462a Add ability for notifiers to add at front, fix for hiscore [Carl] 2016-03-29 08:15:17 +02:00
Jeffrey Clark
18d7e34620 cleanup build includes (nw) 2016-03-28 22:46:00 -05:00
dankan1890
6cb951b7c4 ui: icons rendering fix with bgfx. (nw) 2016-03-29 05:21:15 +02:00
dankan1890
68ebc2b0e5 Visual Studio compile fix. (nw) 2016-03-28 22:57:35 +02:00
couriersud
dcb59350f3 Move jpeglib.h include where it belongs. No need to include this in
rendutil.h.
2016-03-28 13:48:29 +02:00
Miodrag Milanovic
4dfeec15c6 removed disclaimer since it was not shown anyway and it is known fact (nw) 2016-03-28 08:58:18 +02:00
Miodrag Milanovic
775777e70b relaxed warning screen by allowing pressing of any button instead of specific combination (nw) 2016-03-28 08:46:50 +02:00
Miodrag Milanovic
e3988ad65e using same check as in clifront, just to check if string is empty (nw) 2016-03-28 08:24:22 +02:00
cracyc
1e95b3b459 luaengine: add software name getter (nw)
hiscore: add support for softlist rom hiscores (nw)
2016-03-27 19:52:35 -05:00
hap
4cd7523ec7 rendutil render_load_jpeg: removed unneeded check, deallocate bitmap on error 2016-03-28 01:01:12 +02:00
hap
337f659072 moved emu/ui/util render_load_jpeg to emu/rendutil
This also adds simple support for loading JPG in external artwork
2016-03-27 22:29:08 +02:00
therealmogminer@gmail.com
e950cfa163 sliders.cpp: Made Alt+Arrow minimize or maximize value. [MooglyGuy] 2016-03-27 19:56:49 +02:00
AJR
beb8dbe1d2 Avoid dereferencing null pointers in set_system_name (nw) 2016-03-27 02:18:33 -04:00
R. Belmont
5db0501a3b Merge pull request #743 from ajrhacker/options
Allow software selected from UI to install slot defaults
2016-03-26 21:47:59 -04:00
R. Belmont
0bdcf99982 Merge pull request #745 from ImJezze/pull
Improved appearance
2016-03-26 21:47:02 -04:00
Vas Crabb
249f412689 Fix silly behaviour of image creation through file manager (thanks to BIOS-D for reporting) 2016-03-26 18:01:46 +11:00
AJR
dee9b2d34a Remember to load software when the system name doesn't change (nw) 2016-03-26 01:43:37 -04:00
AJR
96c6dd3344 Allow software selected from UI to install slot defaults
Prevent clang warning about unused variable in BGFX target_manager (nw)
2016-03-26 01:17:01 -04:00
dankan1890
6e79c7fa3c Added support to "gameinit.dat".
Disabled Configure Machine menu.
2016-03-25 23:59:34 +01:00
Miodrag Milanovic
3c039af763 Made menu for plugins (nw) 2016-03-25 09:59:48 +01:00
Miodrag Milanovic
f329db261f Populate plugins structures and start marked plugins (nw) 2016-03-25 08:42:30 +01:00
Vas Crabb
db10880ee0 Try next archive type if file not found, not just on open error 2016-03-25 16:09:14 +11:00
Vas Crabb
54279dbf11 Make emu_file archive searh order CRC+path, CRC+partial path, CRC, path, partial path and fold some redundant code 2016-03-25 15:25:30 +11:00
Antonio Giner
fdf97109be Fix issue with ui aspect due to recent changes in -keepaspect
This also makes sure ui aspect ratio is computed correctly even on
rotated targets.
2016-03-25 00:25:12 +01:00
Miodrag Milanovic
315612190b Added parsing of plugin json files for machine_manager (nw) 2016-03-24 21:07:39 +01:00
ImJezze
6c95a27490 Fixed direction of vector extension 2016-03-24 17:00:21 +01:00
ImJezze
bfd9275427 Improved junction points of vector lines
- and fixed size of vector points
2016-03-23 22:37:45 +01:00
therealmogminer@gmail.com
ba0a1d8d52 Merge bgfx_shader into master, nw 2016-03-23 17:55:55 +01:00
cracyc
0825bf2a2f luaengine: add popmessage and logerror for lua (nw) 2016-03-23 10:31:40 -05:00
Antonio Giner
0a09b8a2cb Fix wrong aspect in snapshots due to rencent changes in -keepaspect 2016-03-22 16:51:34 +01:00
dankan1890
fe09ef0a6f ui: reverted to old code due to an issue with icons. (nw) 2016-03-21 19:24:52 +01:00
Antonio Giner
c1a77ecd92 Apply better factors on multiple-screen views 2016-03-21 16:55:59 +01:00
therealmogminer@gmail.com
a99df78801 Merge with master 2016-03-21 08:27:06 +01:00
Antonio Giner
ffb9d33843 Fix aspect on rotated games 2016-03-21 01:14:41 +01:00
Antonio Giner
57b1c6ab77 Merge remote-tracking branch 'refs/remotes/mamedev/master' into integer_scaling_v2 2016-03-20 22:14:39 +01:00
Antonio Giner
bb51885229 Move integer scaling implementation to render_target::compute_visible_area
- Add core option -unevenstretch
- Add core option -unevenstretchx
2016-03-20 21:57:38 +01:00
dankan1890
1174225fcb ui: Fixed image sizing in right panel to vertical orientation. (nw) 2016-03-20 19:25:01 +01:00
dankan1890
fff33e90f8 ui: reducing the code for managing icons. (nw) 2016-03-20 17:33:08 +01:00
hap
17eccd74d7 removed double string in some instances of "Fatal error: Error: x" 2016-03-20 17:09:13 +01:00
Vas Crabb
d5aa425387 Make a proper BDF out of uismall font - no need to try and load an orphaned BDC 2016-03-21 01:56:27 +11:00
dankan1890
5314fc0b00 Proper drawing of the panels arrows for vertical orientation. (nw) 2016-03-20 15:48:15 +01:00
Vas Crabb
83298818e3 Fix bdc loading and fullpath TTF loading 2016-03-20 20:44:07 +11:00
Miodrag Milanovic
7cd40eb58d Added uismall.bdc and way to load it for those that wish to use it still (nw) 2016-03-20 09:53:59 +01:00
Miodrag Milanovic
593803fb48 Fixed issue with internal font (nw) 2016-03-20 09:31:04 +01:00
dankan1890
54b153ed68 Fixed unwanted games unpauses when loading External DATs view. (nw) 2016-03-19 22:56:28 +01:00
Vas Crabb
855136bfc3 Fix creation of paths on POSIX 2016-03-19 20:07:03 +11:00
hap
2256104e3e ioport: added IPT_POWER_ON/OFF F1/F2 meant for soft-power buttons, as seen often in battery-backed CMOS CPU machines 2016-03-19 08:15:07 +01:00
Vas Crabb
ba1d81dd19 Fix logerror 2016-03-19 13:09:12 +11:00
Antonio Giner
57199a7dff Revert changes in layout view prior to rework of integer scaling 2016-03-19 00:02:41 +01:00
Antonio Giner
e39daaf5bd Merge remote-tracking branch 'refs/remotes/mamedev/master' 2016-03-18 22:41:17 +01:00
dankan1890
25bc1007af Added support and configuration for the image collection "covers".
Slightly modernized and simplified the code.
2016-03-18 22:00:47 +01:00
Vas Crabb
142292ee00 Fold some redundant code 2016-03-18 20:37:44 +11:00
Vas Crabb
100fa28671 * Remove confusing method from vectorstreams that hide base_ios method (fixes disassembly view)
* Allow std::string to pass through core_file unmolested (reduces temporary allocations)
* Make zip/7z instances of same class with uniform interface
* zippath browsing is broken at the moment

This is another step towards transparent archive support.  It's now
possible to access zip and 7z archives with the same code.  Nothing is
taking advantage of it yet.  There's now some very similar code in
fileio.cpp and clifront.cpp that could be folded at some point.
2016-03-18 19:32:10 +11:00
Lord-Nightmare
acb27808d4 temporary fix for debugger disassembly view on windows (nw) 2016-03-18 03:43:06 -04:00
Scott Stone
ba499f3860 Merge pull request #724 from ImJezze/master
HLSL refactoring
2016-03-17 20:27:10 -04:00
Vas Crabb
0d860e8db1 Merge pull request #726 from k2-git/master
fix translation issue on miscmenu
2016-03-18 11:05:36 +11:00
Dirk Best
de0d79e5e9 svi318: add support for the rs232 interface (sv805) 2016-03-17 23:57:04 +01:00
Antonio Giner
421656e108 Merge remote-tracking branch 'refs/remotes/mamedev/master' 2016-03-17 22:50:29 +01:00
therealmogminer@gmail.com
d7dc173df9 Fix scrolling in slider list, nw 2016-03-17 15:48:32 +01:00
Katsuhiko Kagami
3c2a55cbfc fix translation issue on miscmenu 2016-03-17 23:33:09 +09:00
Vas Crabb
f0e580e40a Clear error status on persistent streams 2016-03-17 13:30:09 +11:00
balr0g
5d52e272ba Remove no-longer-needed normalization from gba (nw) 2016-03-16 19:04:42 -04:00
Vas Crabb
a3b35f8bc6 Move font enumeration to OSD, separate font name from display name as needed for OSX 2016-03-17 00:04:52 +11:00
balr0g
d83d2a2233 Begin documenting machine config macros (nw) 2016-03-16 01:56:08 -04:00
therealmogminer@gmail.com
e1883e3090 Remove -mt, nw 2016-03-15 05:33:23 +01:00
Vas Crabb
e9c1a1e474 Fix use-after-move 2016-03-15 11:10:59 +11:00
Antonio Giner
da18057256 Implement integer scaling in core renderer [Calamity] 2016-03-15 01:04:37 +01:00
dankan1890
f5fccc5c83 ui: further improvement of the layout for viewing in vertical orientation. (nw - WIP) 2016-03-14 21:57:14 +01:00
Olivier Galibert
df00bf568f Merge pull request #718 from motoschifo/master
Added Lua function screen.orientation()
2016-03-14 13:01:55 +01:00
Michele Fochi
daa4f7044c Added Lua function screen.orientation().
Return rotation_angle, flipx and flipy attributes.
Example:
	s = manager:machine().screens[":screen"]:orientation()
	print (s.rotation_angle, s.flipx, s.flipy)
2016-03-14 11:28:07 +01:00
Vas Crabb
42fbb9c396 Make osd_file a polymorphic class that's held with smart pointers
Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures
Make zip_file and _7z_file classes rather than having free functions everywhere
Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache
Don't dump as much crap in global namespace
Add solaris PTY implementation
Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax
Rearrange stuff so the same things are in file module for all OSDs
Move file stuff into its own module

7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access
Directory functions still need to be moved to file module
SDL OSD may not initialise WinSock on Windows
2016-03-14 18:55:00 +11:00
dankan1890
434cb751f4 ui: some improvements with vertical orientation view. (nw - WIP) 2016-03-14 01:38:35 +01:00
dankan1890
31088fd7c3 sliders: fixed issue #716. nw 2016-03-13 19:11:31 +01:00
ImJezze
c2d4e3c018 Cleanup (nw)
- options are reset to loaded preset when game is closed
- changed default values of options to result in no effects activated
- init_slider_list() does not returns but sets g_slider_list directly
- removed unnecessary oriented_vector_texcoords
2016-03-13 17:11:08 +01:00
therealmogminer@gmail.com
3172371fcd More work on bgfx data-driven shaders, nw 2016-03-13 15:51:15 +01:00
hap
ff4d164355 revert test 2016-03-13 09:17:41 +01:00
hap
60e4a42cde layout: added clickable buttons to mbdtower and fxmcr165 2016-03-13 09:16:03 +01:00
ImJezze
7add547602 Refactoring of render targes and vector texture coordinates
- implemented proper texture coordinates for vector quad primitive
- vector screen is now processed in texture coordinates
- revered workaround for raster screen, which is again processed in
texture coordinates
- known issue: cocktail mode for vector screen looks wrong
2016-03-12 16:03:28 +01:00
motoschifo
38953a06fa Update luaengine.h 2016-03-12 14:53:06 +01:00
motoschifo
a7ac9e12a0 Update luaengine.cpp 2016-03-12 14:52:37 +01:00
Scott Stone
de94132b26 Change default value of autoboot_delay to 0. The LUA scripts themselves can use wait() to delay. (nw) 2016-03-12 04:18:02 -05:00
Dirk Best
75e5db381b Add support to adjust the screen color
This is now used for monochrome screens instead of creating custom
palettes.
2016-03-12 02:36:28 +01:00
R. Belmont
82b8d581f1 Merge pull request #703 from ajrhacker/subcmd
Let slot_default in softlists override INIs (but not the command line)
2016-03-11 12:13:44 -05:00
Vas Crabb
a880f01b17 Don't need to call FlushFileBuffers (it's equivalent to fsync, not fflush) 2016-03-11 20:56:08 +11:00
hap
75cd8cf155 commented out regression slow error.log on Windows 2016-03-11 10:51:18 +01:00
hap
0ddb0f7047 carjmbre: added sprites, preliminary 2016-03-10 18:31:09 +01:00
AJR
2acc33d8a7 Let slot_default in softlists override INIs (but not the command line) 2016-03-09 19:59:25 -05:00
Vas Crabb
5aea0893a0 Use type-safe printf for core_file and emu_file, surprisingly few knock-on effects
Properly fix up a couple of places I64FMT was being used, still more to deal with
2016-03-09 23:04:12 +11:00
Vas Crabb
46bb97d9b4 Wrap up INP header I/O 2016-03-08 22:42:24 +11:00
Miodrag Milanovic
0490d5c5b7 make it same as before (nw) 2016-03-08 10:48:04 +01:00
Miodrag Milanovic
2d805167c7 use lambdas instead of wrappers (nw) 2016-03-08 10:42:44 +01:00
Vas Crabb
a5072bfd81 Fix complete failure to read zlib compressed data, handle EOF better in compressed files (nw)
Fix bug causing crash in pathological case of zero-frame INP file [Vas Crabb]
2016-03-08 20:17:43 +11:00
dankan1890
d69da8fef9 Removed localized error log. (nw) 2016-03-08 01:19:26 +01:00
angelosa
3b9bf1d98d Base work, nw 2016-03-07 21:49:14 +01:00
Miodrag Milanovic
e76d30243e Removed I64FMT and SIZETFMT, one usage left in chdman.cpp (nw) 2016-03-07 19:34:44 +01:00
Miodrag Milanovic
a0aafea67f removed not used declarations (nw) 2016-03-07 16:14:51 +01:00
Miodrag Milanovic
8ea9ff6a7a TIMER_CALLBACK to TIMER_CALLBACK_MEMBER (nw) 2016-03-07 14:45:58 +01:00
mahlemiut
efc37ee297 Linux compile fix. 2016-03-07 21:29:54 +13:00
dankan1890
d13aba424f fixed crash when displaying external DATs file in some circumstances. (nw) 2016-03-06 21:37:53 +01:00
Vas Crabb
73b44c9429 Turn core_file into a proper class that gets cleaned up safely using unique_ptr
Subverted somewhat by chd_file class
2016-03-06 21:49:56 +11:00
dankan1890
74a1dab64a Merge branch 'master' of https://github.com/mamedev/mame 2016-03-06 03:42:59 +01:00
dankan1890
b35ea6e4a6 Fixed MT06152: "Show mouse pointer" option stays off. (nw) 2016-03-06 03:42:41 +01:00
Vas Crabb
04a6b500c3 Don't bother to localise error log for now 2016-03-06 13:18:09 +11:00
dankan1890
16aa806e6d fix more unlocalisable stuff and resync translations. nw 2016-03-06 03:06:25 +01:00
Vas Crabb
4e25da61c7 Fix up some bad English, fix more unlocalisable stuff 2016-03-06 12:12:25 +11:00
Justin Kerk
af0a67c0f7 Restore uismall.png for now so that Emscripten menus work (nw) 2016-03-05 22:22:21 +00:00
dankan1890
02d24565dc menu: added handling of mouse button held down on arrows in the machine list. (nw) 2016-03-05 15:38:22 +01:00
Vas Crabb
af2c95ebe3 Fix some more unlocalisable crap 2016-03-05 23:26:21 +11:00
dankan1890
b7bbfe1897 selsoft: fixed failure to load software from the BIOS menu selection. (nw) 2016-03-05 13:13:49 +01:00
Miodrag Milanovic
d4fe78a48a Added README and LICENSE files (CC0) to folders containing meta-data or documentation (nw) 2016-03-05 10:31:41 +01:00
Miodrag Milanovic
24276fc7db removed Apache 2 licensed library since it is not possible to mix with GPL2 (nw) 2016-03-04 20:18:47 +01:00
dankan1890
9f3cd785b2 optsmenu: fixed recently introduced bug. (nw) 2016-03-04 13:56:15 +01:00
Vas Crabb
0942111794 Change %d to %u to correct ARGB settings display 2016-03-04 19:09:30 +11:00
Vas Crabb
5a5b787081 Further reduce template instantiations 2016-03-04 16:46:56 +11:00
dankan1890
6d4f627035 menu: fixed top line computation. (nw) 2016-03-03 01:52:34 +01:00
dankan1890
1914702e6f dirmenu: proper removal of the folder from the path. (nw) 2016-03-02 20:39:20 +01:00
Vas Crabb
ed88fd30a1 More stream enhancement 2016-03-03 03:53:43 +11:00
Vas Crabb
42ea682852 core_i64_hex_format is now a static function in memory.cpp 2016-03-03 03:53:43 +11:00
Vas Crabb
d50614c8bd Use stream with contiguous backing store for the disasmview's buffer 2016-03-03 03:53:43 +11:00
Vas Crabb
66d0ef8ed4 Fix some oversights in previous changes, sorry guys'n'gals 2016-03-03 01:25:48 +11:00
Happy
8aa07c72e7 Change field format to show leading zeros for debugger 'dasm' command as well 2016-03-01 13:46:33 -07:00
Happy
5257bf21cd Change field format to show leading zeros for debugger 'dump' command 2016-03-01 13:16:38 -07:00
Miodrag Milanovic
6938a038d9 removed test since atomic functions about to be removed (nw) 2016-03-01 13:21:42 +01:00
Vas Crabb
599570bf7f Fix stupid reversed subtraction 2016-03-01 22:33:19 +11:00
Vas Crabb
f8f414c508 Let's attack core_i64_format, too. This cleans up abuse of static buffers in the unmapped read/write reporters 2016-03-01 22:27:30 +11:00
Vas Crabb
fee5fb55f9 Get rid of most uses of core_i64_hex_format, all remaining uses are in memory.cpp 2016-03-01 21:40:14 +11:00
Vas Crabb
9224c862b2 Move more things to type-safe printf 2016-03-01 18:57:06 +11:00
Vas Crabb
743550d4c3 Merge branch 'master' of https://github.com/mamedev/mame 2016-03-01 14:43:10 +11:00
dankan1890
dbe46f8a52 selgame: test code elimination. (nw) 2016-03-01 03:02:20 +01:00
dankan1890
8c294708eb selgame: improved ROM-less and availability checking at startup. (nw) 2016-03-01 02:17:48 +01:00
Vas Crabb
365d5a0ff3 Explicitly flush log file on each line 2016-03-01 08:37:53 +11:00
Vas Crabb
6c78465d76 Fix stupid error 2016-03-01 07:52:02 +11:00
Vas Crabb
ba960afb5f Add function for flushing file buffers 2016-03-01 07:38:14 +11:00
Vas Crabb
a830ea7627 * Support *n conversion in stream_format/string_format
* Make stream_format return characters printed
* Add iostreams with std::vector storage
* Move to type-safe templates for logerror and popmessage
* Remove now-unnecessary I64FMT from calls to logerror/popmessage
* Put some lib/util stuff in util:: namespace
* Some fixes to Japanese translation
2016-03-01 06:52:36 +11:00
Robbbert
a15f3fde77 Fix rom load warning messages (nw) 2016-02-29 23:27:12 +11:00
dankan1890
d5ce1264a5 ui: changed filter label from "Originals" to "Parents" (MT06143) 2016-02-29 10:22:58 +01:00
dankan1890
20f8eb021b some strings internationalization. (nw) 2016-02-28 22:57:47 +01:00
Miodrag Milanovic
a0d2d660bf fixed issue noticed for racedrivpan (nw) 2016-02-28 17:42:04 +01:00
Vas Crabb
63f0a918de Clean up a bit more legacy code 2016-02-29 01:53:08 +11:00
Vas Crabb
06a4d861f8 Clean up Japanese translations a little
- be more consistent spacing/punctuation
- remove some bad translations that are worse than nothing
- add/update a few translations
2016-02-28 20:23:41 +11:00
Vas Crabb
aec01e7407 Replace strformat, strprintf and strcatprintf with type-safe steam_format and string_format
Update MAME to use new function
Instantiate ODR-used static constant members
Make some of the UI code more localisable
Remove use of retired functions in tools
2016-02-28 13:36:19 +11:00
dankan1890
d38c1610b8 ui: Moved options "Configure Directories" and "Save Configuration" into "Configure Options" menu.
Removed unnecessary icons from the toolbar (performed the same actions of entries already in the menu).
Proper handling the export of the list.
Updated the .po files.
2016-02-27 21:33:39 +01:00
Miodrag Milanovic
4fe5d21f1e Clean way of doing it (nw) 2016-02-27 19:51:46 +01:00
Miodrag Milanovic
0ba1d21093 fix autoboot_command (nw) 2016-02-27 19:34:48 +01:00
Miodrag Milanovic
5951df437e Added NotoSans-Bold as backup font for platforms that do not have default system fonts exposed (nw) 2016-02-27 11:52:11 +01:00
dankan1890
04d1948ee8 ui various changes:
* extended keyboard navigation in the UI on the right side.
* added the skeleton for a configuration menu for single machine.
* fixed bug in building the search path for images.
2016-02-27 03:31:08 +01:00
Miodrag Milanovic
3a811376d9 Made pnacl to compile (nw) 2016-02-26 14:50:09 +01:00
Robbbert
4a3926b1eb ui: use appname instead of hard-coded MAME for main title. 2016-02-26 21:53:50 +11:00
dankan1890
b793ccd98e ui: key handler fix. (nw) 2016-02-25 21:36:55 +01:00
dankan1890
67d422298a removed unused code. (nw) 2016-02-25 20:48:34 +01:00
dankan1890
08d84121d4 more UI internationalization. (nw) 2016-02-25 16:38:55 +01:00
dankan1890
d7ca0361dc menu: fixed missing mouseover highlight for in-game menu. (nw) 2016-02-25 16:29:37 +01:00
dankan1890
d43bf65b16 ui: Enabled user interface navigation through UI_CONFIGURE button (tab key by default). [Maurizio Petrarota] 2016-02-25 16:25:22 +01:00
dankan1890
8241b6c0ba dirmenu: fixed DATs file reloading. 2016-02-25 15:49:38 +01:00
Miodrag Milanovic
0f85f112c9 renamed names that clash system defines in various environments (nw) 2016-02-25 14:58:39 +01:00
Miodrag Milanović
e934aa93db Revert "New driver specifiers; modify -listclones, -listsource; add -listtree" 2016-02-25 14:04:13 +01:00
Miodrag Milanović
1e7debe9a1 Merge pull request #650 from ajrhacker/listclones
New driver specifiers; modify -listclones, -listsource; add -listtree
2016-02-25 08:22:23 +01:00
AJR
3fc0787fa8 New driver specifiers; changes to -listclones, -listsource; add -listtree
Five new specifiers for driver enumeration and all commands depending thereon:
- @source.cpp matches all drivers in source.cpp
- ^driver matches driver and all its clones
- :drivbios matches drivbios and all drivers having it as their BIOS
- ^ matches all drivers excluding clone sets
- : matches all BIOS roots

Note that these new specifiers are not compatible with other wildcards; they only perform normal case-insensitive matches with driver or source file names.

The -listclones command now lists drivers in a completely different, human-readable format. It performs an extra loop to deduce the parent set name if a clone was specified; this causes, for instance, -listclones pacman and -listclones puckman to produce identical output. It includes descriptions with the clone driver names much like -listfull, and uses the parent set's description as a header for its clones. It also recognizes BIOSes and lists unique matching sets with no clones at the end of the output.

The -listsource command outputs not only the source file of each matching driver, but also its parent set and BIOS root (if any). These are output using the new @sourcefile, ^driver and :bios specifiers.

The new -listtree command is a human-readable analogue to -listsource and an alternative to -listclones. It tabulates drivers by source file in tree format, with the names of clones indented under their parents and drivers indented under their respective BIOS roots.

The -listbrothers command remains functionally unchanged, but should be considered somewhat deprecated in favor of the @sourcefile specifier with other listing commands.

Fix include_all counting error causing assert to fail in find_approximate_matches (nw)

Relax dependencies on drivenum.h in UI headers (nw)
2016-02-24 18:47:37 -05:00
dankan1890
bc2a4317ca selsoft: fixed search for software list. (nw) 2016-02-24 23:28:16 +01:00
Katsuhiko Kagami
095341ff52 When i change the HIDE_MENU on the customize UI by cursor key, LANGUAGE_MENU also would be changed .fixed it. 2016-02-24 16:47:19 +09:00
Miodrag Milanovic
3abcaee63f Cleanups and version bump 2016-02-24 07:46:57 +01:00
Lord-Nightmare
e27949219d Xerox NoteTaker: Finished IOCPU memory map documentation. Hooked up the two UARTS. Begin hookup of the screen/CRTC. Fixed an issue with writes to ROM-mapped areas shadowing to RAM. Added 960KHz xtal for the keyboard UART. [Lord Nightmare]
AY-3-1015 UART: Fixed two swapped pin functions. [Lord Nightmare]
2016-02-23 13:45:12 -05:00
Miodrag Milanović
25dca0c671 Merge pull request #633 from motoschifo/master
Fix reset of cheats when entering autofire menu
2016-02-22 09:52:47 +01:00
Miodrag Milanovic
b2a230cd15 placing back UI related settings to emu_options on popular demand (nw) 2016-02-22 09:14:49 +01:00
dankan1890
f72bba93fd oops. (nw) 2016-02-21 20:22:09 +01:00
dankan1890
2b90f54c4b compile fix. (nw) 2016-02-21 20:12:13 +01:00
dankan1890
d45335ec05 ui: more localization and code fix. (nw) 2016-02-21 19:55:38 +01:00
Michele Fochi
118abc08ef Fix reset of cheats when entering autofire menu 2016-02-21 18:44:20 +01:00
dankan1890
859cec4603 ui: localization part1. (nw) 2016-02-21 16:38:05 +01:00
Miodrag Milanovic
fafa333e3f Ubuntu is having issues if braces are in path (nw) 2016-02-21 13:17:59 +01:00
Miodrag Milanovic
bcaaa956e0 Generate mo files if po are updated, added _ instead of space char due to makefile restrictions (nw) 2016-02-21 11:34:22 +01:00
Miodrag Milanovic
f3ce55e924 Added ability to work with static text translation (nw) 2016-02-21 10:04:57 +01:00
Miodrag Milanovic
f8b5ed3621 Fixed language selection and marked it for saving (nw) 2016-02-21 09:19:57 +01:00
Miodrag Milanovic
9527a89b2c cleanup (nw) 2016-02-21 08:52:18 +01:00
dankan1890
c890643fd5 cleanup. (nw) 2016-02-21 05:03:06 +01:00
dankan1890
526d56d359 Added option in the "Customize UI" menu for selecting the language. (nw) 2016-02-21 04:59:39 +01:00
therealmogminer@gmail.com
bf033cfe00 Final fixups, get sliders working again, nw 2016-02-21 03:03:29 +01:00
therealmogminer@gmail.com
9a47a870df First take on render API reorg, nw 2016-02-21 03:03:23 +01:00
Miodrag Milanovic
7ea2c6b58e fix compile (nw) 2016-02-20 22:38:02 +01:00
Miodrag Milanovic
0bc4173bd3 Added multi-language support for MAME [Miodrag Milanovic]
Added sample language to show display in cyrillic use
mame -lang "Serbian (Cyrillic)"
2016-02-20 22:31:41 +01:00
Miodrag Milanovic
2041d88978 Remove redundant defines, in order to make translation easier (nw) 2016-02-20 17:40:05 +01:00
Miodrag Milanovic
82683676ad rename (nw) 2016-02-20 11:38:20 +01:00
Miodrag Milanovic
f481b60978 limit internationalization to UI where it belongs (nw) 2016-02-20 10:10:35 +01:00
dankan1890
4dc5884c97 ui: search fixed in filesel, dirmenu and swlist. 2016-02-20 02:52:00 +01:00
Miodrag Milanovic
cc1ca5eb93 Doing some preps for internationalization (nw) 2016-02-19 15:58:46 +01:00
Miodrag Milanovic
a09493eb20 Fix for UI crash at start (nw) 2016-02-18 08:35:05 +01:00
Miodrag Milanovic
d9299cb64a fix compile, unused variables (nw) 2016-02-17 13:22:36 +01:00
dankan1890
32630f09aa menu: allocate and draw icons only if available. nw 2016-02-17 11:32:06 +01:00
therealmogminer@gmail.com
fbe6e54400 Fix remaining issues with bgfx renderer 2016-02-17 01:35:38 +01:00
Jeffrey Clark
bacced3c81 lua api: cleanup options handling and fix cheat state return value (nw) 2016-02-16 15:28:46 -06:00
dankan1890
3f04c5f932 dsplmenu: fixed display options. nw 2016-02-15 20:29:40 +01:00
therealmogminer@gmail.com
622df200de Fix errors with -rol and -ror, nw 2016-02-15 20:22:20 +01:00
therealmogminer@gmail.com
51eb416088 Hopefully fix text being weirdly rotated 2016-02-15 18:26:40 +01:00
therealmogminer@gmail.com
b0a7bcd346 Significant speed improvements to the BGFX renderer. [MooglyGuy] 2016-02-15 17:57:28 +01:00
Miodrag Milanovic
1dc9266b93 draw FPS counter even in menus (nw)
will revert this when MG finish his work
2016-02-15 16:35:15 +01:00
Miodrag Milanović
6d57acc442 Merge pull request #618 from motoschifo/master
Autofire support (cheat) [motoschifo]
2016-02-15 09:08:00 +01:00
Jeffrey Clark
56c0fe0249 extend lua api, cheat (nw) 2016-02-14 23:18:14 -06:00
Jeffrey Clark
62cded5094 extend lua api, ioport (nw) 2016-02-14 21:35:51 -06:00
Jeffrey Clark
bfafc1db40 extend lua api, video (nw) 2016-02-14 19:30:38 -06:00
Jeffrey Clark
c283fa2e82 extend lua api, parameters (nw) 2016-02-14 19:30:38 -06:00
Jeffrey Clark
f24a89a838 extend lua api more (nw) 2016-02-14 19:30:37 -06:00
Jeffrey Clark
6db430bafc Extend mame LUA api (nw) 2016-02-14 19:30:37 -06:00
Miodrag Milanovic
b60187faa2 Added multiple callback registration for lua scripts (nw) 2016-02-14 15:29:12 +01:00
Miodrag Milanovic
618a7d4d28 initialize LUA bit earlier to give more opportunities to scripts (nw) 2016-02-14 11:20:49 +01:00
Miodrag Milanovic
ccae0382bb Added plugins and boot.lua as startup script [Miodrag Milanovic] 2016-02-14 10:58:18 +01:00
Miodrag Milanovic
2db4908814 Added lua-zlib, lfs and luv support for LUA, exposed all using luaengine (nw) 2016-02-14 08:16:35 +01:00
Michele Fochi
7c5b979ffa Fix osd message 2016-02-13 21:21:22 +01:00
Michele Fochi
00aec89192 Added support for autofire under cheat menu and available only if cheats
activated.
2016-02-13 21:03:16 +01:00
Wilbert Pol
c62ba64a50 commented out unused member; fixes clang build (nw) 2016-02-13 20:16:10 +01:00
dankan1890
9599b015a7 fixed crash clicking on the DATs icon in the toolbar if there is no info available. 2016-02-13 17:38:17 +01:00
dankan1890
ae6a55f075 Grouped display of DAT file information in a single view. (WIP) nw 2016-02-13 02:42:38 +01:00
dankan1890
335aedb3e6 Fixed UI crash. (nw) 2016-02-11 12:52:09 +01:00
dankan1890
5e5f2788d6 Rearranged some filters. nw 2016-02-11 00:26:12 +01:00
dankan1890
96f78891f9 menu: standard menu now correctly handle the double click of the mouse. nw 2016-02-10 22:39:45 +01:00
dankan1890
f37594a53a fixed wrong 'game' text. 2016-02-10 22:38:52 +01:00
dankan1890
cd05adafe0 ui: Removed the creation of cache file 'info_', and also removed 'Screen Type', '(no)Samples' and 'Stereo' filters. (TODO: pending to restore them in a proper manner). 2016-02-10 22:38:08 +01:00
dankan1890
186febc3dc dsplmenu: re-added opengl video item. nw 2016-02-10 22:27:02 +01:00
dankan1890
bc2ef66756 simpleselgame: The zeroing of the search does not require a reload. nw 2016-02-10 22:25:43 +01:00
Miodrag Milanović
b051abab1f Merge pull request #610 from motoschifo/master
Videosnaps patch (additional file to write: gamename.inp.timecode) [Michele Fochi]
2016-02-08 18:46:35 +01:00
Michele Fochi
f736cd5abc Added new options:
-[no]exit_after_playback (default=no)
 -[no]record_input (default=no)
Added new UI shortcut to save current timecode (default F12)
Translated variable names and comments to english language
2016-02-08 13:25:25 +01:00
dankan1890
68f167c886 ui: The video mode in the menu display options are now obtained directly from the settings. (nw) 2016-02-08 01:23:35 +01:00
Robbbert
7a4e38987f ui: fixed text in custom colours setup screen 2016-02-08 10:35:40 +11:00
Michele Fochi aka motoschifo
34bc216ef9 VideoSnaps patch
http://adb.arcadeitalia.net/videosnaps.php
2016-02-07 11:05:55 +01:00
AJR
0d8df9d595 Make generic VTLB implementation a modern device interface (nw) 2016-02-07 01:42:58 -05:00
AJR
3466c47229 Renaming (nw) 2016-02-07 01:17:17 -05:00
dankan1890
2fda7e23f2 menu: fixed search path for snapshots. (nw) 2016-02-07 03:53:47 +01:00
dankan1890
e15dca747c datmenu.cpp: fixed a missed substitution from auto_alloc to global_alloc. 2016-02-07 03:32:47 +01:00
Miodrag Milanovic
1bc83295c7 added save to simple ui (nw) 2016-02-06 13:54:15 +01:00
Miodrag Milanovic
f80ff01891 MAME related settings are saved on request only (nw) 2016-02-06 13:47:21 +01:00
Miodrag Milanovic
65d9003144 fixed rest of ui.ini mame.ini read/write settings (nw) 2016-02-06 10:40:23 +01:00
Miodrag Milanovic
dbfcc63e2c fix my mistake in software selection (nw) 2016-02-06 09:27:51 +01:00
Miodrag Milanovic
570db5bf5c made -cc creates ui.ini as well (nw) 2016-02-06 08:54:06 +01:00
Miodrag Milanovic
6f3e86613d Save mame.ini options only if they are updated in UI (nw)
Not all are covered, will need to check rest of files, but not tonight
2016-02-05 20:47:53 +01:00
Miodrag Milanović
e72653d7fa Merge pull request #605 from ajrhacker/isoctal
Make octal flag part of address_space/address_space_config [AJR]
2016-02-05 15:21:05 +01:00
Miodrag Milanovic
6fb757d6a6 move some options to ui.ini (nw) 2016-02-05 15:17:51 +01:00
Miodrag Milanovic
d0162765cd Keep ui options separate from emulator ini file. (nw)
TODO: Need fixing saving of some core settings that could be changed by UI
2016-02-05 14:24:17 +01:00
Miodrag Milanovic
9a28da4f73 added UI parameter, option simple gives back old style start screen, features for configuration and in game stays same as with new (nw) 2016-02-05 08:53:00 +01:00
AJR
7750a10135 Make octal flag part of address_space/address_space_config, not (illogically) device_execute_interface (nw) 2016-02-04 17:10:53 -05:00
Justin Kerk
538fa63433 Allow dat files in the root by default, like the old days (nw) 2016-02-04 12:25:10 -08:00
hap
33937a4a4c ui: orange mousecursor regrew with mewUI merge, let's re-shrink it 2016-02-04 21:12:19 +01:00
David Haywood
e5dde745c4 change default (nw) 2016-02-04 15:50:39 +00:00
Miodrag Milanovic
edfa314f1d put back select new game (nw) 2016-02-04 16:30:43 +01:00
Miodrag Milanovic
3ebf7e64fc fixed system dependent UI (nw) 2016-02-04 16:18:55 +01:00
Miodrag Milanovic
a95c4619c6 clear the rest of mewui mentioning (nw) 2016-02-04 15:36:33 +01:00
Miodrag Milanovic
024d67c14f removed UME filtering (nw) 2016-02-04 15:14:29 +01:00
Miodrag Milanovic
52d97f0dfa more mewui -> ui renames (nw) 2016-02-04 15:14:27 +01:00
Miodrag Milanovic
213283e430 some MEWUI to UI renames (nw) 2016-02-04 15:14:26 +01:00
Dankan1890
701df7fe9e Initial import of MEWUI to MAME [Dankan1890] 2016-02-04 15:14:24 +01:00
Olivier Galibert
23fd282121 disound: Don't crash on state load when the mixer is disabled by lack of inputs (misconfiguration or missing samples) [O. Galibert] 2016-02-04 13:34:09 +01:00
Victor Vasiliev
ccee9f7825 Initialize m_load_save_hold 2016-02-03 02:36:17 -05:00
Victor Vasiliev
f6331aaf65 Allow saved states to be bound to joystick buttons 2016-02-02 16:18:57 -05:00
Victor Vasiliev
c626466050 Do not read the load/save state filename while sequence is still pressed
Fixes the issue where, if the save state button was bound to something
that was a legal save state input, it would occasionally immediately
save the state onto the same button as "save state" input itself was
bound.
2016-02-02 16:18:57 -05:00
Victor Vasiliev
b11f39e7a0 Do not handle any UI inputs immediately after state load/save
Before this change, if you try to save state to a bound which already
does something as a UI button, it will save state there and then
immediately execute the bound action (sometimes it would not happen).
So, if you have state to P, with default button it would pause the game
immediately after saving state (except sometimes it would not).
2016-02-02 16:18:57 -05:00
AJR
963fb48ba7 Ignore invalid default slot options in software lists
This prevents software lists from (e.g.) trying to put a Zapper into ctrl1 on the Famicom.
2016-01-31 12:41:18 -05:00
Miodrag Milanović
68e9c4fea3 Merge pull request #597 from ajrhacker/swslotdefault
Software list entries can now supply slot option defaults [AJR]
  This feature is enabled when executing 'mame driver software'. After the specified software is found in the   software list and attached to an appropriate image device, the software part's feature list is examined for any feature whose name is that of a slot device with _default appended. The feature's value field becomes the slot's default option, which overrides any driver-specified default and can be overridden by user-specified options.

No software lists have been updated to use this feature at the moment.
2016-01-31 08:31:35 +01:00
Miodrag Milanovic
f5be481030 Fix regression with some drivers like fidelz80, for render we just need to keep mutex per thread (nw) 2016-01-31 08:23:30 +01:00
AJR
d3eecba525 Software list entries can now supply slot option defaults
This feature is enabled when executing 'mame driver software'. After the specified software is found in the software list and attached to an appropriate image device, the software part's feature list is examined for any feature whose name is that of a slot device with _default appended. The feature's value field becomes the slot's default option, which overrides any driver-specified default and can be overridden by user-specified options.

No software lists have been updated to use this feature at the moment.
2016-01-30 22:49:08 -05:00
dankan1890
0f4b6b0e46 Merge branch 'master' of https://github.com/mamedev/mame 2016-01-31 00:59:23 +01:00
dankan1890
16d9f27d06 Some missed in menu conversion. 2016-01-31 00:00:43 +01:00
hap
f5be205f6e fix a mutex regression (this doesn't fix the lockups i'm seeing) 2016-01-30 23:52:58 +01:00
Miodrag Milanovic
42622cfe8e replace osd_lock with std::mutex [Miodrag Milanovic] 2016-01-30 20:43:50 +01:00
AJR
83e6738a0a Add macros for alignment checking (nw) 2016-01-30 13:25:32 -05:00
Miodrag Milanović
c38e2ab229 Merge pull request #589 from dankan1890/master
Small code cleanup
2016-01-29 07:54:30 +01:00
hap
c4a66568e7 make internal mousepointer(that big orange one) smaller and less jaggies 2016-01-29 01:17:12 +01:00
dankan1890
1e8d53c167 wavwrite.cpp: call to nothrow allocation. 2016-01-29 00:47:01 +01:00
dankan1890
361d32d37f Small code cleanup:
- corealloc.h: added macro definition for global_alloc (nothrow) memory allocation.
- textbuf.cpp / wavwrite.cpp: removed pointless cast.
- debugcmd.cpp / luaengine.cpp / render.cpp: avoid strlen calls in a loop.
- diimage.cpp: simplified "device_image_interface::set_image_filename" function.
- miscmenu.cpp / selgame.h / video.cpp(h): replaced int with bool where applicable.
- ui.cpp: removed unused code.
2016-01-29 00:43:18 +01:00
Miodrag Milanovic
b1d6f6d63f Cleanups and version bump 2016-01-27 08:12:00 +01:00
Miodrag Milanovic
1991ad3e66 Fixed bug debugging drivers with es5510 core, possibly some others that do not have AS_PROGRAM at all (nw) 2016-01-25 15:00:35 +01:00
Miodrag Milanović
3e6d16125c Merge pull request #581 from ajrhacker/validity
Some more validity checking improvements [AJR]
2016-01-25 08:21:28 +01:00
AJR
4725ff56d2 Some more validity checking improvements:
- The -validate command now accepts an optional string, validating only matching drivers.
  This has proven useful for debugging. The default is to validate all drivers as usual.
- Devices' names are tracked when validating their auto-finders.
2016-01-24 17:15:26 -05:00
AJR
d5ea912ddd Have sound_stream::input_name return the std::string it constructs 2016-01-24 16:28:11 -05:00
AJR
9b61eb0b6b Pass and return palette devices by reference, not as pointers
- Add screen_device::has_palette()
- Require device_gfx_interface::gfx() and palette() to access members
- Getters for atari_vad_device return devices as references, not pointers
2016-01-23 22:57:16 -05:00
angelosa
3b94f23dad Print messages for BTANBs, nw 2016-01-24 01:36:01 +01:00
angelosa
d7295a96d7 Added new flag MACHINE_IS_INCOMPLETE, and hooked it up to Bombs Away and "unknown fighting game 'BB'". 2016-01-23 19:10:08 +01:00
therealmogminer@gmail.com
2820f1c277 Time for more this==NULL fixes 2016-01-23 17:30:14 +01:00
mooglyguy
88faee7d26 Remove random uncommitted junk that was on my Mac 2016-01-23 17:30:14 +01:00
mooglyguy
821c7e0b2b Still more this==NULL cleanup 2016-01-23 17:30:14 +01:00
Scott Stone
b74eab06c5 Eliminate remaining this == NULL entry 2016-01-23 17:30:14 +01:00
therealmogminer@gmail.com
5a9fb4c340 Remove this==NULL comps, nw 2016-01-23 17:30:14 +01:00
Miodrag Milanovic
4e8e3066f8 reverting:
SHA-1: 1f90ceab07

* tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
2016-01-20 21:42:13 +01:00
Miodrag Milanovic
3a8ccb89b4 Revert "Fixes (nw)"
This reverts commit 5f19489cd2.
2016-01-20 21:35:30 +01:00
Miodrag Milanovic
7c9cd3feea Revert "rest of device parameters to std::string (nw)"
This reverts commit caba131d84.
2016-01-20 21:35:11 +01:00
Miodrag Milanovic
122a16c690 Revert "Fix broken listdevices sorting (nw)"
This reverts commit 7218ceee7b.
2016-01-20 21:33:52 +01:00
Miodrag Milanovic
a62e7d8565 Revert "Fix callbacks resolve (nw)"
This reverts commit a0ca8148eb.
2016-01-20 21:33:19 +01:00
Miodrag Milanovic
724fd46254 Revert "fix for slots, makes c64 and other loading (nw)"
This reverts commit e61f9bf26f.
2016-01-20 21:32:34 +01:00
Miodrag Milanovic
abb7f223b3 Revert "Fix for hang, emu_options::add_slot_options was changed, other things are just cleanup (nw)"
This reverts commit 841a55985e.
2016-01-20 21:32:11 +01:00
Miodrag Milanovic
d5464a5799 Revert "cleanup (nw)"
This reverts commit 1d610433a7.
2016-01-20 21:31:57 +01:00
Miodrag Milanovic
d01f8971e0 Revert "fixed issue with -lx (nw)"
This reverts commit 1a7b8364f6.
2016-01-20 21:31:38 +01:00
Miodrag Milanovic
684132719f Revert "Memory region to use std::string (nw)"
This reverts commit 14d0bff4d0.
2016-01-20 21:31:21 +01:00
Miodrag Milanovic
2cc5e240f4 Revert "can't store pointer to temp object in const char * (nw)"
This reverts commit ff5bde34bb.
2016-01-20 21:31:09 +01:00
Miodrag Milanovic
ff5bde34bb can't store pointer to temp object in const char * (nw) 2016-01-20 20:18:47 +01:00
Miodrag Milanovic
14d0bff4d0 Memory region to use std::string (nw) 2016-01-20 16:04:07 +01:00
Miodrag Milanovic
1a7b8364f6 fixed issue with -lx (nw) 2016-01-19 17:10:17 +01:00
Miodrag Milanović
e94f038d8b Merge pull request #567 from ajrhacker/confix
Driver configuration fixes
2016-01-18 17:33:04 +01:00
Miodrag Milanovic
1d610433a7 cleanup (nw) 2016-01-18 14:42:45 +01:00
Miodrag Milanovic
841a55985e Fix for hang, emu_options::add_slot_options was changed, other things are just cleanup (nw) 2016-01-18 14:39:13 +01:00
Miodrag Milanovic
e61f9bf26f fix for slots, makes c64 and other loading (nw) 2016-01-17 20:27:39 +01:00
Miodrag Milanovic
a0ca8148eb Fix callbacks resolve (nw) 2016-01-17 16:11:14 +01:00
Miodrag Milanovic
558d6e192d placed this back, bad OG :) (nw) 2016-01-17 14:47:34 +01:00
AJR
7218ceee7b Fix broken listdevices sorting (nw) 2016-01-16 17:07:38 -05:00
AJR
be2d8c82d8 Driver configuration fixes
- Implement found() method for object finders
- a1200, cubo, midzeus2, etc.: remove spurious palette tags
- bagman, sbagman & clones: correct PROM region lengths
- atomicp, snapper: remove unused(?) sprite device w/no ROMs
2016-01-16 16:13:23 -05:00
Miodrag Milanovic
caba131d84 rest of device parameters to std::string (nw) 2016-01-16 20:05:32 +01:00
Miodrag Milanovic
5f19489cd2 Fixes (nw) 2016-01-16 17:55:36 +01:00
Miodrag Milanovic
1f90ceab07 tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
2016-01-16 14:54:42 +01:00
Miodrag Milanovic
7f02a9e47b Fix image unload (nw) 2016-01-14 14:10:36 +01:00
Miodrag Milanovic
603dfb67c4 Revert "remove const (nw)"
This reverts commit e96fd34dd8.
2016-01-13 13:29:06 +01:00
Miodrag Milanovic
807265ed21 put debug_view back in machine due to issues with QT (nw) 2016-01-12 12:00:56 +01:00
Miodrag Milanovic
79fd7e15d1 Fix linux compile 2016-01-12 10:02:55 +01:00
Miodrag Milanovic
f9a9eafba0 created debugger_manager, now this one owns debug_view_manager (nw) 2016-01-12 09:50:59 +01:00
Miodrag Milanovic
7dec0b4143 simplify (nw) 2016-01-12 09:17:14 +01:00
Miodrag Milanovic
43cc0ac675 final touch on romload modernization (nw) 2016-01-11 21:27:11 +01:00
Miodrag Milanovic
864486b7e6 vector instead of simple_list (nw) 2016-01-11 18:11:55 +01:00
Miodrag Milanovic
f21c96ce8a modernize rom_load_manager (nw) 2016-01-11 17:15:09 +01:00
Miodrag Milanovic
f0dc809ab8 image_manager modernized and move some things around (nw) 2016-01-11 14:59:24 +01:00
Miodrag Milanovic
e0358a4ce4 get rid of global_alloc (nw) 2016-01-11 13:23:03 +01:00
Miodrag Milanovic
2bdd459d61 fix clang build (nw) 2016-01-11 12:01:08 +01:00
Miodrag Milanovic
3b922ba118 modernized crosshair_manager (nw) 2016-01-11 11:59:41 +01:00
Miodrag Milanovic
3c1ea41741 let's use our templates to clear (nw) 2016-01-11 11:32:39 +01:00
Miodrag Milanovic
04a5484b49 change initialization order, removes need for additional checks (nw) 2016-01-11 10:21:21 +01:00
Miodrag Milanovic
e96fd34dd8 remove const (nw) 2016-01-11 09:58:36 +01:00
Miodrag Milanovic
02fb0d2084 can't change this one (nw) 2016-01-11 09:24:21 +01:00
Miodrag Milanović
36195292e3 Merge pull request #561 from ajrhacker/strings
Return std::string objects by value rather than pass by reference [ajrhacker]
2016-01-11 09:18:43 +01:00
AJR
115db95642 Return std::string objects by value rather than pass by reference
- strprintf is unaltered, but strformat now takes one fewer argument
- state_string_export still fills a buffer, but has been made const
- get_default_card_software now takes no arguments but returns a string
2016-01-10 16:36:18 -05:00
Miodrag Milanovic
30c10f6f79 modernized ui_input_manager (nw) 2016-01-10 20:32:30 +01:00
Miodrag Milanovic
c678902d0b make output be part of driver_device (nw) 2016-01-10 18:51:36 +01:00
Miodrag Milanovic
f9f908d48b modernize output_manager (nw) 2016-01-10 18:41:17 +01:00
Miodrag Milanovic
3e5ad46410 modernized configuration_manager (nw) 2016-01-10 15:17:18 +01:00
Miodrag Milanovic
9649088839 modernized bookkeeping manager (nw) 2016-01-10 13:19:57 +01:00
Miodrag Milanovic
283fbf13a4 generic machine is now bookkeeping (nw) 2016-01-10 11:39:38 +01:00
Miodrag Milanovic
726f7958ca move things around (nw) 2016-01-10 11:15:10 +01:00
Miodrag Milanovic
701aea7859 modernized network_manager (nw) 2016-01-10 10:57:37 +01:00
Miodrag Milanovic
8b31662264 Clear device driver member variables on creation (nw) 2016-01-08 18:25:45 +01:00
Miodrag Milanovic
ce75a5d682 removed memory tracking (nw) 2016-01-08 12:41:13 +01:00
Jeffrey Clark
b0a2383cae add lua console support back in 2016-01-06 01:20:49 -06:00
AJR
a0d3f281ba Fix errors from faulty merge (nw) 2016-01-02 17:45:03 -05:00
AJR
3e6c0d3434 Allow mame -validate -verbose to capture verbose messages 2016-01-02 09:40:15 -05:00
Miodrag Milanovic
f1a0a3cb88 Added pre-compiled headers support to build system (nw) 2016-01-01 08:23:58 +01:00
Con Huevos Guey
d940950b85 Update debugcon.h
Increased MAX_COMMAND PARAMS and MAX_COMMAND_LENGTH to quadruple their previous size.  The previous values did not have the capacity to allow trace logging of all registers at the same time in some CPUS.  Setting the maximum to 128 should allow for capturing of systems with large symbolic lists (such as Playstation) if needed. 

For example, the following command would throw an error when trace logging a 68000 CPU because the maximum parameters (16) would be reached when attempting to capture all registers:

trace 68K.log,0,{tracelog "A0=%08X, A1=%08X, A2=%08X, A3=%08X, A4=%08X, A5=%08X, A6=%08X, A7=%08X, D0=%08X, D1=%08X, D2=%08X, D3=%08X, D4=%08X, D5=%08X, D6=%08X, D7=%08X ",a0,a1,a2,a3,a4,a5,a6,a7,d0,d1,d2,d3,d4,d5,d6,d7}
2015-12-31 13:42:55 -06:00
Miodrag Milanovic
ae4661504c Just name not acronym (nw) 2015-12-31 11:00:47 +01:00
Miodrag Milanovic
1aa986d617 Revert "removing MESS brand and making MAME a name not acronym (nw)"
Too contraversial for now :)

This reverts commit 47bf03513e.
2015-12-31 10:51:15 +01:00
Miodrag Milanovic
47bf03513e removing MESS brand and making MAME a name not acronym (nw) 2015-12-31 10:31:00 +01:00
Miodrag Milanovic
4afd75e2fd Cleanups and version bump 2015-12-30 08:18:51 +01:00
Brandon Munger
c66bc59508 Fix UI message for software selection 2015-12-28 19:10:31 -05:00
Miodrag Milanović
f8eb29b9bd Revert "Allow mame -validate -verbose to display more messages (and make erro…" 2015-12-28 15:56:35 +01:00
Miodrag Milanović
11fcbaa285 Merge pull request #527 from ajrhacker/master
Allow mame -validate -verbose to display more messages [ajrhacker]
2015-12-28 07:17:17 +01:00
AJR
5ef8cef2f1 Allow mame -validate -verbose to display more messages (and make error/warning output a little neater) 2015-12-27 22:42:05 -05:00
Miodrag Milanovic
2e9fa84503 Fix recognition for more platforms, and fixed compile on arm (nw) 2015-12-27 16:37:16 +01:00
Miodrag Milanovic
94bc7eed38 cleanup (nw) 2015-12-25 12:09:50 +01:00
qmc2
2775a5a784 Make -verifyroms verify sub-devices like mpu401 and c2040fdc 2015-12-23 15:51:08 +01:00
Miodrag Milanovic
a55ab6d615 some handmade changes (nw) 2015-12-21 16:01:14 +01:00
Miodrag Milanovic
2d09179902 Added license for Derrick Renaud, extended K.Wilkins and F.Palazzolo to full names, (nw)
Added license for Paul Forgey
2015-12-21 09:57:22 +01:00
AJR
de31dfcf58 Refactoring memory map validity checking 2015-12-19 18:22:19 -05:00
Miodrag Milanovic
a8cef0ae39 global_alloc for m_gfxdecode->set_gfx changed to work with unique_ptr (nw) 2015-12-19 20:05:35 +01:00
Miodrag Milanovic
42adde9fd5 auto_alloc_array_clear -> make_unique_clear (nw) 2015-12-19 11:08:25 +01:00
Miodrag Milanovic
174720a64d removed auto_bitmap_ind*_alloc and auto_bitmap_rgb32_alloc and replaced with std::unique_ptr (nw)
auto_alloc_array to unique_ptr
Added make_unique_clear
2015-12-17 11:10:30 +01:00
mahlemiut
043eed6171 Make new internal debugger windows appear in a cascade-like position, and give some windows better default sizes. Change render_target::debug_top() to put targets at the end of the target list, fixing the order in which windows are rendered (nothing else uses this function). 2015-12-17 19:10:31 +13:00
MASH
793aef6039 Replaced strlen(device->shortname())!=0 with device->shortname()[0]!='\0' in info.cpp
Increased listxml output ==> 18%
2015-12-15 21:20:24 -05:00
hap
78c868cb45 nw 2015-12-15 16:26:51 +01:00
MASH
6d39992775 Fixed listxml sample output.
The listxml dosn't output the game samples.
This fixed commit: tagmap_t to std::unordered_map or std::unordered_set where applicable… 
3414b0166e
2015-12-15 03:10:01 +01:00
Vas Crabb
3ab910fe50 const-qualify source bitmaps in drawgfx 2015-12-14 04:41:13 +11:00
Miodrag Milanovic
379581fb36 macro removal INLINE -> static inline (nw) 2015-12-12 08:58:57 +01:00
Miodrag Milanovic
9a2ed1703a tagged_list without tagmap_t (nw) 2015-12-11 13:59:37 +01:00
Miodrag Milanovic
3414b0166e tagmap_t to std::unordered_map or std::unordered_set where applicable (nw) 2015-12-09 21:14:13 +01:00
Miodrag Milanovic
ce3bc53918 had to revert this in order clang to work (nw) 2015-12-09 17:30:14 +01:00
Miodrag Milanovic
83e804ab0c updated checks since old versions are anyway not supported (nw) 2015-12-09 15:53:43 +01:00
Miodrag Milanovic
c98724d841 Fixed uninitialized variables, detected by VS2015 x64 build (nw) 2015-12-07 19:20:42 +01:00
yz70s
83f758cbeb Show more digits in fp values (issue #476) 2015-12-06 23:33:03 +01:00
yz70s
e76dc64868 Show 64 and 80 bit floats in windows and qt debugger (issue #476) 2015-12-06 23:33:03 +01:00
Miodrag Milanovic
866f0b6805 cleanup 2015-12-06 09:58:11 +01:00
Miodrag Milanovic
3ee9b6cee4 fixing some more override (nw) 2015-12-06 09:23:23 +01:00
Miodrag Milanovic
21d8194c7c placed cache back in new form, fixes listxml and similar (nw) 2015-12-04 12:32:42 +01:00
Miodrag Milanovic
1b0ec08af5 clang-modernize part 6 2015-12-04 10:29:21 +01:00
Miodrag Milanovic
5a2f80dcde clang-modernize part 5 2015-12-04 07:06:18 +01:00
Miodrag Milanovic
91605d3f4d clang-modernize part 1 (nw) 2015-12-03 18:17:25 +01:00
Miodrag Milanovic
5232ca932a force delete of copy constructor and operator = (nw) 2015-12-03 15:54:13 +01:00
Miodrag Milanovic
92f81361d6 Initial conversion of core to C++14. Note that compilers are now limited to GCC 4.9.0 and up, Clang 3.4.0 and up, and VS2013 and up [Miodrag Milanovic] 2015-12-03 11:40:45 +01:00
R. Belmont
0704504dc9 Merge pull request #481 from osresearch/master
silence warnings on OSX clang3.0 (issue #480)
2015-11-30 08:58:36 -05:00
yz70s
b052dcb402 First commit for issue #476
"byte per chunk" is sostituted by "data format"
  data formats lesser than 9 work as before, data format 9 is 32 but floating point
  in the debug_view_memory class method bytes_per_chunk is substituted by get_data_format, set_bytes_per_chunk is substituted by set_data_format
  floating point values cannot be edited
  currently floating point values are available only in the windows debugger, next commit will add them to the qt debugger, osx i won't be able to do it
  afterwards 64 and 80 bit formats will be added
2015-11-30 10:15:25 +01:00
Trammell Hudson
d035640605 add casts from emu_file to core_file (issue #482) 2015-11-27 17:12:21 -05:00
Miodrag Milanovic
0825ce4f3b Cleanups and version bump 2015-11-25 08:22:24 +01:00
David Haywood
b1cd05ee52 Merge pull request #470 from ImJezze/master
HLSL bug fixes
2015-11-19 01:12:45 +00:00
Miodrag Milanovic
d09c2b2e5d Revert "No need for simple_list_wrapper (nw)"
This reverts commit 9cf26a0f69.
2015-11-18 19:30:36 +01:00
ImJezze
0095c77163 Cleanup (nw)
- removed some tabs at line ends
2015-11-18 18:09:09 +01:00
Miodrag Milanovic
9cf26a0f69 No need for simple_list_wrapper (nw) 2015-11-18 13:39:59 +01:00
ImJezze
05f83580c0 Fixed dynamic beam width for invariabel vector intensity
- the vector renderer now tries to detect a invariabel vector intensity
and disables the calculation of a dynamic beam width
2015-11-18 13:37:53 +01:00
Miodrag Milanovic
e078b40130 removed old code part (nw) 2015-11-18 09:57:34 +01:00
ImJezze
8be53c28f0 Changed screen adjustment for HLSL
- screen adjustment (scale, offset) can now be handled by the respective
render API itself (default behavior is as before)
- D3D (if HLSL) is activated handles screen adjustment by itself within
the shader, which fixes the odd behavior of some effects (e.g. round
corners) when screen scale and offset is used
2015-11-17 19:37:56 +01:00
Miodrag Milanovic
61d05aacb8 Fixed some suggestions by ReSharper C++ (nw) 2015-11-14 19:05:18 +01:00
Miodrag Milanovic
19ff46c113 More cleanups (nw) 2015-11-11 18:07:13 +01:00
Miodrag Milanovic
a89530313f this is obvious error (nw) 2015-11-11 18:05:41 +01:00
Miodrag Milanovic
02f128df25 more cleanups and fix (nw) 2015-11-11 17:19:26 +01:00
Miodrag Milanovic
d1dc775f9b Some cleanups and init fixes with help of ReSharper C++ (nw) 2015-11-11 16:31:18 +01:00
Miodrag Milanovic
7c7e62455e removed unused code (nw) 2015-11-11 13:25:45 +01:00
Miodrag Milanovic
4046c861ba These are not needed with official tools (nw) 2015-11-10 14:39:09 +01:00
therealmogminer@gmail.com
7b5119e166 nw, more PVS-Studio fixes 2015-11-09 12:23:29 +01:00
therealmogminer@gmail.com
33f410f0d9 Fix more PVS-Studio warnings, nw 2015-11-09 11:22:13 +01:00
Miodrag Milanovic
c27f551ac3 fix breakage while logerror (nw) 2015-11-08 20:24:44 +01:00
Miodrag Milanovic
7c19aac60e Rename *.c -> *.cpp in our source (nw) 2015-11-08 12:56:12 +01:00
Miodrag Milanovic
f869455148 Some errors pointed by ReSharperC++ (nw) 2015-11-07 11:55:44 +01:00
Miodrag Milanovic
7e91d39640 no need to include network.h (nw) 2015-11-06 16:08:28 +01:00
Miodrag Milanovic
9c96282b3b Cleanup devcpu.h (nw) 2015-11-06 15:55:31 +01:00
Miodrag Milanovic
475e637fb3 removed render.h from emu.h and fix deps (nw) 2015-11-06 14:25:23 +01:00
Miodrag Milanovic
bcafd15b09 fix memory leak (nw) 2015-11-06 08:11:05 +01:00
Miodrag Milanovic
41fea29de5 Relaxed emu.h a bit, should make compile a bit faster (nw) 2015-11-05 20:39:57 +01:00
Miodrag Milanovic
b6707c3bb5 Removed mongoose due to restricted license and webserver wip till code is restructured (nw) 2015-11-04 18:55:36 +01:00
Miodrag Milanovic
3885185274 fix compare (nw) 2015-11-02 15:03:17 +01:00
Vas Crabb
a5a301d1fe Let's be more strict (nw) 2015-11-02 23:40:04 +11:00
Vas Crabb
99c12e17c4 More appeasement of the standards gods (nw) 2015-11-02 02:02:12 +11:00
Vas Crabb
44c21dcac5 Get rid of one this == NULL comparison, reduces warnings by 10% with clang 3.6 (nw) 2015-11-02 02:02:08 +11:00
Miodrag Milanovic
18188cb13b making logerror part of machine and device classes [Miodrag Milanovic]
display tag of device that logged message
2015-11-01 14:34:45 +01:00
Miodrag Milanovic
47f56372ee Cleanup and version bump 2015-10-28 08:06:12 +01:00
Vas Crabb
f410f2a9b4 Fix PowerPC build 2015-10-28 15:13:37 +11:00
Miodrag Milanovic
42d672722d removed not needed conversions (nw) 2015-10-27 19:46:41 +01:00
Miodrag Milanovic
8747487f9b Removed some unused variables (nw) 2015-10-27 19:21:46 +01:00
Miodrag Milanović
0a415253a1 Merge pull request #432 from ImJezze/master
Vector Rendering Fixes and Improvements
2015-10-27 11:35:37 +01:00
ImJezze
21b577483b Cleanup
- some renamings
- reverted one unwanted change in vector.fx
2015-10-26 19:49:17 +01:00