From: notaz Date: Sun, 6 Apr 2008 19:57:46 +0000 (+0000) Subject: minor psp stuff X-Git-Tag: v1.85~516 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=651b1a25c2b087f8f37cd1b70b1428aecdab71d1;p=picodrive.git minor psp stuff git-svn-id: file:///home/notaz/opt/svn/PicoDrive@416 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/platform/base_readme.txt b/platform/base_readme.txt index 7d0dcc3d..36d0d89a 100644 --- a/platform/base_readme.txt +++ b/platform/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/platform/psp/main.c b/platform/psp/main.c index e947b43c..952f80e9 100644 --- a/platform/psp/main.c +++ b/platform/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/platform/psp/psp.c b/platform/psp/psp.c index 67eb8c6c..8d1134c5 100644 --- a/platform/psp/psp.c +++ b/platform/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()