Removal of vid_blit_memtoscreen_8().
This commit is contained in:
@@ -228,7 +228,6 @@ extern void video_blend(int x, int y);
|
|||||||
extern void video_blit_memtoscreen_8(int x, int y, int w, int h);
|
extern void video_blit_memtoscreen_8(int x, int y, int w, int h);
|
||||||
extern void video_blend_monitor(int x, int y, int monitor_index);
|
extern void video_blend_monitor(int x, int y, int monitor_index);
|
||||||
extern void video_process_8_monitor(int x, int y, int monitor_index);
|
extern void video_process_8_monitor(int x, int y, int monitor_index);
|
||||||
extern void video_blit_memtoscreen_8_monitor(int x, int y, int w, int h, int monitor_index);
|
|
||||||
extern void video_blit_memtoscreen_monitor(int x, int y, int w, int h, int monitor_index);
|
extern void video_blit_memtoscreen_monitor(int x, int y, int w, int h, int monitor_index);
|
||||||
extern void video_blit_complete_monitor(int monitor_index);
|
extern void video_blit_complete_monitor(int monitor_index);
|
||||||
extern void video_wait_for_blit_monitor(int monitor_index);
|
extern void video_wait_for_blit_monitor(int monitor_index);
|
||||||
@@ -264,7 +263,6 @@ extern uint32_t video_color_transform(uint32_t color);
|
|||||||
#define video_blend(x, y) video_blend_monitor(x, y, monitor_index_global)
|
#define video_blend(x, y) video_blend_monitor(x, y, monitor_index_global)
|
||||||
#define video_blit_memtoscreen(x, y, w, h) video_blit_memtoscreen_monitor(x, y, w, h, monitor_index_global)
|
#define video_blit_memtoscreen(x, y, w, h) video_blit_memtoscreen_monitor(x, y, w, h, monitor_index_global)
|
||||||
#define video_process_8(x, y) video_process_8_monitor(x, y, monitor_index_global)
|
#define video_process_8(x, y) video_process_8_monitor(x, y, monitor_index_global)
|
||||||
#define video_blit_memtoscreen_8(x, y, w, h) video_blit_memtoscreen_8_monitor(x, y, w, h, monitor_index_global)
|
|
||||||
#define video_blit_complete() video_blit_complete_monitor(monitor_index_global)
|
#define video_blit_complete() video_blit_complete_monitor(monitor_index_global)
|
||||||
#define video_wait_for_blit() video_wait_for_blit_monitor(monitor_index_global)
|
#define video_wait_for_blit() video_wait_for_blit_monitor(monitor_index_global)
|
||||||
#define video_wait_for_buffer() video_wait_for_buffer_monitor(monitor_index_global)
|
#define video_wait_for_buffer() video_wait_for_buffer_monitor(monitor_index_global)
|
||||||
|
@@ -548,27 +548,6 @@ video_process_8_monitor(int x, int y, int monitor_index)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
video_blit_memtoscreen_8_monitor(int x, int y, int w, int h, int monitor_index)
|
|
||||||
{
|
|
||||||
int yy, xx;
|
|
||||||
|
|
||||||
if ((w > 0) && (h > 0)) {
|
|
||||||
for (yy = 0; yy < h; yy++) {
|
|
||||||
if ((y + yy) >= 0 && (y + yy) < monitors[monitor_index].target_buffer->h) {
|
|
||||||
for (xx = 0; xx < w; xx++) {
|
|
||||||
if (monitors[monitor_index].target_buffer->line[y + yy][x + xx] <= 0xff)
|
|
||||||
monitors[monitor_index].target_buffer->line[y + yy][x + xx] = monitors[monitor_index].mon_pal_lookup[monitors[monitor_index].target_buffer->line[y + yy][x + xx]];
|
|
||||||
else
|
|
||||||
monitors[monitor_index].target_buffer->line[y + yy][x + xx] = 0x00000000;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
video_blit_memtoscreen_monitor(x, y, w, h, monitor_index);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
cgapal_rebuild_monitor(int monitor_index)
|
cgapal_rebuild_monitor(int monitor_index)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user