minor psp stuff
authornotaz <notasas@gmail.com>
Sun, 6 Apr 2008 19:57:46 +0000 (19:57 +0000)
committernotaz <notasas@gmail.com>
Sun, 6 Apr 2008 19:57:46 +0000 (19:57 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@416 be3aeb3a-fb24-0410-a615-afba39da0efa

base_readme.txt
psp/main.c
psp/psp.c

index 7d0dcc3..36d0d89 100644 (file)
@@ -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.\r
 \r
 #endif\r
+@@1. "Disable sprite limit"\r
+The MegaDrive/Genesis had a limit on how many sprites (usually smaller moving\r
+objects) can be displayed on single line. This option allows to disable that\r
+limit. Note that some games used this to hide unwanted things, so it is not\r
+always good to enable this option.\r
+\r
 @@1. "Emulate Z80"\r
 Enables emulation of Z80 chip, which was mostly used to drive the other sound chips.\r
 Some games do complex sync with it, so you must enable it even if you don't use\r
@@ -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,\r
 making it smoother, but blurry.\r
 \r
+@@3. "Gamma adjustment"\r
+Color gamma can be adjusted with this.\r
+\r
+@@3. "Black level"\r
+This can be used to reduce unwanted "ghosting" effect for dark games, by making\r
+black pixels brighter. Use in conjunction with "gamma adjustment" for more effect.\r
+\r
 @@3. "Wait for vsync"\r
 Wait for the screen to finish updating before switching to next frame, to avoid tearing.\r
 There are 3 options:\r
index e947b43..952f80e 100644 (file)
@@ -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..
index 67eb8c6..8d1134c 100644 (file)
--- 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()