Commit Graph

36 Commits

Author SHA1 Message Date
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
Antonio Giner
da18057256 Implement integer scaling in core renderer [Calamity] 2016-03-15 01:04:37 +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
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
AJR
2acc33d8a7 Let slot_default in softlists override INIs (but not the command line) 2016-03-09 19:59:25 -05: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
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
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
Miodrag Milanovic
3abcaee63f Cleanups and version bump 2016-02-24 07:46:57 +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
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
ccae0382bb Added plugins and boot.lua as startup script [Miodrag Milanovic] 2016-02-14 10:58:18 +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
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
David Haywood
e5dde745c4 change default (nw) 2016-02-04 15:50:39 +00:00
Miodrag Milanovic
52d97f0dfa more mewui -> ui renames (nw) 2016-02-04 15:14:27 +01:00
Dankan1890
701df7fe9e Initial import of MEWUI to MAME [Dankan1890] 2016-02-04 15:14:24 +01: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
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
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
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
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
1f90ceab07 tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
2016-01-16 14:54:42 +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
Jeffrey Clark
b0a2383cae add lua console support back in 2016-01-06 01:20:49 -06:00
Miodrag Milanovic
91605d3f4d clang-modernize part 1 (nw) 2015-12-03 18:17:25 +01:00
Trammell Hudson
d035640605 add casts from emu_file to core_file (issue #482) 2015-11-27 17:12:21 -05:00
ImJezze
0095c77163 Cleanup (nw)
- removed some tabs at line ends
2015-11-18 18:09:09 +01:00
Miodrag Milanovic
19ff46c113 More cleanups (nw) 2015-11-11 18:07:13 +01:00
Miodrag Milanovic
7c19aac60e Rename *.c -> *.cpp in our source (nw) 2015-11-08 12:56:12 +01:00