178 |
/* Store desktop data in the cache */ |
/* Store desktop data in the cache */ |
179 |
void |
void |
180 |
cache_put_desktop(uint32 offset, int cx, int cy, int scanline, |
cache_put_desktop(uint32 offset, int cx, int cy, int scanline, |
181 |
int bytes_per_pixel, uint8 *data) |
int bytes_per_pixel, uint8 * data) |
182 |
{ |
{ |
183 |
int length = cx * cy * bytes_per_pixel; |
int length = cx * cy * bytes_per_pixel; |
184 |
|
|
203 |
static HCURSOR cursorcache[0x20]; |
static HCURSOR cursorcache[0x20]; |
204 |
|
|
205 |
/* Retrieve cursor from cache */ |
/* Retrieve cursor from cache */ |
206 |
HCURSOR cache_get_cursor(uint16 cache_idx) |
HCURSOR |
207 |
|
cache_get_cursor(uint16 cache_idx) |
208 |
{ |
{ |
209 |
HCURSOR cursor; |
HCURSOR cursor; |
210 |
|
|