mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-01-16 01:12:29 +01:00
r61524: fix r61524_display() not fully honoring [start]
This commit is contained in:
parent
93169e8803
commit
4223164063
1 changed files with 2 additions and 2 deletions
|
@ -158,11 +158,11 @@ void r61524_display(uint16_t *vram, int start, int height, int method)
|
|||
if(method == R61524_CPU)
|
||||
{
|
||||
for(int i = 0; i < 396 * height; i++)
|
||||
write(vram[i]);
|
||||
write(vram[i + 396 * start]);
|
||||
return;
|
||||
}
|
||||
|
||||
void *src = vram;
|
||||
void *src = (void *)vram + start * 396*2;
|
||||
void *dst = (void *)0xb4000000;
|
||||
|
||||
/* The amount of data sent per row, 396*2, is not a multiple of 32. For
|
||||
|
|
Loading…
Reference in a new issue