Commit graph

11 commits

Author SHA1 Message Date
Ilari Liusvaara
261b631ac2 Don't leak palette if freeing screen object 2012-01-10 01:12:50 +02:00
Ilari Liusvaara
c298f8eae7 lsnes rr1-β0 2012-01-06 17:28:01 +02:00
Ilari Liusvaara
c3fc676519 Fix whitespace errors 2011-12-27 09:41:28 +02:00
Ilari Liusvaara
debe5c1110 Don't assume that rshift=16, gshift=8, bshift=0 in blending code
This fixes text colors on SDL with Mac OS X.
2011-12-25 08:30:41 +02:00
Ilari Liusvaara
9e3b7c82d4 Lua: Add gui.textH, gui.textV, gui.textHV 2011-12-25 00:26:25 +02:00
Ilari Liusvaara
43fe0ba283 Direct framebuffer
Allow screen to directly write into mapped framebuffer. Should be slightly
faster.
2011-11-15 05:10:12 +02:00
Ilari Liusvaara
f65e0b7139 Fix memory corruption bug in lcscreen::load()
lcscren::load() didn't compute the number of pixels to load correctly.
The data has 2 byte header followed by 3 byte pixels, meaning the number
of pixels is (size - 2) / 3. But the code assumed 2 byte pixels, causing
load loop to trash memory after end of screen memory.
2011-11-09 19:48:58 +02:00
Ilari Liusvaara
223c5d7cea Fix zero luma corner case 2011-11-08 23:09:49 +02:00
Ilari Liusvaara
9f51c1d969 Get rid of need for host C++ compiler 2011-11-06 17:37:53 +02:00
Ilari Liusvaara
3f5686bd32 Make find_glyph return a pointer to glyph data, not offset 2011-11-06 15:58:26 +02:00
Ilari Liusvaara
044691d555 Move files around a lot 2011-11-06 14:41:41 +02:00
Renamed from generic/render.cpp (Browse further)