📄 sup.c
字号:
#include "config.h"
#include "regmap.h"
#include "global.h"
#include "memmap.h"
#include "sup.h"
void reset_sup(void)
{
regs0->sup_mode = 0;
spd_dump_hdr_ptr = SPD_HEADER_NULL;
spd_decode_hdr_ptr = SPD_HEADER_NULL;
sup_writeptr = 0;
}
void sup_init(void)
{
#if 0
sup_buf_cnt = 0;
sup_spu_now = (void *)0;
sup_spu_idx = 0;
do_sup = do_sup_header;
#endif
}
//Tony deleted 02/05/06 prevent from warning,unused function, at compiling time
//void hl0_set_location(int lx, int ly, int rx, int ry)
//{
/* regs0->sup_hl0_tl_x = lx;
regs0->sup_hl0_tl_y = ly;
regs0->sup_hl0_br_x = rx;
regs0->sup_hl0_br_y = ry;*/
//}
//Tony deleted 02/05/06 prevent from warning, unused function, at compiling time
//void hl0_set_color(UINT32 color, UINT32 contrast)
//{
/* regs0->sup_hl0_col = color;
regs0->sup_hl0_con = contrast;*/
//}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -