mirror of
https://github.com/libretro/potator.git
synced 2024-11-26 18:20:22 +00:00
Get rid of FAST_RDOP and DEBUG2
This commit is contained in:
parent
0220ce3acb
commit
5694c92a1f
@ -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. */
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user