Get rid of FAST_RDOP and DEBUG2

This commit is contained in:
libretroadmin 2022-06-20 07:54:31 +02:00
parent 0220ce3acb
commit 5694c92a1f
2 changed files with 3 additions and 21 deletions

View File

@ -22,18 +22,7 @@
#include "m6502.h"
#include "tables.h"
/** INLINE ***************************************************/
/** Different compilers inline C functions differently. **/
/*************************************************************/
/* #define INLINE inline */
/** FAST_RDOP ************************************************/
/** With this #define not present, Rd6502() should perform **/
/** the functions of Rd6502(). **/
/*************************************************************/
#ifndef FAST_RDOP
#define Op6502(A) Rd6502(A)
#endif
/* "Izp" added by uso. */

View File

@ -18,11 +18,6 @@
extern "C" {
#endif
/* Compilation options: */
/* #define FAST_RDOP */ /* Separate Op6502()/Rd6502() */
/* #define DEBUG2 */ /* Compile debugging version */
#define LSB_FIRST /* Compile for low-endian CPU */
/* Loop6502() returns: */
#define INT_NONE 0 /* No interrupt required */
#define INT_IRQ 1 /* Standard IRQ interrupt */
@ -53,15 +48,13 @@ extern "C" {
typedef signed char offset;
/** Structured Datatypes *************************************/
/** NOTICE: #define LSB_FIRST for machines where least **/
/** signifcant byte goes first. **/
/*************************************************************/
typedef union
{
#ifdef LSB_FIRST
struct { byte l, h; } B;
#else
#ifdef MSB_FIRST
struct { byte h, l; } B;
#else
struct { byte l, h; } B;
#endif
word W;
} pair;