Go to file
Aaron Giles 18f33f4eff Changed device->subregion to device->memregion. Moved
memory_region management into the memory manager instead
of directly in the machine. Hid the global region method;
now all regions must be looked up relative to a device.

If you're a member function, you can just use memregion("tag") 
directly. If you're a global function or a device referencing
global regions, use machine().root_device().memregion("tag")
to look up regions relative to the root.

S&R to convert all references:

machine([()]*)\.region
machine\1\.root_device\(\).subregion

Then remove redundant machine().root_device() within src/mame:

([ \t])machine\(\)\.root_device\(\)\.
\1

And use state->memregion() if we have a state variable present:

(state *= *[^;]+driver_data[^}]+)([^ \t]*)machine[()]*\.root_device\(\)\.
\1state->

Finally some cleanup:

screen.state->
state->

device->state->
state->

space->state->
state->

And a few hand-tweaks.
2012-04-20 05:54:39 +00:00
artwork HLSL Updates: [Ryan Holtz, Bat Country Entertainment, austere] 2011-06-06 21:25:38 +00:00
docs Refactored the hlsl.txt documentation file to match current MAME commands (nw) 2011-11-13 03:54:52 +00:00
hash Assorted changes from Johnboy related to Neo-Geo (nw) 2012-04-02 16:50:54 +00:00
hlsl HLSL "Hurricain't Keep A Good Dev Down" Bugfix Extravaganza: [Ryan Holtz, Bat 2011-08-28 09:10:53 +00:00
src Changed device->subregion to device->memregion. Moved 2012-04-20 05:54:39 +00:00
.gitattributes audio/mcr -> audio/midway 2012-04-17 18:55:15 +00:00
makefile Allow compilation with compatible system-installed versions of libjpeg and libflac [wallyweek, R. Belmont] 2012-03-29 21:56:18 +00:00