Snes9x - Portable Super Nintendo Entertainment System (TM) emulator
Go to file
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
apu Fix out-of-bounds memory access. (Sour via byuu) 2019-08-01 13:07:44 -05:00
data Cheats: Use "name" instead of "description". Allow whitespace. 2018-06-04 10:29:46 -05:00
docs Update changes.txt, appveyor.yml. 2019-04-23 13:57:18 -05:00
filter Merge `FORCE_INLINE` macro to `alwaysinline` into port.h. 2019-04-08 01:07:16 +09:00
gtk GTK: Pass a burst phase to Blargg NTSC blitter. 2019-09-14 19:52:35 -05:00
jma Remove useless 'register' storage class. 2018-11-17 15:02:37 -06:00
libretro libretro: Use burst phase with NTSC blitter. 2019-09-14 19:59:09 -05:00
macosx Add contents.xcworkspacedata to repoistory 2019-07-04 09:46:44 -07:00
shaders GTK: Include copy of default glslang resources. 2019-09-08 15:16:55 -05:00
unix UNIX: fix incorrect YUY2 conversion 2019-09-16 09:08:26 -05:00
unzip Remove useless 'register' storage class. 2018-11-17 15:02:37 -06:00
win32 win32: Fix RF filter size. 2019-09-15 16:53:29 -05:00
.gitignore Update .gitignore from gitignore.io, adding Xcode entries 2019-07-04 09:44:49 -07:00
.gitmodules win32: add glslang submodule, compile with USE_SLANG 2019-01-31 22:44:34 +01:00
65c816.h Missed a couple. 2018-11-15 17:35:52 -06:00
LICENSE Update some documents. 2019-02-26 16:36:05 -06:00
README.md Update README.md 2019-03-17 16:54:51 -05:00
appveyor.yml Update changes.txt, appveyor.yml. 2019-04-23 13:57:18 -05:00
bml.cpp Trim data elements beginning with colons in bml. 2019-06-23 16:43:28 -05:00
bml.h C++ification of bml parser. 2019-06-02 19:09:52 -05:00
bsx.cpp Fix unused variables. 2018-11-17 15:27:53 -06:00
bsx.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
c4.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
c4.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
c4emu.cpp C4: Do the sign extend manually. 2019-02-12 22:27:36 -06:00
cheats.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
cheats.h Reduce manual allocation in BML parser and cheats. 2019-05-14 17:42:41 -05:00
cheats2.cpp Reduce manual allocation in BML parser and cheats. 2019-05-14 17:42:41 -05:00
clip.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
conffile.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
conffile.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
controls.cpp Fix problems with pull request. 2019-03-09 18:18:01 -06:00
controls.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
cpu.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
cpuaddr.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
cpuexec.cpp Fix Chou Aniki. Remove hack. 2019-03-09 17:16:54 -06:00
cpuexec.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
cpumacro.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
cpuops.cpp Fix Chou Aniki. Remove hack. 2019-03-09 17:16:54 -06:00
cpuops.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
crosshairs.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
crosshairs.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
debug.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
debug.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
display.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
dma.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
dma.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
dsp.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
dsp.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
dsp1.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
dsp2.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
dsp3.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
dsp4.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
font.h Add special S9xDisplayStringType to pass additional info. 2018-12-12 16:15:56 -06:00
fxdbg.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
fxemu.cpp Revert "SFX: Make SFX2 1/3 faster than 1.59.2." 2019-05-31 12:25:08 -05:00
fxemu.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
fxinst.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
fxinst.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
getset.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
gfx.cpp Merge pull request #523 from yoffy/unmacro-tile 2019-06-26 16:46:12 -05:00
gfx.h 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
globals.cpp Remove most of GFX_MULTI_FORMAT. 2019-03-07 17:14:51 -06:00
language.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
loadzip.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
logger.cpp Get rid of "ignore" warnings. 2018-11-18 12:03:14 -06:00
logger.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
memmap.cpp Round up calculated size to next 8k for bad hacks. 2019-04-14 13:03:09 -05:00
memmap.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
messages.h BUildfix for PS3 - error: comma at end of enumerator list 2018-12-29 11:50:22 -06:00
missing.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
movie.cpp Get rid of "ignore" warnings. 2018-11-18 12:03:14 -06:00
movie.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
msu1.cpp Restore MSU1_AUDIO_POS. 2019-04-17 12:27:16 -05:00
msu1.h Fix Windows build. Tweak XAudio a bit. 2019-02-09 16:46:08 -06:00
netplay.cpp Merge pull request #428 from CapnCrinklepants/master 2019-03-09 18:14:50 -06:00
netplay.h Merge pull request #428 from CapnCrinklepants/master 2019-03-09 18:14:50 -06:00
obc1.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
obc1.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
pixform.h Proper 16-bit color conversion. 2019-03-21 15:28:31 -05:00
port.h Merge `FORCE_INLINE` macro to `alwaysinline` into port.h. 2019-04-08 01:07:16 +09:00
ppu.cpp Fix Chou Aniki. Remove hack. 2019-03-09 17:16:54 -06:00
ppu.h Fix PPU blending with unoptimized change. 2019-03-06 19:00:29 -06:00
sa1.cpp Reduced version of Vitor's fix for SA1 speed throttle. 2019-01-08 15:32:44 -06:00
sa1.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
sa1cpu.cpp Revert "Don't spin when SA1 is stopped." 2019-01-14 14:08:03 -06:00
sar.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
screenshot.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
screenshot.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
sdd1.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
sdd1.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
sdd1emu.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
sdd1emu.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
server.cpp Merge pull request #428 from CapnCrinklepants/master 2019-03-09 18:14:50 -06:00
seta.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
seta.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
seta010.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
seta011.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
seta018.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
sha256.cpp (PS3) Buildfixes 2018-08-29 09:49:51 -05:00
sha256.h Add bml parser and sha256 sum support. 2018-04-24 16:16:22 -05:00
snapshot.cpp Reduced version of Vitor's fix for SA1 speed throttle. 2019-01-08 15:32:44 -06:00
snapshot.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
snes9x.cpp Only show if DisplayTime is enabled in settings 2019-05-11 23:24:17 -04:00
snes9x.h Only show if DisplayTime is enabled in settings 2019-05-11 23:24:17 -04:00
spc7110.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
spc7110.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
spc7110dec.cpp Get rid of some more warnings 2019-02-23 15:01:59 +01:00
spc7110dec.h Get rid of some more warnings 2019-02-23 15:01:59 +01:00
spc7110emu.cpp Add support for Tengai Makyou Zero English patch mapping 2017-10-23 09:03:19 -07:00
spc7110emu.h Initial 1.52 import 2010-09-25 17:46:12 +02:00
srtc.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
srtc.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
srtcemu.cpp Initial 1.52 import 2010-09-25 17:46:12 +02:00
srtcemu.h Initial 1.52 import 2010-09-25 17:46:12 +02:00
statemanager.cpp Move statemanager to s9x folder, add rewind support to unix port 2012-03-29 15:31:41 +02:00
statemanager.h Move statemanager to s9x folder, add rewind support to unix port 2012-03-29 15:31:41 +02:00
stream.cpp Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
stream.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
tile.cpp tile: Divide instantiations. This enables parallel compilation. 2019-05-04 15:01:01 +09:00
tile.h Use a license stub everywhere. 2018-11-15 17:31:39 -06:00
tileimpl-h2x1.cpp tile: Divide instantiations. This enables parallel compilation. 2019-05-04 15:01:01 +09:00
tileimpl-n1x1.cpp tile: Divide instantiations. This enables parallel compilation. 2019-05-04 15:01:01 +09:00
tileimpl-n2x1.cpp tile: Divide instantiations. This enables parallel compilation. 2019-05-04 15:01:01 +09:00
tileimpl.h tile: Divide instantiations. This enables parallel compilation. 2019-05-04 15:01:01 +09:00

README.md

Snes9x

Snes9x - Portable Super Nintendo Entertainment System (TM) emulator

This is the official source code repository for the Snes9x project.

Please check the Wiki for additional information.