mirror of https://github.com/bsnes-emu/bsnes.git
Update to bsnes v039r18? release.
New WIP. Added fix for OAM Yflip overflow bug pointed out by Jonas Quinn. Re-added QGroupBox controls as per discussion with jensbw, the frame issue should be fixed with Qt 4.5. Config file now omits " #" marker when there is no item description. Main window resizes itself a bit better before showing itself on Linux for the first time. Not a problem at all on Windows. Using _wgetcwd instead of getcwd for Windows UTF-8 support. Finished Cartridge class revisions: load_foo returns boolean success, unload() doesn't need one so that was removed, dropped redundant bsx_cart_loaded() as you can tell via mode() == ModeBsx. Still need bsx_flash_loaded() for register mapping purposes. Fixed hiro port to compile again. I also rewrote much of the Xv driver. It now properly finds modes via XvListImageFormats(), and I added support for more modes. It used to be YUY2 only, now it supports RGB32, RGB24, RGB16, RGB15, YUY2 and UYVY (chooses the driver mode in that order.) Unfortunately I was only able to test YUY2 and UYVY with my driver, so no idea if the RGB modes even work or not. I know RGB16/RGB15 will have problems, forgot to mask the blue channel before uploading: for line 344 and 359, (p >> 3) needs to be ((p >> 3) & 0x1f). To test each mode, the optimal ones would have to be manually disabled since there's no external way to select the preferred driver. And the RGB32 copy is sub-optimal, I'll probably allow direct rendering to its surface in a future revision. [No archive available]
This commit is contained in:
parent
ebbcc998d0
commit
0f83e39d5c