| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
| |
More osd_dim use. (nw)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- HDC is passed differently to gdi renderer (the only one using it).
- Merged sdl_window_config and win_window_config into osd_window_config.
- Use osd_window_config instead of replicating individual member
variables in osd_window.
|
|
|
|
| |
be explicitly enabled by specifying USE_OPENGL=1. More code alignment.
[Couriersud]
|
| |
|
| |
|
| |
|
|
|
|
| |
Althought the code in window.h is far from nice currently it now allows
to address one issue after the other. (nw)
|
| |
|
| |
|
| |
|
|
|
| |
(nw)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
will enable the move of some now identical functions back to window.c.
(nw)
|
|\ |
|
| | |
|
| |
| |
| | |
inherit from this interface. (nw)
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
- Window height was 0 after a switch from fullscreen to windowed if
sdlmame was started in fullscreen
- Fixed -switchres. This is now working on Ubuntu 14.04 again.
Performance will vary on your hardware and drivers and I suspect
SDL to be partly broken.
|
| |
|
|
|
|
| |
to set_target_bounds. That's what is really done here. Moved common code
back to window.c. (nw)
|
| |
|
|
|
|
|
|
| |
- Made some members private
- moved static functions into sdl_window_info
- extended work_param struct with constructors for better readability
|
| |
|
|
|
|
| |
win_monitor_info to class
win_window_info to class, partial
|
|
|
|
| |
well, just doing now what we can
|
| |
|
|
|
|
|
| |
nw: there's much, much more cleanup to be done now, but this serves as a functional baseline.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove redundant machine items from address_space and device_t.
Neither machine nor m_machine are directly accessible anymore.
Instead a new getter machine() is available which returns a
machine reference. So:
space->machine->xxx ==> space->machine().xxx
device->machine->yyy ==> device->machine().yyy
Globally changed all running_machine pointers to running_machine
references. Any function/method that takes a running_machine takes
it as a required parameter (1 or 2 exceptions). Being consistent
here gets rid of a lot of odd &machine or *machine, but it does
mean a very large bulk change across the project.
Structs which have a running_machine * now have that variable
renamed to m_machine, and now have a shiny new machine() method
that works like the space and device methods above. Since most of
these are things that should eventually be devices anyway, consider
this a step in that direction.
98% of the update was done with regex searches. The changes are
architected such that the compiler will catch the remaining
errors:
// find things that use an embedded machine directly and replace
// with a machine() getter call
S: ->machine->
R: ->machine\(\)\.
// do the same if via a reference
S: \.machine->
R: \.machine\(\)\.
// convert function parameters to running_machine &
S: running_machine \*machine([^;])
R: running_machine \&machine\1
// replace machine-> with machine.
S: machine->
R: machine\.
// replace &machine() with machine()
S: \&([()->a-z0-9_]+machine\(\))
R: \1
// sanity check: look for this used as a cast
(running_machine &)
// and change to this:
*(running_machine *)
|
| |
|
|
|
|
| |
expect more changes. No whatsnew.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
that revision is completely broken since Sam ripped out multi-keyboard and multi-mice support. Further information in README_SDL13.txt [Couriersud]
|
| |
|
| |
|