Commit Graph

38 Commits

Author SHA1 Message Date
BearOso 13eefd9944 unix: Make port compile. 2023-03-07 13:58:22 -06:00
BearOso f3fafab8b3 Remove unused logger.cpp and logger.h. 2022-04-25 15:45:39 -05:00
BearOso aa6abace40 Create output buffer in core.
TODO: Fix Windows.
2022-04-10 16:41:16 -05:00
BearOso 111b92ca58 Unix: xvideo: Prefer RGB then YUY2 then I420. 2022-01-31 16:15:42 -06:00
Cjacker bd996da4af Add I420 Xvideo image format support, with both libyuv hardware acceleration and software conversion support. 2021-11-23 15:59:38 +08:00
BearOso e322bbf109 Remove S9xSetPalette 2020-08-07 14:08:51 -05:00
bearoso 855ab4d947
Merge pull request #573 from greg-kennedy/master
Joystick events send a bogus XWarpPointer event to prevent screensaver
2019-09-16 12:01:13 -05:00
Greg Kennedy 2722dd5991
UNIX: fix incorrect YUY2 conversion
Removal of GFX_MULTI_FORMAT forces all internal formats to RGB565, however YUY2 conversion still expected RGB555 in some places.  Notably, the color lookup was being built in RGB555 but now referenced in RGB565..

This changes x11.cpp to correctly do YUY2 color lookup based on the RGB555 value, by dropping the LSB of the green component.

Incidentally this fixes an outstanding TODO re: text rendering onto YUY2, where the RGB565 was already assumed internally.  Now it's just assumed everywhere :)
2019-09-16 09:08:26 -05:00
Greg Kennedy 6c8f0c004f
Joystick events send a bogus XWarpPointer event to prevent screensaver / dpms launch 2019-09-12 21:45:38 -05:00
Brandon Wright 76b6342ca1 Remove most of GFX_MULTI_FORMAT. 2019-03-07 17:14:51 -06:00
Brandon Wright 5f56cadafb Use a license stub everywhere.
This points to the full license in the root directory.
2018-11-15 17:31:39 -06:00
Brandon Wright 78bc52cd8e Add some debugging info. Don't reset timer when reading $4211. 2018-05-28 18:24:11 -05:00
Brandon Wright 20bd60a3c6 Update copyright dates. 2018-05-25 15:44:52 -05:00
bearoso 4dcf4ddc74
Merge pull request #196 from Francesco149/xinerama
Add xinerama multi-monitor support and position window hints
2018-05-19 15:47:38 -05:00
bearoso d89154a0b2
Merge pull request #259 from NoSuck/unix_fullscreen
unix: fix fullscreen property change timing
2017-11-19 12:16:36 -06:00
Brandon Wright 7a2ca6dc2a Update copyrights. 2017-11-17 16:00:58 -06:00
The Flying Rapist 1b008bed45 unix: fix fullscreen property change timing
Previously, the Unix version of Snes9x was unable to create a fullscreen window.  (It would create a regular window the size of the screen.)
2017-11-12 14:11:26 -05:00
Franc[e]sco 81694ae8f9 add xinerama multi-monitor support and position window hints 2017-05-10 21:27:27 +02:00
Brandon Wright 1661fc838c Add copyrights. 2016-10-15 11:31:26 -05:00
Brandon Wright ddb1527236 Bump OV2 Windows port copyright. 2016-10-07 12:53:18 -05:00
Brandon Wright 006fc22ebb Add byuu copyright for his S-SMP 2016-10-07 12:47:07 -05:00
bearoso b3b31b1d26 Merge pull request #116 from greg-kennedy/patch-1
Update x11.cpp
2016-10-01 20:08:06 -05:00
Brandon Wright 91aebfe759 Update some copyrights, bump version number. 2016-10-01 20:03:03 -05:00
Brandon Wright 026f9eaa1e Fix some possible problems from cppcheck. Everything else looks fine. 2016-09-27 15:25:37 -05:00
Greg Kennedy 971492f75c Update x11.cpp
A fix for SNES in high-resolution mode - this was causing the Epoch crash scene in Chrono Trigger to display only on the top half of the screen.
2016-07-27 23:27:07 -05:00
Greg Kennedy 602d70195f Fixes to maxaspect 2016-01-04 17:20:13 -06:00
Greg Kennedy f1f71f92e8 Add -maxaspect option for fullscreen, which stretches / autocrops, but ignores 8:7 aspect. 2016-01-02 22:32:31 -06:00
Greg Kennedy 65a3701be3 Switch to Fullscreen fails unless done after MapWindow. 2015-12-29 16:17:24 -06:00
Greg Kennedy a371d3b389 Add output scaling when Xv fullscreen is enabled. 2015-12-29 14:25:19 -06:00
Greg Kennedy 7396766588 Add Xv acceleration support to unix port. 2015-12-29 14:04:13 -06:00
Greg Kennedy 2db2c2f57c Wrap XImage in a generic struct, for extending with XvImage later. 2015-12-29 00:55:03 -06:00
Greg Kennedy 71648e7a86 Add -fullscreen option, which starts snes9x in fullscreen mode. 2015-12-28 15:22:11 -06:00
OV2 8e1b726b6b Move statemanager to s9x folder, add rewind support to unix port 2012-03-29 15:31:41 +02:00
OV2 c47598f3cf Update copyright in all files 2011-04-11 21:51:20 +02:00
zones 41dc2fbb61 Add blend filters in blit.cpp 2011-02-24 21:22:19 +09:00
zones a013ae3306 Mac,Unix: Add 256*448,478 support / Mac:code cleanup 2011-02-20 20:27:20 +09:00
zones 2f167567f5 Fix HIRQ 2010-11-28 22:35:41 +09:00
OV2 d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00