mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 22:47:44 -04:00
pandora: use hw scaler (resolves 32x+sms), frontend refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@885 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
b6b7d1b1c5
commit
c66f49e61a
18 changed files with 958 additions and 595 deletions
|
@ -13,6 +13,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "plat_gp2x.h"
|
||||
#include "soc.h"
|
||||
|
@ -871,6 +872,10 @@ void pemu_loop_prep(void)
|
|||
vidResetMode();
|
||||
scaling_update();
|
||||
|
||||
// dirty buffers better go now than during gameplay
|
||||
sync();
|
||||
sleep(0);
|
||||
|
||||
pemu_sound_start();
|
||||
}
|
||||
|
||||
|
|
|
@ -85,6 +85,7 @@ void plat_video_menu_enter(int is_rom_loaded)
|
|||
void plat_video_menu_begin(void)
|
||||
{
|
||||
memcpy(g_screen_ptr, gp2x_screens[2], 320*240*2);
|
||||
g_menuscreen_ptr = g_screen_ptr;
|
||||
}
|
||||
|
||||
void plat_video_menu_end(void)
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
#define SCREEN_SIZE_FIXED 1
|
||||
#define SCREEN_WIDTH 320
|
||||
#define SCREEN_HEIGHT 240
|
||||
#define MSCREEN_WIDTH SCREEN_WIDTH
|
||||
#define MSCREEN_HEIGHT SCREEN_HEIGHT
|
||||
|
||||
// draw2.c
|
||||
#define START_ROW 0 // which row of tiles to start rendering at?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue