mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
svp minor adjustments, copyright
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@335 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
50483b5330
commit
d4ca252d92
4 changed files with 45 additions and 19 deletions
|
@ -1,3 +1,11 @@
|
|||
// The SVP chip emulator
|
||||
|
||||
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
|
||||
// Free for non-commercial use.
|
||||
|
||||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "../../PicoInt.h"
|
||||
|
||||
svp_t *svp = NULL;
|
||||
|
@ -26,7 +34,8 @@ static void PicoSVPLine(int count)
|
|||
|
||||
static int PicoSVPDma(unsigned int source, int len, unsigned short **srcp, unsigned short **limitp)
|
||||
{
|
||||
if (source < Pico.romsize) { // Rom
|
||||
if (source < Pico.romsize) // Rom
|
||||
{
|
||||
source -= 2;
|
||||
*srcp = (unsigned short *)(Pico.rom + (source&~1));
|
||||
*limitp = (unsigned short *)(Pico.rom + Pico.romsize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue