mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
strip one level of func
svn-id: r22601
This commit is contained in:
parent
04bf129416
commit
a62c66bea1
@ -151,7 +151,7 @@ static void put_pixels(const int x, const int y, const int w, uint8 *p) {
|
||||
uint8 *b, *c = NULL;
|
||||
|
||||
if (console.y <= y) {
|
||||
gfx_putpixels(x, y, w, p);
|
||||
memcpy(screen + x + y * 320, p, w);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -162,7 +162,7 @@ static void put_pixels(const int x, const int y, const int w, uint8 *p) {
|
||||
*b++ = *c ? *c : *p + 16;
|
||||
}
|
||||
|
||||
gfx_putpixels(x, y, w, _b);
|
||||
memcpy(screen + x + y * 320, p, w);
|
||||
}
|
||||
|
||||
static void init_console() {
|
||||
@ -434,11 +434,6 @@ void gfx_set_palette() {
|
||||
g_system->setPalette(pal, 0, 32);
|
||||
}
|
||||
|
||||
void gfx_putpixels(int x, int y, int w, uint8 *p) {
|
||||
uint8 *p0 = screen + x + y * 320;
|
||||
memcpy(p0, p, w);
|
||||
}
|
||||
|
||||
/* put a block onto the screen */
|
||||
void gfx_putblock(int x1, int y1, int x2, int y2) {
|
||||
if (x1 >= GFX_WIDTH)
|
||||
|
@ -42,7 +42,6 @@ extern uint8 palette[];
|
||||
extern uint8 layer1_data[];
|
||||
extern uint8 layer2_data[];
|
||||
|
||||
void gfx_putpixels(int x, int y, int w, uint8 * p);
|
||||
void gfx_putblock(int x1, int y1, int x2, int y2);
|
||||
|
||||
void put_text_character(int, int, int, unsigned int, int, int);
|
||||
|
Loading…
Reference in New Issue
Block a user