This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define caesar(x) rot(13, x) | |
#define decaesar(x) rot(13, x) | |
#define decrypt_rot(x, y) rot((26-x), y) | |
void rot(int c, char *str) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
//addditive cipher | |
#define SHIFT 10 | |
#define ALPHABET_COUNT 27 | |
#define DECRYPT_STRING "BYLOBD" | |
#define ENCRYPT_STRING "ROBERT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/burner/PS3/main.cpp b/src/burner/PS3/main.cpp | |
index 12753bb..21f3482 100644 | |
--- a/src/burner/PS3/main.cpp | |
+++ b/src/burner/PS3/main.cpp | |
@@ -221,8 +221,6 @@ int main(int argc, char **argv) | |
{ | |
if(bVidRecalcPalette) | |
{ | |
- audio_check(); | |
- nCurrentFrame++; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/interface/PS3/vid_interface_ps3.cpp b/src/interface/PS3/vid_interface_ps3.cpp | |
index 3eda11f..4a7667e 100644 | |
--- a/src/interface/PS3/vid_interface_ps3.cpp | |
+++ b/src/interface/PS3/vid_interface_ps3.cpp | |
@@ -18,7 +18,6 @@ float vidScrnAspect = ASPECT_RATIO_4_3; // Aspect ratio | |
unsigned char* pVidImage = NULL; // Memory buffer | |
int nVidImageWidth = DEFAULT_IMAGE_WIDTH; // Memory buffer size | |
int nVidImageHeight = DEFAULT_IMAGE_HEIGHT; | |
-int nVidImageLeft = 0, nVidImageTop = 0; // Memory buffer visible area offsets | |
int nVidImagePitch = 0; // Memory buffer pitch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/interface/PS3/vid_interface_ps3.cpp b/src/interface/PS3/vid_interface_ps3.cpp | |
index 3eda11f..4a7667e 100644 | |
--- a/src/interface/PS3/vid_interface_ps3.cpp | |
+++ b/src/interface/PS3/vid_interface_ps3.cpp | |
@@ -18,7 +18,6 @@ float vidScrnAspect = ASPECT_RATIO_4_3; // Aspect ratio | |
unsigned char* pVidImage = NULL; // Memory buffer | |
int nVidImageWidth = DEFAULT_IMAGE_WIDTH; // Memory buffer size | |
int nVidImageHeight = DEFAULT_IMAGE_HEIGHT; | |
-int nVidImageLeft = 0, nVidImageTop = 0; // Memory buffer visible area offsets | |
int nVidImagePitch = 0; // Memory buffer pitch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index b9f7e0f..8e876df 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -1,3 +1,9 @@ | |
+CELL_DEBUG_CONSOLE = 0 | |
+CELL_DEBUG_FPS = 0 | |
+CELL_DEBUG_LOGGER = 0 | |
+CELL_DEBUG_MEMORY = 0 | |
+MULTIMAN_SUPPORT = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void SetViewport(int x, int y, int w, int h, int outwidth, int outheight) | |
{ | |
float device_aspect = psglGetDeviceAspectRatio(psgl_device); | |
glMatrixMode(GL_PROJECTION); | |
glLoadIdentity(); | |
GLfloat left = 0; | |
GLfloat right = outwidth; | |
GLfloat bottom = 0; | |
GLfloat top = outheight; | |
GLfloat zNear = -1.0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void SetViewport(int x, int y, int w, int h, int outwidth, int outheight) | |
{ | |
float device_aspect = psglGetDeviceAspectRatio(psgl_device); | |
glMatrixMode(GL_PROJECTION); | |
glLoadIdentity(); | |
GLfloat left = 0; | |
GLfloat right = outwidth; | |
GLfloat bottom = 0; | |
GLfloat top = outheight; | |
GLfloat zNear = -1.0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/trunk/platform/libgba/Makefile b/trunk/platform/libgba/Makefile | |
index 15bb917..28c4387 100644 | |
--- a/trunk/platform/libgba/Makefile | |
+++ b/trunk/platform/libgba/Makefile | |
@@ -13,8 +13,8 @@ OBJS := $(VBA_COBJ) $(VBA_CXXOBJ) libsnes.o | |
VBA_DEFINES := -D__LIBGBA__ | |
-CFLAGS += -O3 -g -std=gnu99 -fPIC $(VBA_DEFINES) | |
-CXXFLAGS += -O3 -g -fPIC $(VBA_DEFINES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/trunk/platform/libgba/libsnes.cpp b/trunk/platform/libgba/libsnes.cpp | |
index 69ce3f1..f6f7838 100644 | |
--- a/trunk/platform/libgba/libsnes.cpp | |
+++ b/trunk/platform/libgba/libsnes.cpp | |
@@ -15,6 +15,7 @@ static snes_video_refresh_t video_cb = NULL; | |
static snes_audio_sample_t audio_cb = NULL; | |
static snes_input_poll_t poll_cb = NULL; | |
static snes_input_state_t input_cb = NULL; | |
+extern uint64_t joy; | |
OlderNewer