mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 05:45:38 +00:00
This commit is contained in:
parent
a1c9f6cf92
commit
b4f2c7d9fe
|
@ -150,7 +150,7 @@ void r3d_load_state(FILE *fp)
|
|||
fread(polygon_ram, sizeof(UINT8), 2*1024*1024, fp);
|
||||
fread(texture_ram, sizeof(UINT8), 2048*2048*2, fp);
|
||||
|
||||
osd_renderer_invalidate_textures(0, 0, 2048, 2048, texture_ram);
|
||||
osd_renderer_invalidate_textures(0, 0, 0, 0, 2048, 2048, texture_ram, 0);
|
||||
}
|
||||
|
||||
/******************************************************************/
|
||||
|
|
|
@ -37,6 +37,7 @@ extern void tilegen_write_32(UINT32, UINT32);
|
|||
|
||||
extern BOOL tilegen_is_layer_enabled(int);
|
||||
extern UINT32 tilegen_get_layer_color_offset(int layer);
|
||||
extern UINT32* tilegen_get_priority_buffer(void);
|
||||
|
||||
extern void tilegen_save_state(FILE *);
|
||||
extern void tilegen_load_state(FILE *);
|
||||
|
|
|
@ -86,7 +86,7 @@ extern void osd_error();
|
|||
/* Renderer */
|
||||
/******************************************************************/
|
||||
|
||||
extern void osd_renderer_invalidate_textures(UINT x, UINT y, UINT w, UINT h, UINT8 *texture_sheet);
|
||||
extern void osd_renderer_invalidate_textures(UINT x, UINT y, int u, int v, UINT w, UINT h, UINT8 *texture_sheet, int miplevel);
|
||||
extern void osd_renderer_draw_model(UINT32 *, UINT32, BOOL);
|
||||
extern void osd_renderer_multiply_matrix(MATRIX);
|
||||
extern void osd_renderer_translate_matrix(float, float, float);
|
||||
|
@ -97,11 +97,13 @@ extern void osd_renderer_set_viewport(const VIEWPORT *);
|
|||
extern void osd_renderer_set_coordinate_system(const MATRIX);
|
||||
extern void osd_renderer_clear(BOOL, BOOL);
|
||||
extern void osd_renderer_set_color_offset(BOOL, FLOAT32, FLOAT32, FLOAT32);
|
||||
extern void osd_renderer_draw_layer(int layer, UINT32 color_offset);
|
||||
extern void osd_renderer_draw_layer(int layer, UINT32 color_offset, int x, int y, BOOL top);
|
||||
extern void osd_renderer_get_layer_buffer(int layer_num, UINT8 **buffer, int *pitch);
|
||||
extern void osd_renderer_free_layer_buffer(UINT);
|
||||
extern void osd_renderer_get_palette_buffer(UINT32 **, int *, int *);
|
||||
extern void osd_renderer_get_palette_buffer(UINT32 **buffer, int *width, int *pitch);
|
||||
extern void osd_renderer_free_palette_buffer(void);
|
||||
extern void osd_renderer_get_priority_buffer(int layer_num, UINT8 **buffer, int *pitch);
|
||||
extern void osd_renderer_free_priority_buffer(int layer_num);
|
||||
extern void osd_renderer_blit(void);
|
||||
extern void osd_renderer_begin_3d_scene(void);
|
||||
extern void osd_renderer_end_3d_scene(void);
|
||||
|
|
|
@ -50,6 +50,7 @@ static UINT32 drc_recompile_block(void)
|
|||
} while (res == 0);
|
||||
|
||||
// printf("Recompile block end: %08X\n", drc_pc);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static UINT32 cr_flag_eq = 0x02;
|
||||
|
|
Loading…
Reference in a new issue