Commit Graph

5356 Commits

Author SHA1 Message Date
zeromus e767018e2a cheats: fix error in masked comparison functions 2016-12-05 05:32:59 -06:00
rogerman 65d7568259 GPU: Revert applying the master brightness as a framebuffer operation. It is now a scanline operation once again.
Fixes brightness issues in The Legend of Zelda: Spirit Tracks.
(Regression from #ac69f1e.)

The user may still choose to apply master brightness on a
per-framebuffer basis by passing ‘false’ to
GPUEngineBase::SetWillApplyMasterBrightnessPerScanline(). For better
consistency, this behavior has also been changed to only use the master
brightness settings as they were in line 0.
2016-12-04 00:59:36 -08:00
zeromus 5f1e50db69 cheats: fix Ex, DB, and Fx codes 2016-12-03 23:44:52 -06:00
rogerman 444b1f67db Texture Handler: TextureStore::VRAMCompareAndUpdate() now performs a single memcmp() on the packed data instead of performing each memcmp() separately. 2016-12-02 22:45:42 -08:00
rogerman c5678a6ba4 Render 3D: Whenever the texture deposterization or upscaling settings are changed, simply reload the existing textures instead of completely destroying and recreating them from scratch. 2016-12-02 22:08:21 -08:00
rogerman ac69f1e229 GPU: If a GPU engine has master brightness at full intensity , revert to filling the output framebuffer on line 0.
Fix bug where the screen may end up fully black or white if the master
brightness is modified in the middle of the frame. Fixes SourceForge
#1603. (Regression from r5538.)
2016-12-02 13:50:17 -08:00
rogerman a0f8b7a894 GPU: Fix crashing bug where target.lineLayerID can be overrun at custom framebuffer sizes.
Fixes SourceForge issue #1600. (Regression from r5512.)
2016-12-02 10:40:14 -08:00
rogerman 8821e7b162 Render3D: Make _textureList universal for all 3D renderers. 2016-11-29 17:09:25 -08:00
rogerman 1368b2d5c7 Render3D: Make the _isSamplingEnabled flag universal for all 3D renderers.
Also update the OpenGL renderer to use the new flag.
2016-11-29 16:49:52 -08:00
rogerman 032622e817 SoftRasterizer: Have texture setup within the main rendering loop be handled more like how OpenGLRenderer does it. 2016-11-29 16:31:38 -08:00
rogerman 2698993805 OpenGLRenderer: Rework texture loading to work at BeginRender(), just like how SoftRasterizer does it. 2016-11-29 13:34:08 -08:00
zeromus 3da9f273d2 cheats: add notes for C4 and C5 codes (won't be implemented until needed) and implement C6 code (only for v1.54 ARDS) 2016-11-29 14:40:14 -06:00
zeromus 6abf2b3454 completely rewrite ARDS processing. definitely fix some bugs. probably create some more. overall clarity level increased 2016-11-29 02:50:03 -06:00
zeromus 9d6e52acac winport: change labels to show texture scaling applies to all 3d renderers now 2016-11-28 22:28:24 -06:00
zeromus 1c36704633 winport: a bunch of other vcxproj path fixes. I don't know how this got so broken. there's probably still more broken 2016-11-28 22:22:41 -06:00
zeromus 5b1a034aa9 cleanup fsnitro (clean portability hazards and use libretro-common parts) 2016-11-28 21:44:32 -06:00
zeromus 1559f450fd winport: fix a bunch more paths in vcxproj 2016-11-28 21:21:58 -06:00
rogerman 6d1db6daae Render3D: Refactor common parts of OpenGLTexture and SoftRasterizerTexture into a new Render3DTexture class. 2016-11-28 15:08:24 -08:00
rogerman 031f677486 OpenGL Renderer: Refactor and use the same coding style for texture loading as SoftRasterizer. 2016-11-28 13:55:46 -08:00
rogerman b82f42dfde Cocoa Port: Update Xcode project files to reflect the current state of the file hierarchy. 2016-11-27 21:55:06 -08:00
rogerman 2f98c8b545 Merge remote-tracking branch 'origin/master' 2016-11-27 20:57:09 -08:00
rogerman b57f2dec12 Cocoa Port: Update GUI to reflect the new SoftRasterizer texture post-processing support.
Moves the Deposterize Textures and Texture Scaling Factor UI items from
OpenGL Options to General Settings in the 3D Rendering Settings panel
and DeSmuME Preferences.
2016-11-27 16:43:53 -08:00
rogerman a8c8a8665b SoftRasterizer: Texture deposterization and upscaling are now supported with this renderer. 2016-11-27 16:10:00 -08:00
zeromus 425ddecb8b cleanup: remove our own ConvertUTF8 file which was only being used by the movie code (which needs radical cleanup anyway); use libretro-common's isntead. however we're keeping our std::string wrappers which are convenient. 2016-11-27 16:19:15 -06:00
zeromus 9a613fb440 libretro-common: update UTF files from upstream 2016-11-27 16:04:43 -06:00
zeromus fb561adaad winport: fix a bunch of header paths in vcxproj 2016-11-27 15:20:59 -06:00
zeromus 574815124a cleanup: remove md5 (it was deactivated, and we should use libretro-common's if we readd it
cleanup: move valuearray into guid which was the only place using it. we should probably then move guid into movie later, since it's unlikely anything else will use it.
2016-11-27 15:13:33 -06:00
zeromus 4a922b927d winport: fix disassembler move, and other project tidy (rearrange sources to match source tree) 2016-11-27 14:54:41 -06:00
zeromus 297721b73d make disassembler a frontend module 2016-11-27 14:50:26 -06:00
zeromus 3e10928bf5 libretro-common: incorporate latest cpu_features (and merge with prior commit). rogerman please check. 2016-11-27 14:36:58 -06:00
rogerman 0a4635eb5b Texture Handler: Use the new TextureStore::Load() method instead of calling TextureStore::Unpack() directly. 2016-11-26 19:55:52 -08:00
rogerman 41e9b1680e Cocoa Port: Update Xcode project files and scripts for the GitHub transition. 2016-11-26 17:40:01 -08:00
rogerman 3612586e8b Ignore .xcscmblueprint files for now.
It doesn’t look like it’s really needed for commits, but if we find it
necessary in the future, we can always bring it back.
2016-11-26 17:39:24 -08:00
rogerman 7f77037c75 Cocoa Port: Update include paths due to commit #ed40663. 2016-11-26 17:21:13 -08:00
rogerman 2612484c54 Core: Update some include paths. 2016-11-26 17:11:39 -08:00
rogerman 183b41cb77 libretro-common: Update features_cpu.c to take macOS 10.12 Sierra into account when defining clock_gettime(). 2016-11-26 17:10:05 -08:00
rogerman 6744e162a8 Update .gitignore for Xcode 2016-11-26 17:06:45 -08:00
rogerman ed40663b1f Move Cocoa frontend files to the desmume/src/frontend/cocoa directory. 2016-11-26 16:01:57 -08:00
zeromus 2144f44c67 minimum work needed to get windows picking git's lamehash instead of svn's coolrev. thanks to dolphin for the script. other frontends shouldn't be affected. 2016-11-23 23:54:16 -06:00
zeromus e1d635c392 fix endian ifdefs to newer standard 2016-11-23 22:42:50 -06:00
zeromus e2d9626be9 fix windows build after merge grief 2016-11-23 22:42:40 -06:00
zeromus f97283e9bc Merge branch 'master' into round-1-start
# Conflicts:
#	desmume/src/frontend/windows/DeSmuME.vcxproj.filters
#	desmume/src/libretro-common/rthreads/rthreads.c
#	desmume/src/texcache.cpp
#	desmume/src/utils/vfat.cpp
2016-11-23 21:13:34 -06:00
twinaphex 1394197244 Silence more Clang warnings 2016-11-23 21:12:34 -06:00
twinaphex 559b4ad077 Prevent some Clang warnings 2016-11-23 21:12:34 -06:00
zeromus 81d1070d9a remove agg and osd stuff from emulator core to a frontend module 2016-11-23 21:11:58 -06:00
zeromus 012b8d9e19 goodbye PO files 2016-11-23 21:11:45 -06:00
zeromus 43d6e7f7e3 trying to merge some stuff 2016-11-23 21:11:38 -06:00
zeromus a8d04b5152 fixes related to building new colorspace handler 2016-11-23 21:11:15 -06:00
zeromus 9f91a14b7f fixes related to building new colorspace handler 2016-11-23 21:10:53 -06:00
zeromus 41d26c6bd7 fix some endian macro bugs in new code from last merge 2016-11-23 21:10:37 -06:00