notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drc: svp: some missed r9 handling for apple
[picodrive.git]
/
platform
/
libretro.c
diff --git
a/platform/libretro.c
b/platform/libretro.c
index
a6bc50f
..
15a83ba
100644
(file)
--- a/
platform/libretro.c
+++ b/
platform/libretro.c
@@
-40,10
+40,6
@@
static int vout_width, vout_height;
static short __attribute__((aligned(4))) sndBuffer[2*44100/50];
static short __attribute__((aligned(4))) sndBuffer[2*44100/50];
-// FIXME: these 2 shouldn't be here
-static unsigned char PicoDraw2FB_[(8+320) * (8+240+8)];
-unsigned char *PicoDraw2FB = PicoDraw2FB_;
-
static void snd_write(int len);
#ifdef _WIN32
static void snd_write(int len);
#ifdef _WIN32
@@
-151,7
+147,6
@@
void emu_video_mode_change(int start_line, int line_count, int is_32cols)
void emu_32x_startup(void)
{
void emu_32x_startup(void)
{
- PicoDrawSetOutFormat(PDF_RGB555, 1);
}
#ifndef ANDROID
}
#ifndef ANDROID
@@
-609,15
+604,12
@@
void retro_init(void)
PicoAutoRgnOrder = 0x184; // US, EU, JP
PicoCDBuffers = 0;
PicoAutoRgnOrder = 0x184; // US, EU, JP
PicoCDBuffers = 0;
- p32x_msh2_multiplier = MSH2_MULTI_DEFAULT;
- p32x_ssh2_multiplier = SSH2_MULTI_DEFAULT;
-
vout_width = 320;
vout_height = 240;
vout_buf = malloc(VOUT_MAX_WIDTH * VOUT_MAX_HEIGHT * 2);
PicoInit();
vout_width = 320;
vout_height = 240;
vout_buf = malloc(VOUT_MAX_WIDTH * VOUT_MAX_HEIGHT * 2);
PicoInit();
- PicoDrawSetOutFormat(PDF_RGB555,
1
);
+ PicoDrawSetOutFormat(PDF_RGB555,
0
);
PicoDrawSetOutBuf(vout_buf, vout_width * 2);
//PicoMessage = plat_status_msg_busy_next;
PicoDrawSetOutBuf(vout_buf, vout_width * 2);
//PicoMessage = plat_status_msg_busy_next;