summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/memarray.c
Commit message (Collapse)AuthorAgeFilesLines
* Touching all the candy again: [Alex Jackson] Alex W. Jackson2014-11-171-1/+1
| | | | | | | | | | | | | | | | Fixed an annoying inconsistency between memory_share and memory_region: the width() method of the former returned the width in bits (8, 16, 32 or 64) while the width() method of the latter returned the width in bytes (1, 2, 4 or 8). Now both classes have a bitwidth() method and a bytewidth() method. Updated all callers to use whichever one was more appropriate. Removed the implicit-cast-to-any-integer-pointer ability of memory_regions, which was rather unsafe (if you weren't careful with your * operators and casts it was easy to accidentally get a pointer to the memory_region object itself instead of to the data, with no warning from the compiler... or at least I kept doing it) Updated all devices and drivers that were accessing regions that way to use a region_ptr_finder when possible, and otherwise to call base() explicitly.
* Revert unneccessary change to memarray.c; change another emupal.c assert to ↵ Alex W. Jackson2014-06-021-2/+0
| | | | assert_always; restore joust2r1 which was accidentally removed from mame.lst (nw)
* New games added or promoted from NOT_WORKING status Roberto Fresca2014-06-021-0/+2
| | | | | | | | | | | | | | | --------------------------------------------------- Star 100 [Roberto Fresca] New games marked as GAME_NOT_WORKING ------------------------------------ Crazy Bonus 2000 [Roberto Fresca] - Added proper bipolar proms to Bonus Chance. (No WN)... Workaround in emu/memarray.c to allow hook a RAMDAC for Sang Ho games.
* emupal.c: Support palette RAM less than the full width of the data bus it's on, Alex W. Jackson2014-05-061-4/+19
| | | | | | | | without the need for per-driver trampolines. Started removing said trampolines. [Alex Jackson] (nw) This fixes generic_paletteram regressions in simpl156.c and tmnt.c. Just a couple left now.
* Merge memarray improvements from palette branch into trunk (nw) Alex W. Jackson2014-02-221-28/+28
|
* Bulk convert files that already had standard BSD license in my name Aaron Giles2013-10-161-31/+2
| | | | to new license tagged form.
* added missing initialization in src/emu/memarray.c (nw) Oliver Stöneberg2013-09-121-1/+4
|
* Moved tilemap_memory into a generic memory_array class, since it is Aaron Giles2013-08-071-0/+203
more generally useful than just in tilemaps. Code is now in memarray.* Converted the Atari RLE motion objects device from a half-assed device into a full-assed device, leveraging the memory_array class.