notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cli added for debug
[fceu.git]
/
svga.h
diff --git
a/svga.h
b/svga.h
index
cebd555
..
9d8cbf9
100644
(file)
--- a/
svga.h
+++ b/
svga.h
@@
-20,11
+20,6
@@
*/
#include "driver.h"
*/
#include "driver.h"
-typedef struct __pal {
- uint8 r;
- uint8 g;
- uint8 b;
-} pal;
typedef struct {
int PAL;
typedef struct {
int PAL;
@@
-39,7
+34,7
@@
typedef struct {
int FirstSLine;
int LastSLine;
int FirstSLine;
int LastSLine;
- /* Driver code(user)-specified first and last rendered scanlines.
+ /* Driver code(user)-specified first and last rendered scanlines.
Usr*SLine[0] is for NTSC, Usr*SLine[1] is for PAL.
*/
int UsrFirstSLine[2];
Usr*SLine[0] is for NTSC, Usr*SLine[1] is for PAL.
*/
int UsrFirstSLine[2];
@@
-52,6
+47,7
@@
extern FCEUS FSettings;
void FCEU_PrintError(char *format, ...);
void FCEU_DispMessage(char *format, ...);
void FCEU_PrintError(char *format, ...);
void FCEU_DispMessage(char *format, ...);
+#define FCEU_printf printf
void SetNESDeemph(uint8 d, int force);
void DrawTextTrans(uint8 *dest, uint32 width, uint8 *textmsg, uint8 fgcolor);
void SetNESDeemph(uint8 d, int force);
void DrawTextTrans(uint8 *dest, uint32 width, uint8 *textmsg, uint8 fgcolor);
@@
-74,10
+70,7
@@
void SetNESPalette(void);
#define JOY_LEFT 0x40
#define JOY_RIGHT 0x80
#define JOY_LEFT 0x40
#define JOY_RIGHT 0x80
-extern pal *palo;
-
void DoCommand(uint8 c);
extern uint8 CommandQueue;
void DoCommand(uint8 c);
extern uint8 CommandQueue;
-void FCEU_ResetPalette(void);
-void LoadGamePalette(void);
+
void FlushCommandQueue(void);
void FlushCommandQueue(void);