From bf7e9c611ff2c69d8b798da3cf8c337b69bea709 Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 6 Apr 2008 19:57:46 +0000 Subject: [PATCH] minor psp stuff git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@416 be3aeb3a-fb24-0410-a615-afba39da0efa --- base_readme.txt | 13 +++++++++++++ psp/main.c | 3 +++ psp/psp.c | 4 ++-- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/base_readme.txt b/base_readme.txt index 7d0dcc3..36d0d89 100644 --- a/base_readme.txt +++ b/base_readme.txt @@ -324,6 +324,12 @@ This one adjusts the LCD refresh rate to better match game's refresh rate and st synchronizing rendering with it. Should make scrolling smoother and eliminate tearing. #endif +@@1. "Disable sprite limit" +The MegaDrive/Genesis had a limit on how many sprites (usually smaller moving +objects) can be displayed on single line. This option allows to disable that +limit. Note that some games used this to hide unwanted things, so it is not +always good to enable this option. + @@1. "Emulate Z80" Enables emulation of Z80 chip, which was mostly used to drive the other sound chips. Some games do complex sync with it, so you must enable it even if you don't use @@ -434,6 +440,13 @@ Same as above, only for higher (320 pixel wide) resolution using games. If this is enabled, PSP hardware will apply bilinear filtering on the resulting image, making it smoother, but blurry. +@@3. "Gamma adjustment" +Color gamma can be adjusted with this. + +@@3. "Black level" +This can be used to reduce unwanted "ghosting" effect for dark games, by making +black pixels brighter. Use in conjunction with "gamma adjustment" for more effect. + @@3. "Wait for vsync" Wait for the screen to finish updating before switching to next frame, to avoid tearing. There are 3 options: diff --git a/psp/main.c b/psp/main.c index e947b43..952f80e 100644 --- a/psp/main.c +++ b/psp/main.c @@ -33,8 +33,11 @@ int pico_main(void) { lprintf("\nPicoDrive v" VERSION " " __DATE__ " " __TIME__ "\n"); psp_init(); + emu_prepareDefaultConfig(); emu_ReadConfig(0, 0); + config_readlrom(PicoConfigFile); + emu_Init(); menu_init(); // moved to emu_Loop(), after CPU clock change.. diff --git a/psp/psp.c b/psp/psp.c index 67eb8c6..8d1134c 100644 --- a/psp/psp.c +++ b/psp/psp.c @@ -25,14 +25,14 @@ extern int pico_main(void); #ifndef FW15 -PSP_MODULE_INFO("PicoDrive", 0, 1, 35); +PSP_MODULE_INFO("PicoDrive", 0, 1, 40); PSP_HEAP_SIZE_MAX(); int main() { return pico_main(); } /* just a wrapper */ #else -PSP_MODULE_INFO("PicoDrive", 0x1000, 1, 35); +PSP_MODULE_INFO("PicoDrive", 0x1000, 1, 40); PSP_MAIN_THREAD_ATTR(0); int main() -- 2.39.5