mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
eliminate texrels (wip2)
This commit is contained in:
parent
ea38612fad
commit
99bdfd31b8
13 changed files with 102 additions and 147 deletions
|
@ -94,7 +94,7 @@ void pemu_prep_defconfig(void)
|
|||
|
||||
static int EmuScanBegin16(unsigned int num)
|
||||
{
|
||||
DrawLineDest = (unsigned short *) giz_screen + 321 * num;
|
||||
Pico.est.DrawLineDest = (unsigned short *) giz_screen + 321 * num;
|
||||
|
||||
if ((currentConfig.EmuOpt&0x4000) && (num&1) == 0) // (Pico.m.frame_count&1))
|
||||
return 1; // skip next line
|
||||
|
@ -105,7 +105,7 @@ static int EmuScanBegin16(unsigned int num)
|
|||
static int EmuScanBegin8(unsigned int num)
|
||||
{
|
||||
// draw like the fast renderer
|
||||
HighCol = gfx_buffer + 328 * num;
|
||||
Pico.est.HighCol = gfx_buffer + 328 * num;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -122,13 +122,6 @@ static void osd_text(int x, int y, const char *text)
|
|||
emu_text_out16(x, y, text);
|
||||
}
|
||||
|
||||
/*
|
||||
void log1(void *p1, void *p2)
|
||||
{
|
||||
lprintf("%p %p %p\n", p1, p2, DrawLineDest);
|
||||
}
|
||||
*/
|
||||
|
||||
static void cd_leds(void)
|
||||
{
|
||||
static int old_reg = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue