Commit Graph

5053 Commits

Author SHA1 Message Date
zeromus 64ce4799fd add a vs2015 sln and stuff, but it only uses the vs2010 toolset. thats the lazy way. works ok though. 2014-12-15 03:33:37 +00:00
rogerman 878649a0a8 Cocoa Port:
- Remove the extra mutex from NDS_exec() in the main emulation loop. Have all consumers use the rwlock instead.
2014-11-27 05:36:45 +00:00
rogerman f17312c91d GFX3D:
- Clean up magic numbers related to the 3D framebuffer size.
2014-11-26 23:17:34 +00:00
zeromus fb2e4730e3 revert r5043. this revision quite unexpectedly broke about 8000 games. 2014-11-24 20:38:58 +00:00
rogerman 588744d323 Video Filters:
- Update XBRZ filters to v1.1 (thanks Zenju!) Addresses feature request #160 - https://sourceforge.net/p/desmume/feature-requests/160/
2014-11-19 23:00:19 +00:00
zeromus 16f9140960 fix regression within past 2 commits of launching any game from firmware 2014-09-16 04:42:38 +00:00
zeromus 66e6ba9497 improve previous commit, which was just plain buggy. now card is detected again. but... the game crashes when trying to boot. 2014-09-16 04:30:55 +00:00
zeromus dd13e33401 fix obvious crashy bug in NAND cards when booting from firmware, but for some reason the card isn't detected still. 2014-09-16 03:53:58 +00:00
zeromus b781234576 fix bug loading gba roms with no .sav file (fixes bug #1431) 2014-09-14 17:36:25 +00:00
zeromus 6ab5ff5917 savestate gamecode printing was endian-wrong 2014-09-05 03:28:08 +00:00
zeromus 51e478e66a fix bugs from r4926 (off-by-one error in out-of-range rom-reading check). possibly broke the last u32 in the rom. fixes bug #1406 (phantasy star 0 CHS translation black screen freeze) 2014-09-01 23:20:20 +00:00
zeromus e24720f69d apply patch #164 to screenshot path building format 2014-08-21 16:17:21 +00:00
normmatt234 b95380054e Fix Action Replay DS code type 0xE (Patch #163) 2014-08-17 06:57:10 +00:00
zeromus 204e9b46e5 block reading of BGxHOFS and BGxVOFS registers. fixes some ratatouille stages 2014-08-10 04:42:33 +00:00
zeromus bbc1517cc8 fix ancient errors in instruction decode table created by r3504 and r3510. not known to fix anything, but might be hg/ss related. 2014-07-30 22:20:25 +00:00
zeromus dabca07a9e add comments to instruction_tabdef.inc to salvage r3504 which modified the formatting as well as the contents 2014-07-30 20:56:43 +00:00
zeromus 0c54127f59 fix #1134 - american girl games (need system jamming when sending 3d commands with pending flush)
TODO - check #1428 (reportedly it affects PMD somehow)
2014-06-17 05:46:49 +00:00
alvinwong fca4afd7ce Fix file seeking of gba ROM and fix seeking behaviour of EMUFILE_FILE 2014-05-26 09:50:11 +00:00
zeromus 262fc4f14a apply alvinhochun's gbagame patches
--- 
add system in EMUFILE_FILE to switch correctly between read/write modes; add system in EMUFILE_FILE to (optionally) track current file position and avoid redundant fseeks - this code is UNTESTED.
 --- 
add better console feedback when gbagame .sav is being scanned, to make developers less likely to think the emulator is frozen
2014-05-26 06:23:56 +00:00
thelemonman fc6930c2e1 Fix JIT profiler compilation on linux 2014-05-03 15:52:20 +00:00
thelemonman 23955ff791 Remove the useless include 2014-04-23 18:16:20 +00:00
thelemonman 85c1c3c39d Acquire an OGL3.2 core profile when available 2014-04-23 18:14:20 +00:00
thelemonman f4cf398962 Fix the include guard 2014-04-23 09:53:05 +00:00
thelemonman 03edf63c31 Backport the w-buffer fix to the OGL 3.2 renderer. Delete the useless and misleading third copy of the same shaders. 2014-04-19 07:16:16 +00:00
thelemonman ce96c060f5 w-buffer support for OGL renderer. Remove the broken and silly i965 hack. 2014-04-18 17:14:13 +00:00
rogerman f02a1e83ee Cocoa Port:
- Fix bug where video filters weren't preferring to use the GPU by default.
- Display threads now each pull a copy of the video frame from the emulation thread, rather than the emulation thread pushing copies of the video frame to each display thread. (Slight performance improvement when many display threads are used.)
2014-04-13 00:23:52 +00:00
zeromus 608b9b3986 overhaul GXFIFO again, maybe better this time. 2014-04-06 01:44:49 +00:00
zeromus ef212121bf win32-apply patch #156 Win32:Expose AntiAliasing in 3D settings 2014-04-05 01:18:01 +00:00
zeromus a51fb22a40 overhaul GXFIFO packed-command handling to more closely resemble a reasonable hardware behaviour. this is unlikely to have fixed anything, since previous revisions had somehow smashed their way through most of the bugs; however, the previous revision did have a tiny potential bug which might have been fixed by this (array out of bounds access). the code is so pretty now, I think it must be right, but there's a chance that I have created a new bug. 2014-03-30 21:32:53 +00:00
rogerman 2873d83de4 Core:
- Fix some graphical glitches on big-endian systems.
- Do some minor code cleanup.
2014-03-25 22:17:02 +00:00
rogerman db358049b9 Cocoa Port:
- Do a huge refactor of the display code.
- Add support for shader-based filters.
- New feature: The display pipeline has been separated into three parts - Source --> Pixel Scale --> Output. Different sets of filters may be applied to each part of the pipeline.
- Add the following source filters: Deposterize
- Add the following output filters: Bicubic (B-Spline), Bicubic (Mitchell-Netravali), Lanczos2, Lanczos3.
- Add shader-based equivalents to the following pixel scalers: Nearest 2x, Scanline, EPX, EPX+, Super Eagle, 2xSaI, Super 2xSaI. These will be used instead of the CPU-based scalers if "Run filters on GPU if possible" is enabled (default is enabled).
- Remove the following pixel scalers from the UI: Nearest 1.5x, Nearest+ 1.5x, Bilinear 2x, EPX 1.5x, EPX+ 1.5x. The reasoning behind this is because these pixel scalers aren't necessary due to the automatic sizing of display view to window. Also, the new output filters make it so that running similar pixel scalers along with an output filter will always yield superior results.
2014-03-24 18:19:11 +00:00
alvinwong d16070ecb4 Qt: Implement control config dialog. 2014-03-20 15:09:28 +00:00
alvinwong 83ebb04cc2 Qt:
- Add fps counter
- Minor code cleanup
- Linux: DEFINES cleanup
2014-03-18 13:19:23 +00:00
alvinwong f09b93c62a Set eol style on Qt frontend files 2014-03-18 05:26:44 +00:00
alvinwong 9fdb1d26bb Initial Qt frontend code commit. 2014-03-18 05:14:22 +00:00
rogerman 73f44f0aeb Video Filters:
- Do some minor code cleanup.
2014-03-15 17:48:54 +00:00
rogerman dca852468c Cocoa Port:
- Fix intermittent freeze on app exit when running on OS X v10.5 Leopard.
2014-03-14 21:27:42 +00:00
alvinwong 2b3198e392 Linux: Fix compilation errors if HUD support not enabled 2014-03-13 12:32:34 +00:00
alvinwong 5c3c1f14d9 Linux (gtk): Actually change filter when loading options. 2014-03-08 10:23:35 +00:00
alvinwong 84460eeb5a Linux (gtk): Remove an unused option. 2014-03-08 08:39:13 +00:00
alvinwong 3f9de84fb1 Linux (gtk): Add option saving. 2014-03-08 08:34:31 +00:00
zeromus 8de0c23924 dont crash if save/loadstating 0 bytes of backup memory 2014-03-06 14:47:16 +00:00
alvinwong b7e996218b Linux (gtk): Change pause/resume to Pause button. 2014-03-06 14:15:06 +00:00
alvinwong 34b9cf1c0f Linux (gtk): Initialize VideoFilter with the number of CPU cores instead of hard-coded to 4 threads. 2014-03-06 08:01:45 +00:00
rogerman 560b23103c Video Filters:
- When using multiple threads, ensure that all lines are accounted for when the line count isn't evenly divisible by the thread count.
- Add static method VideoFilter::GetAttributesByID().
- Reallocating the destination buffers now uses its own method. Reverts the changes from r5000.
- Prepare the code for the use of multi-pass filters.
2014-03-05 18:20:00 +00:00
rogerman e23beb8630 Cocoa Port:
- Fix building of the Legacy project.
- In the Legacy and Xcode 3 projects, make the default C language GNU99.
2014-03-05 04:47:34 +00:00
rogerman 4d50b396dd Cocoa Port:
- If a video filter is used, upload textures in BGRA8888 instead of RGBA8888 format.
- Do some cleanup of the OpenGL display code.
2014-03-05 04:26:08 +00:00
rogerman 48f20e49f7 Cocoa Port:
- Fix intermittent bugs with loading user defaults on app startup.
2014-03-04 18:49:51 +00:00
alvinwong 11ff936fa1 Linux (cli): Fix HUD rendering (regression in [r5004]). 2014-03-04 10:07:33 +00:00
alvinwong 2ac5065fb4 Linux (gtk): Run video filter before fps limiter to make better use of time (and hopefully more accurate frame timing...). 2014-03-04 04:28:41 +00:00