sup.c

来自「代码有点长,需细心阅读,仅供影音视听类产品的开发人员参考」· C语言 代码 · 共 45 行

C
45
字号

#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 + =
减小字号Ctrl + -
显示快捷键?