Commit Graph

5418 Commits

Author SHA1 Message Date
zeromus 6b78dc1f12 since we have evidence (from cheaters) that 32bits should be supported: fix 8 and 32bit reads of timer registers. i probably messed something up since we have no proper systematic solution for doing this kind of stuff. 2016-12-06 01:45:01 -06:00
zeromus bcc7421be4 make EXTKEYIN register emulation more sensible, and possibly fix "0x04000134 activator" AR codes (due to the register formerly being readable only from 0x04000136 as a halfword) 2016-12-05 21:27:33 -06:00
zeromus bdf580036c fix fsnitro.cpp the way it was supposed to be fixed, without platform dependencies 2016-12-05 18:51:32 -06:00
rogerman 3b92f41b45 Windows Port: Fix compiling on Windows.
(Regression from commit 1d8bdd5.)
2016-12-05 16:02:27 -08:00
rogerman d2f054b5fb OpenGL Renderer: Fix bug where certain polygons would occasionally render their textures blank.
(Regression from commit 1368b2d).
2016-12-05 15:13:17 -08:00
zeromus 1d8bdd5b54 Merge pull request #1 from lefta/fix-linux-build
Fix linux build
2016-12-05 14:14:52 -06:00
zeromus 3498665e7b Merge pull request #2 from pal1000/work
gitignore: Visual Studio 2015 database
2016-12-05 14:14:16 -06:00
rogerman 9564097182 SoftRasterizer: Further cleanup following 7711f82. 2016-12-05 11:49:00 -08:00
rogerman 7711f8288b SoftRasterizer: Fix bug where the texture wrap mode would be applied inconsistently under multithreaded rendering.
(Regression from 032622e.)
2016-12-05 11:45:40 -08:00
pal1000 af1a77e294 gitignore: Visual Studio 2015 database
Visual Studio 2015 produces an extra .VC.db file when building any
solution
2016-12-05 19:22:33 +02:00
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
Cédric Legrand 2f327c4af0 Fix glade frontend build 2016-12-03 22:58:02 +01:00
Cédric Legrand 5d10b8022a Fix linux build 2016-12-03 16:15:52 +01: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