Commit Graph

29 Commits

Author SHA1 Message Date
BearOso
1085ed6fad Remove Settings.SupportHires
There's no point in disabling it at this point, so it's always supported.
2022-04-13 15:06:13 -05:00
BearOso
7cbe92afa0 Use MAX_SNES_HEIGHT, not SNES_HEIGHT_EXTENDED. 2022-04-12 18:45:33 -05:00
Nikos Chantziaras
1ea6ef5061
libretro: Fix audio when video rendering is disabled
In commit 6628042fe3, audio upload was
moved from retro_run() to S9xDeinitUpdate(). This breaks audio when
runahead is enabled in RetroArch.

With second-instance runahead, S9xDeinitUpdate() is not called when
video rendering is disabled and thus the core instance responsible for
audio is not uploading the audio. With single-instance runahead, audio
is uploaded twice because video rendering is always enabled and thus
S9xDeinitUpdate() gets called twice per frame.

Fix this by introducing a callback that gets called at the end of every
screen refresh, regardless of whether or not rendering is active for
this frame. We can then decide in the callback whether or not audio
should be uploaded.
2022-04-12 16:08:54 +03:00
BearOso
aa6abace40 Create output buffer in core.
TODO: Fix Windows.
2022-04-10 16:41:16 -05:00
BearOso
e322bbf109 Remove S9xSetPalette 2020-08-07 14:08:51 -05:00
tryal-star
c064706aad add unlimited sprites (range) 2019-11-13 03:25:56 +00:00
Kenta Yoshimura
3b9820d75b Use alwaysinline with COLOR functions in gfx.h, MATH functions in tile.cpp, and CachedTile class in tile.cpp. 2019-04-08 01:13:07 +09:00
Kenta Yoshimura
3aecd16edd Unmacro DRAW_PIXEL Normal1x1. 2019-04-03 01:12:50 +09:00
Brandon Wright
e87b742787 Recorrect green bit math. 2019-04-01 11:43:56 -05:00
Brandon Wright
d1d9a2ae51 Change variable names to make sense. 2019-03-27 15:42:40 -05:00
Brandon Wright
3b842f896b Adjust new math to do 15->16 bit correctly. 2019-03-27 15:28:23 -05:00
Brandon Wright
9721f78df1 Select brightness function in tile renderer. 2019-03-27 11:42:31 -05:00
Brandon Wright
2988cbb8ac Proper 16-bit color conversion. 2019-03-21 15:28:31 -05:00
Brandon Wright
76b6342ca1 Remove most of GFX_MULTI_FORMAT. 2019-03-07 17:14:51 -06:00
Brandon Wright
58aa23ba6d Make blending work with RGB555. 2019-03-07 14:28:37 -06:00
Brandon Wright
aba8dc5b61 Fix color add for non-GFX_MULTI_FORMAT. 2019-03-07 11:58:20 -06:00
Brandon Wright
02aa2d0c6a Use a lookup table. A little faster. 2019-03-06 20:17:07 -06:00
Brandon Wright
db8227fa42 Fix PPU blending with unoptimized change. 2019-03-06 19:00:29 -06:00
Brandon Wright
8a2cd602da Add special S9xDisplayStringType to pass additional info.
Add some arrow characters for displayed keys.
2018-12-12 16:15:56 -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
retrotalker
1067b3d0ca
resize viewport on load state 2018-08-23 17:35:15 -05:00
Brandon Wright
20bd60a3c6 Update copyright dates. 2018-05-25 15:44:52 -05:00
Brandon Wright
7a2ca6dc2a Update copyrights. 2017-11-17 16:00:58 -06: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
Brandon Wright
91aebfe759 Update some copyrights, bump version number. 2016-10-01 20:03:03 -05:00
OV2
c47598f3cf Update copyright in all files 2011-04-11 21:51:20 +02:00
OV2
d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00