snes9xgx/source/snes9x/seta.cpp

24 lines
662 B
C++
Raw Normal View History

/*****************************************************************************\
Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
This file is licensed under the Snes9x License.
For further information, consult the LICENSE file in the root directory.
\*****************************************************************************/
2008-09-10 07:57:37 +02:00
2010-01-27 23:08:56 +01:00
#include "snes9x.h"
2009-11-30 09:14:38 +01:00
#include "seta.h"
2009-11-25 07:35:14 +01:00
2010-01-27 23:08:56 +01:00
uint8 (*GetSETA) (uint32) = &S9xGetST010;
void (*SetSETA) (uint32, uint8) = &S9xSetST010;
2010-01-27 23:08:56 +01:00
uint8 S9xGetSetaDSP (uint32 Address)
{
2010-01-27 23:08:56 +01:00
return (GetSETA(Address));
}
2010-01-27 23:08:56 +01:00
void S9xSetSetaDSP (uint8 Byte, uint32 Address)
{
2010-01-27 23:08:56 +01:00
SetSETA (Address, Byte);
2009-11-30 09:14:38 +01:00
}