Small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3312 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -71,12 +71,12 @@ static const unsigned char Bits[8] = {
|
|||||||
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/* Character sets */
|
/* Character sets */
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void AddCharToSet (unsigned char C)
|
static void __fastcall__ AddCharToSet (unsigned char C)
|
||||||
/* Set the given bit in the character set */
|
/* Set the given bit in the character set */
|
||||||
{
|
{
|
||||||
asm ("ldy #%o", C);
|
asm ("ldy #%o", C);
|
||||||
@@ -95,7 +95,7 @@ static void AddCharToSet (unsigned char C)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
static unsigned char IsCharInSet (unsigned char C)
|
static unsigned char __fastcall__ IsCharInSet (unsigned char C)
|
||||||
/* Check if the given char is part of the character set */
|
/* Check if the given char is part of the character set */
|
||||||
{
|
{
|
||||||
asm ("ldy #%o", C);
|
asm ("ldy #%o", C);
|
||||||
|
|||||||
Reference in New Issue
Block a user