O Desmume i jego deweloperskich wersjach DeSmuMe naprawdę dawno już nie wspomniałem. Projekt ma się dobrze i cały czas coś się dzieje na zapleczu, może nie jest już tak spektakularnie gdy w zasadzie był jedynym żywym wśród emulatorów Nintendo DS, ale jednak. Sporym minusem zabawy z DeSmume jest ostatnio problem z dostępem do buildów z AppVeyor, w sumie nie wiadomo czy w związku z faktycznym obłożeniem tego distro, czy też z innych, bardziej prozaicznych źródeł;) - działa za to link do "nocnych" wersji na stronie projektu.
Ostatnia powiedzmy pełna wersja DesMuMe x64 0.9.13 tego emulatora ukazała się 23 Maja 2023 roku
Revision 7067 / 3cefa5d7
Author: simonafek | Date: sobota, 20 maja 2023 17:33:23
- Update deprecated GitHub actions v2 (#666)
- Windows CI: Update deprecated github actions
- build_interface.yml: Update actions
- release_tarball.yml: Update checkout action
- build.yml: Update actions
Revision 7066
Author: simonafek | Date: środa, 10 maja 2023 14:56:54
- Windows CI: Update deprecated github actions
Revision 7065
Author: rogerman | Date: czwartek, 4 maja 2023 21:36:49
- SoftRasterizer: Perform all calculations using fixed-point math instead of float-based math.
- CommonSettings.GFX3D_TXTHack has been repurposed to switch between fixed-point math and float-based math.
- Fix various rendering bugs that were caused by a loss of Z precision introduced in commit 7751b59.
- In Pokemon Diamond/Pearl, the bug that caused random black dots to appear on the ground has been fixed.
Revision 7064
Author: zeromus | Date: poniedziałek, 24 kwietnia 2023 21:21:45
- add another mic sample
Revision 7063
Author: zeromus | Date: niedziela, 23 kwietnia 2023 22:18:51
- add mic samples. we're gonna start distributing these eventually.
Revision 7062
Author: zeromus | Date: piątek, 21 kwietnia 2023 21:18:32
- fix alignment of tempMultiplyMatrix and currentMatrix[4] in GeometryEngineLegacySave. Fixes #657. It would be better to fix this perhaps by making NDSMatrix a type that has the alignas(16) put on it while inheriting from std::array
Revision 7061
Author: zeromus | Date: poniedziałek, 10 kwietnia 2023 17:43:46
- fix spurious RRX variant selection in several disassembly macros (fixes #652 maybe)
Revision 7060
Author: rogerman | Date: wtorek, 7 marca 2023 07:19:09
- GFX3D: Obsolete and remove the VERT struct, since OpenGL, and SoftRasterizer are now both receiving their vertex data in fixed-point.
- Also remove the unused NDSVertexf struct. There shall be only one representation of the NDS vertex data, and that shall be the fixed-point values of NDSVertex.
Revision 7059
Author: rogerman | Date: wtorek, 7 marca 2023 06:39:57
- SoftRasterizer: Read in vertex data data as fixed-point instead of as floating-point.
Revision 7058
Author: rogerman | Date: wtorek, 7 marca 2023 06:27:47
- Remove superfluous x/y/z names from Vector2s16, Vector2s32, Vector2s64, and Vector2f32 union data types, since it is extremely unlikely that these extra names will ever be used. Just use names "x" and "y", which are the most likely to be used for these kinds of 2-element vectors.
Revision 7057
Author: rogerman | Date: poniedziałek, 6 marca 2023 23:35:47
- SoftRasterizer: Do some minor refactoring and code cleanup, and also prepare SoftRasterizer to accept fixed-point vertex data.
Revision 7056 / 56251ca
Author: rofl0r | Date: wtorek, 28 lutego 2023 03:59:52
- CI: limit autoconf build to 8 processes
- hopefully will prevent the OOM killer from kicking in.
Revision 7055
Author: rogerman | Date: wtorek, 28 lutego 2023 01:36:08
- Silence some compiler warnings.
Revision 7054
Author: rogerman | Date: piątek, 3 marca 2023 22:58:37
- GFX3D: Clean up the big-endian compatibility code.
Revision 7053
Author: rogerman | Date: piątek, 3 marca 2023 22:02:04
- GFX3D / SoftRasterizer: Small refactor to use some of the new data types introduced in commit cda8cb5.
- Also make SoftRasterizer's framebuffer out-of-bounds width check more robust.
Revision 7052
Author: rogerman | Date: wtorek, 28 lutego 2023 10:34:27
- GFX3D: Fix clear color on big-endian systems. (Regression from commit 97848fc.)
Revision 7051
Author: rofl0r | Date: wtorek, 28 lutego 2023 04:07:43
- CI: limit autoconf build to 8 processes
- hopefully will prevent the OOM killer from kicking in.
Revision 7050
Author: rogerman | Date: wtorek, 28 lutego 2023 01:36:08
- Silence some compiler warnings.
Revision 7049
Author: rogerman | Date: wtorek, 28 lutego 2023 00:39:17
- Core: Move low-level vector, vertex coordinate, and color data type declarations into types.h so that they can be used universally. Also update the data type names to be more descriptive and have better consistency.
- Add SIMD-float32 data types, and also add macros to track SIMD data-type availability.
- Also fix some bugs where 3D would fail to render on big-endian systems. (Regression from commit a67e040.)
Revision 7048
Author: rogerman | Date: sobota, 25 lutego 2023 21:11:22
- Cocoa Port: Silence some compiler warnings.
Revision 7047
Author: rogerman | Date: sobota, 25 lutego 2023 01:01:14
- GFX3D: Remove the mistaken addition of color clamping when converting fixed-point vertex colors into floating-point. Fixes the proper coloring of Princess Peach in the opening sequence of Super Mario 64 DS. (Regression from commit 7751b59.)
Revision 7046
Author: rogerman | Date: piątek, 24 lutego 2023 22:49:07
- OpenGL Renderer: Use the fixed-point vertex list data instead of the floating-point based one, alongside other tune-ups.
- To determine polygon facing, use GFX3D's CPoly.isPolyBackFacing instead of using GLSL's gl_FrontFacing. This eases OpenGL version requirements and improves older GPU compatibility a little.
- Also fix a bug where GPUs that support FBOs, but not shaders, were unable to read out their framebuffers properly.
Revision 7045
Author: rogerman | Date: czwartek, 23 lutego 2023 22:12:13
- GFX3D: Y-sorting and writing out vertices to a save state are now handled using fixed-point instead of floating-point, where appropriate.
Revision 7044
Author: rogerman | Date: czwartek, 23 lutego 2023 07:07:37
- GFX3D: Polygon clipping, viewport transformation, perspective correction, and face calculations are now done in fixed-point instead of floating point.
Revision 7043
Author: rogerman | Date: poniedziałek, 20 lutego 2023 05:23:44
- GFX3D: Vertex post-processing has been moved from the 3D renderers to GFX3D.
- Specifically, viewport transformation, face calculation, and face culling are now handled in GFX3D, and are now standard behaviors for all 3D renderers. This reorganization makes more sense since the 3D renderers are primarily responsible for rasterization and framebuffer post-processing, rather than for processing geometry.
- As a positive side-effect, the OpenGL renderer gains a small performance improvement as well as better accuracy in face culling.
Revision 7042
Author: rogerman | Date: niedziela, 19 lutego 2023 01:31:38
- OpenGL Renderer: Fix bug where the Depth L-Equal Polygon Facing option would fail to become enabled when running OpenGL 3.2 or later. (Regression from commit ab38d17. Note that this bug does affect the 0.9.13 release build.)
Revision 7041
Author: rogerman | Date: niedziela, 19 lutego 2023 01:21:44
- OpenGL Renderer: Silence compiler warnings.
Revision 7040 / 180223
Author: rogerman | Date: sobota, 18 lutego 2023 22:37:17
- GFX3D: Move some last bits of static data floating around in gfx3d.cpp into the GFX3D struct, and then make the instantiation of the struct itself static.
Revision 7039
Author: rogerman | Date: sobota, 18 lutego 2023 19:54:02
- GFX3D: Fix longstanding potential overflows related to polygon lists by reducing POLYLIST_SIZE from 20000 to 16383.
- Historically (ever since commit b1e4934 and commit d5bb6fd), VERTLIST_SIZE (based on POLYLIST_SIZE) could reference an index over 66535, but POLY.vertIndexes has always been an unsigned 16-bit value with a max value of 66535, making for a potential overflow. In practice, an overflow has never happened in the past 15 years because a hardware NDS has a limit of 6144 polygons (or 24576 vertices), and that even a VERTLIST_SIZE of 80000 is way more than plenty to accommodate that. Rather than increasing POLY.vertIndexes to 32-bit, it makes more sense to reduce POLYLIST_SIZE to 16383 to keep VERTLIST_SIZE below 66536. Even with this change, POLYLIST_SIZE and VERTLIST_SIZE should be more than plenty in practice.
- Also, now that we're performing polygon clipping for all client 3D renderers (ever since commit e06d11f), we're finally accounting for the fact that the clipped polygon list size is larger than POLYLIST_SIZE. Client 3D renderers have been updated to now reflect this change and avoid theoretical overflow issues that have never actually happened in practice.
Revision 7038
Author: rogerman | Date: sobota, 18 lutego 2023 03:32:42
- GFX3D: The shininess table is no longer a part of SWAP_BUFFERS.
- Since the shininess table is only ever used for vertex generation, it makes no sense for the table to included for the rasterization step. The shininess table has been moved to the NDSGeometryEngine class, which is a class dedicated to just vertex and polygon generation. This reorganization seems more sensible.
Revision 7037
Author: rogerman | Date: piątek, 17 lutego 2023 23:01:24
- GFX3D: Reorder members of the GeometryEngineLegacySave struct to better reflect the actual order of data in the existing save state format.
- Also rename some matrix-related members for better clarity.
Revision 7036
Author: rogerman | Date: piątek, 17 lutego 2023 21:00:27
- GFX3D: Attempt to fix an MSVC compiling issue. (Related to commit 5d6e866.)
Revision 7035
Author: rogerman | Date: piątek, 17 lutego 2023 06:58:28
- GFX3D: Finish refactoring geometry engine related stuff into the new NDSGeometryEngine class.
- Also, the vector test has been changed so that the result vector accounts for the 4 sign bits and proper sign expansion on overflow.
Revision 7034
Author: rogerman | Date: czwartek, 16 lutego 2023 11:59:05
- GFX3D: Clean up some lighting-related code.
Revision 7033
Author: rogerman | Date: czwartek, 16 lutego 2023 04:59:59
- GFX3D: Continue encapsulating stuff into the new NDSGeometryEngine class, mostly focusing on matrix-related things.
- There are two significant behavior changes in this commit that will require further testing.
- Behavior change: Before, MTX_LOAD_4x4 and MTX_LOAD_4x3 commands would update the individual values in the current matrix for each command. Now, these commands will batch the values into a temporary matrix until the temp matrix is complete, and then copy the temp matrix into the current matrix. This now matches the batching behavior that the other matrix commands already do.
- Behavior change: Before, there was a single shared temporary multiplication matrix used to batch the values of incoming MTX_MULT_4x4, MTX_MULT_4x3, and MTX_MULT_3x3 commands, theoretically allowing these commands to be used interchangeably and overwrite values from previous commands until the last command made a completed multiplier matrix. Now, there are 3 separate temporary multiplier matrices, one for each of the MTX_MULT_* commands, which means that each command type must now complete its own multiplier matrix before it can perform a matrix multiply.
Revision 7032
Author: rogerman | Date: środa, 15 lutego 2023 09:52:23
- GFX3D: Begin encapsulating stuff into the new NDSGeometryEngine() class.
- Also do some minor misc. code cleanup.
Revision 7031
Author: rogerman | Date: środa, 15 lutego 2023 08:30:22
- Cocoa Port: In the OpenGL blitter, prevent FBO-related GL calls if FBOs are not available.
- Also silence some compiler warnings.
Revision 7030
Author: zeromus | Date: sobota, 11 lutego 2023 21:59:40
- fixed: EMUFILE_FILE eof() on textmode failed on windows (caused .dct files from mac systems freeze process while loading)
Revision 7029
Author: rogerman | Date: sobota, 11 lutego 2023 04:01:16
- GFX3D: The Box Test is now performed with integer operations instead of with floating point.
- The integer-based Box Test should be just as good as the old float-based one, as tested by "American Girl: Julie Finds a Way". Of course, there are still bugs compared to a hardware NDS, but we haven't transitioned to rendering with integer-based vertices yet to make a meaningful test possible.
Revision 7028
Author: rogerman | Date: sobota, 11 lutego 2023 03:38:21
- Oops! Forgot a file. (Related to commit a67e040.)
Revision 7027
Author: rogerman | Date: sobota, 11 lutego 2023 03:25:21
- GFX3D: Do some major code cleanup.
- Rename a bunch of variables to better reflect their intended usage.
- Add new data types for organizing 3D vectors and coordinates.
- C functions that are called in response to 3D commands now follow the exact same pattern: “static void gfx3d_glFuncName(const u32 param)”
- Be super explicit about the usage of numeric data types and their typecasts to improve their code visibility.
- Remove implementation-specific ambiguity of right bit-shifting signed numerics (Logical-Shift-Right vs Arithmetic-Shift-Right) in the following functions: gfx3d_glLightDirection_cache(), gfx3d_glNormal(), gfx3d_glTexCoord(), gfx3d_glVertex16b(), gfx3d_glVertex10b(), gfx3d_glVertex3_cord(), gfx3d_glVertex_rel(), gfx3d_glVecTest().
Revision 7026
Author: rogerman | Date: czwartek, 9 lutego 2023 09:27:45
- GFX3D: Remove POLY struct members that don't need to be swapped. This results in less buffer copying for all POLY lists.
- Also remove Viewer3D_State.indexList. This member is obsolete since Viewer3D_State.gList.clippedPolyList is generated in the same order described by indexList.
- Encapsulate and rename some more lists to make their intended purpose more descriptive.
Revision 7025
Author: zeromus | Date: środa, 8 lutego 2023 19:25:41
- Merge pull request #632 from hjung4/fix/strchr-oob-check
- Fix out-of-bounds index access
Revision 7024
Author: henry.jung | Date: środa, 8 lutego 2023 13:54:08
- fix: strchr check
Revision 7023
Author: rogerman | Date: wtorek, 7 lutego 2023 08:20:46
- GFX3D: Clipping functions now take VERT parameters as non-nullable references instead of as nullable pointers where appropriate.
- GFX3D_ClipPoint() (formerly named clipPoint()) now writes directly to the target VERT rather than copying a return value back to the target.
Revision 7022
Author: rogerman | Date: wtorek, 7 lutego 2023 02:50:42
- GFX3D: Various minor tweaks and optimizations, plus code cleanup.
- Most importantly, refactor the GFX3D_Clipper::ClipPoly() method into the standalone GFX3D_GenerateClippedPoly() function, which drops all class member dependencies and is much more straightforward to use.
- - Remove the GFX3D_Clipper class. It has been slowly gutted over the years, but the loss of the ClipPoly() method makes the class obsolete, putting the final nail in its coffin.
- Using the new GFX3D_GenerateClippedPoly() function, gfx3d_PerformClipping() operates on the unsorted clipped polygon list directly. This means that the polygon clipping step requires one less buffer copy.
- Clipped polygons no longer retain direct pointers to POLY structs, instead using their index member to reference a POLY struct at a POLY array location. All 3D renderers have been updated to reflect this change.
- Rename a bunch of variables that reference POLY, CPoly, and VERT structs to clearly differentiate them between raw NDS data and our own internally processed data.
- Fix a potential bug in GFX3D_GenerateRenderLists() where sorting clipped polygons would reorder their polygon indices without reordering their other data members along with the indices, causing the data members to desync. OpenGL rendering was immune to this bug, but SoftRasterizer might have possibly seen it. In any case, this fix is the correct behavior.
Revision 7021
Author: rogerman | Date: niedziela, 5 lutego 2023 04:33:35
- Cocoa Port: Fix some random compiling issues.
Revision 7020
Author: rogerman | Date: czwartek, 2 lutego 2023 11:19:49
- GFX3D: The POLY and VERT structs have been converted to POD-style structs for better data consistency.
Revision 7019
Author: rogerman | Date: czwartek, 2 lutego 2023 01:54:04
- GFX3D: Encapsulate some data into the GFX3D struct, and also do some minor code cleanup.
Revision 7018
Author: rogerman | Date: czwartek, 2 lutego 2023 00:17:20
- Save States: Oops! Fix a bug where 3D vertices were getting double-loaded, causing save state file reads to desync. Fixes #629. (Regression from commit 5426509e.)
- Problems only occurred when LOADING a save state. However, SAVING a save state on commit 5426509e should be okay, so such save states should not be broken.
Revision 7017
Author: zeromus | Date: poniedziałek, 30 stycznia 2023 23:53:26
- Merge pull request #628 from radioactiveman/master
- Fix a few compiler warnings
Revision 7016
Author: thomas.lange | Date: poniedziałek, 30 stycznia 2023 23:40:50
- Fix a few compiler warnings
- warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
- Reported by clang 15.
Revision 7015
Author: rogerman | Date: czwartek, 26 stycznia 2023 04:09:21
- SoftRasterizer: Fix compiling issue for non-SSE2 systems. (Regression from commit 5426509e.)
Revision 7014
Author: rogerman | Date: czwartek, 26 stycznia 2023 03:52:45
- GFX3D: Render states and geometry lists are now copied/swapped more consistently on flush. (Related to commit 8438a5a6.)
- Viewports are now processed on VIEWPORT register write instead of being processed at render time.
- CLEAR_DEPTH, CLRIMAGE_OFFSET, EDGE_COLOR, FOG_TABLE, and TOON_TABLE register writes are now handled more consistently.
- The fogDensityTable check for force-drawing clear images in gfx3d_VBlankEndSignal() has been removed. Changes done in commit 8438a5a6 will always causes this check to fail, and this commit will always cause this check to fail. Therefore, this check is now obsolete.
- Change a bunch of GFX3D-related structs from C++ style constructed structs into C-style POD structs.
Revision 7013
Author: zeromus | Date: sobota, 21 stycznia 2023 23:59:18
- Merge pull request #627 from RainingChain/fwSettingsMacAddress
- Add mac address setting
Revision 7012
Author: raining.chain | Date: sobota, 21 stycznia 2023 23:32:05
- Add mac address setting
Revision 7011
Author: rogerman | Date: czwartek, 19 stycznia 2023 23:24:35
- Colorspace Handler: FragmentColor may now be accessed through a 4-element array, in which elements 0-1-2-3 represent color components R-G-B-A, respectively.
Revision 7010
Author: rogerman | Date: czwartek, 19 stycznia 2023 23:18:58
- Add support for page-aligned variables/arrays.
- Better account for UltraSPARC's unique memory page size.
- malloc_alignedCacheLine() no longer returns 16-byte aligned memory if the architecture is neither 32-bit or 64-bit. Now, the function only returns 64-byte alignment for 64-bit architectures OR 32-byte alignment for 32-bit architectures.
Revision 7009 / 8438a5a6
Author: zeromus | Date: środa, 18 stycznia 2023 06:32:47
- crude hack to fix problem where loadstate could crash if the GPU hasn't ever booted up. see TODO TODO TODO TODO in gfx3d.cpp -- somebody needs to revise the tables so they arent memory mapped but so that they work rather like shininess tables. if they aren't truly latched when the gpu is flushed, then put them in a table anyway and simply reference the live values instead of the latched ones. How to keep from accidentally referencing the latched ones? perhaps the 3d state could be divided into a latched part and an unlatched part via base classes. Could also be done by embedding a "latched" and "unlatched" struct in the gpu but that would involve touching every line of code that used something from it.
Revision 7008
Author: zeromus | Date: poniedziałek, 5 grudnia 2022 21:54:38
- winport - fix issues with save/load state to japanese filename (fixes #615)
Revision 7007
Author: zeromus | Date: poniedziałek, 24 października 2022 03:07:41
- Merge pull request #602 from KellanClark/master
- Fix division edge cases and prevent crash
Revision 7006
Author: kellan.clark | Date: poniedziałek, 24 października 2022 02:22:21
- Fix division edge cases and prevent crash
Revision 7005
Author: rogerman | Date: piątek, 16 września 2022 00:42:12
- Cocoa Port: Fix HUD rendering on the OpenGL blitter for GPUs that don't support shaders.
Revision 7004
Author: rogerman | Date: piątek, 5 sierpnia 2022 06:26:55
- saves.cpp: Fix compiling issue for all non-Windows platforms. (Regression from commit 3a6c8cf9.)
Revision 7003
Author: zeromus | Date: czwartek, 4 sierpnia 2022 23:33:43
- Merge pull request #523 from Keppl/backup_saves_max_patch
- Limit maximum number of backups files for load state backup
Revision 7002
Author: keppl | Date: środa, 13 kwietnia 2022 01:07:06
- Added check that index file was actually openned for writing.
- If not, skip creating backup part of loading.
Revision 7001
Author: keppl | Date: wtorek, 12 kwietnia 2022 04:26:16
- Added configuration option to define number of max number of backups. Windows only at the moment.
Revision 7000
Author: keppl | Date: poniedziałek, 11 kwietnia 2022 23:59:17
- Fixed bug when writing index, set default max to 200
Revision 6999
Author: keppl | Date: poniedziałek, 11 kwietnia 2022 04:36:10
- Changed loadstate_slot function to keep only 5 latest backups when saving curring state before loading.
- Once more than 5 exist, oldest one will be overwritten.
Revision 6998
Author: zeromus | Date: czwartek, 4 sierpnia 2022 23:32:25
- Merge pull request #575 from janisozaur/update-default-joystick-size
- Update default joystick cofiguration size in line with #567
Revision 6997
Author: micha..janiszewski | Date: czwartek, 4 sierpnia 2022 20:52:15
- Update default joystick cofiguration size in line with #567
Revision 6996
Author: zeromus | Date: sobota, 30 lipca 2022 22:47:43
- make hud editor actually save position (fixes #572)
Revision 6995
Author: rogerman | Date: piątek, 22 lipca 2022 00:31:40
- FIFO.cpp: Code cleanup; remove AltiVec-specific code from display FIFO, as it is no longer needed.
- The new code works by pre-swapping big-endian words on disp_fifo.buf write, rather than swapping the big-endian words during disp_fifo.buf read. There is a behavior change here. Before, 8-bit and 16-bit writes to disp_fifo.buf would increment disp_fifo.tail. Now, 8-bit and 16-bit writes only increment disp_fifo.tail when the most significant bit within the FIFO value's 32-bit boundary is written to. Behavior is unchanged when doing 32-bit writes. In practice, the rare games that use display FIFO have only ever done 32-bit writes, so this scenario is well tested.
Revision 6994
Author: zeromus | Date: czwartek, 21 lipca 2022 21:30:04
- Merge pull request #569 from janisozaur/patch-3
- Remove self-reference in variable declaration
Revision 6993
Author: micha..janiszewski | Date: czwartek, 21 lipca 2022 12:57:49
- Remove self-reference in variable declaration
Revision 6992
Author: rofl0r | Date: środa, 20 lipca 2022 22:09:45
- CI: also upload linux cli/gtk2 build artifact
Revision 6991
Author: rofl0r | Date: środa, 20 lipca 2022 22:09:45
- CI: add build job for linux/GTK2
Revision 6990
Author: rofl0r | Date: środa, 20 lipca 2022 22:09:11
- posix: properly fix size mismatch of keyboard/joystick_cfg arrays
- fixes #563
- unlike #566, this also fixes the gtk2 frontend automatically.
Revision 6989
Author: zeromus | Date: środa, 20 lipca 2022 18:04:19
- Merge pull request #566 from janisozaur/patch-1
- Fix #563: mismatched buffer sizes for memcpy
Revision 6988
Author: micha..janiszewski | Date: środa, 20 lipca 2022 14:53:55
- Fix #563: mismatched buffer sizes for memcpy
Revision 6987
Author: zeromus | Date: środa, 20 lipca 2022 18:03:52
- Merge pull request #564 from janisozaur/fix-use-of-internal-buffer
- Fix use of internal storage of temporary buffer
Revision 6986
Author: micha..janiszewski | Date: wtorek, 19 lipca 2022 13:43:53
- Fix use of internal storage of temporary buffer
- The entry index gets converted to a (temporary) string, from which apointer to internal data is taken and only consumed outside the loop, where parent variable no longer exists.
Revision 6985
Author: rofl0r | Date: środa, 29 czerwca 2022 00:16:13
- gtk3/gtk2: fix mismatched types for keyboard config temp storage fallout from c68cc14, closes #558
Revision 6984
Author: rogerman | Date: poniedziałek, 27 czerwca 2022 21:10:56
- Preemptively fix a compiling issue for AltiVec systems when using GCC without running keyword-and-predefine mode.
Revision 6983
Author: rogerman | Date: niedziela, 26 czerwca 2022 00:01:21
- Fix yet another compiling issue on GCC for AArch64. Fixes #556.
Revision 6982
Author: rogerman | Date: poniedziałek, 20 czerwca 2022 20:22:26
- libretro-common: Compiling tune-up for ARM architectures.
- Fixes a mismatched register warning in arm_enable_runfast_mode() when compiling for AArch64.
- Fix compiling check_arm_cpu_feature() on non-ARM architectures by being super explicit and pedantic about checking for __ARM_ARCH; none of this compiler-assumes-a-macro-equals-zero-if-undefined stuff.
Revision 6981
Author: rogerman | Date: poniedziałek, 20 czerwca 2022 05:36:50
- Remove AltiVec compiling for ppcle and ppc64le architectures, since our AltiVec code only works on big-endian systems anyways. Fixes #550.
Revision 6980
Author: rogerman | Date: niedziela, 19 czerwca 2022 06:56:25
- Fix compiling on GCC for AArch64. Fixes #548.
Revision 6979
Author: zeromus | Date: piątek, 17 czerwca 2022 20:28:27
- Merge pull request #532 from Aikku93/patch-3
- Check `gameCode==####` for homebrew
Revision 6978
Author: aikku93 | Date: poniedziałek, 23 maja 2022 10:35:25
- check `gameCode==####` for homebrew
Revision 6977
Author: zeromus | Date: czwartek, 16 czerwca 2022 21:16:25
- Merge pull request #546 from Aikku93/spu-enhanced-interpolation
- Enhanced interpolation, and fixed-point sample positions
Revision 6976
Author: aikku93 | Date: poniedziałek, 13 czerwca 2022 08:44:24
- fix overflow problems
- Catmull-Rom can give outputs greater than 16bit, so we must use 15bit precision. Also, ensure to use floor() to force a round-down regardless of host rounding behaviour.
Revision 6975
Author: aikku93 | Date: poniedziałek, 13 czerwca 2022 07:14:54
- tighter bounds on interpolation accuracy
Revision 6974
Author: aikku93 | Date: poniedziałek, 13 czerwca 2022 06:28:44
- Split 64bit counters into 2x32bit
- This appears to generate slightly saner code
Revision 6973
Author: aikku93 | Date: niedziela, 12 czerwca 2022 12:10:26
- fix broken adpcm
Revision 6972
Author: aikku93 | Date: niedziela, 12 czerwca 2022 11:33:09
- attempt to fix for macos
Revision 6971
Author: aikku93 | Date: niedziela, 12 czerwca 2022 11:03:48
- fix PSG square wave Was reading the wrong part of GBATek
Revision 6970
Author: aikku93 | Date: niedziela, 12 czerwca 2022 10:36:37
- sampcnt/sampinc as .32fxp, add catmull-spline interpolation
Revision 6969
Author: rogerman | Date: poniedziałek, 23 maja 2022 06:37:41
- Documentation: Update all URLs to match.
- Also fix a bug in the Cocoa port with copying the troubleshooting info to the Clipboard.
Revision 6968
Author: zeromus | Date: niedziela, 5 czerwca 2022 02:35:53
- attempt to fix some problems caused by users running desmume out of directories with non-english characters (could manifest as "could not get read/write access to the battery save file")
Revision 6967
Author: lino5000 | Date: wtorek, 31 maja 2022 13:37:54
- CLI: Re-work KEYDOWN handling to allow both shift keys as control inputs
- Right Shift is the default for Select key.
Revision 6966
Author: lino5000 | Date: wtorek, 31 maja 2022 13:37:48
- Fix Linux CLI keyboard input bug due to mismatched types
Revision 6965
Author: rogerman | Date: poniedziałek, 30 maja 2022 22:25:20
- Cocoa Port: When dealing with file paths, replace instances of [NSString cStringUsingEncoding:NSUTF8StringEncoding] with [NSString fileSystemRepresentation] and [NSFileManager stringWithFileSystemRepresentation:].
- This commit doesn't actually do anything, but it is the "proper" way for Apple OSes to deal with file paths that interact with lower-level C file functions.
Revision 6964
Author: zeromus | Date: niedziela, 29 maja 2022 08:45:25
- Merge pull request #537 from colton5007/patch-1
- Fixed GBA SRAMPath in posix CLI
Revision 6963
Author: colton5007 | Date: niedziela, 29 maja 2022 08:04:42
- Fixed GBA SRAMPath in posix CLI
Revision 6962
Author: rogerman | Date: wtorek, 24 maja 2022 21:02:27
- GFX3D: The box test now partially works in fixed-point.
- Specifically, the vertex calculations are performed using fixed-point. However, clipping still occurs using floating-point.
Revision 6961
Author: rogerman | Date: wtorek, 24 maja 2022 01:08:06
- JIT (ARM): Make the code a little more portable, and also silence a couple compiler warnings.
Revision 6960
Author: rogerman | Date: wtorek, 24 maja 2022 00:53:05
- GFX3D: GEM_TransformVertex() now uses the SIMD-optimized generic matrix functions instead of using its own scalar-only version.
- This change results in a small, yet measurable, performance improvement.
- Note that this change has the side-effect of enabling saturation logic for the following functions: MatrixMultVec3x3(), MatrixTranslate(), MatrixScale(). This is a change in their behavior, since these functions did not perform saturation logic before. This will need additional testing.
Revision 6959
Author: rogerman | Date: wtorek, 24 maja 2022 00:29:57
- GFX3D: The position test and the vector test are now performed using fixed-point instead of floating-point.
Revision 6958
Author: rogerman | Date: wtorek, 24 maja 2022 00:19:55
- Cocoa Port: Update version number to support version bump from commit 60714f6d.
Revision 6957
Author: zeromus | Date: wtorek, 24 maja 2022 00:10:07
- bump version to 0.9.14 for future interim builds.
Revision 6956
Author: zeromus | Date: wtorek, 24 maja 2022 00:03:42
- update make_scmrev.h.js for modern times by searching for 64bit git on 32bit msbuild/devenv
→ [NDS] DesMuMe x86/x64 0.9.12 SVN6349 13.12.18
Revision 6388
Author: rogerman | Date: czwartek, 13 grudnia 2018 03:34:47
- GPU: Do some code cleanup of the display capture code.
Revision 6387
Author: zeromus | Date: środa, 12 grudnia 2018 21:50:52
- winport - fix things named like Blorkénflarge in the recent roms menu (#238)
Revision 6386
Author: rogerman | Date: środa, 12 grudnia 2018 11:49:44
- Firmware: Fix various endianness issues. Most importantly, this fixes a bug with touch input not working correctly on big-endian systems. (Regression from commit bb38022.)
Revision 6385
Author: rogerman | Date: środa, 12 grudnia 2018 02:45:36
- Cocoa Port: Fix various issues on the PPC build.
- Fix compiling issues for big-endian systems.
- Fix bug where the Recent ROMs menu and also launching the app while loading a ROM file would fail to load the ROM on macOS v10.5 Leopard.
- Fix bug where GPU main memory display mode would show incorrect pixels on big-endian systems when running at 15-bit color depth.
- As an unintended collateral improvement, GPUEngineA::_HandleDisplayModeMainMemory() now has SSE2-accelerated versions for 18-bit and 24-bit color depths. This was done less for its performance benefit (main memory display mode is an extremely rare feature) and more for better code consistency and code completeness.
Revision 6384
Author: zeromus | Date: środa, 12 grudnia 2018 00:20:39
- winport - fix loading games named things like "Yokémorp". It was probably only open through drag and drop. Probably broke japanese. If I did, write a bug so I can fix japanese and break latin characters again.
Revision 6383
Author: zeromus | Date: czwartek, 6 grudnia 2018 15:08:40
- Merge pull request #236 from NetwideRogue/master
- don't clobber existing screenshots
Revision 6382
Author: declan.hoare | Date: czwartek, 6 grudnia 2018 13:59:18
- don't clobber existing screenshots
Revision 6381
Author: rogerman | Date: środa, 5 grudnia 2018 23:37:33
- GFX3D: Revert the polygon sorting code back to its original state, which should result in a minor performance improvement for high polygon-count scenes.
- After years of testing, no one has reported running into the assert in gfx3d_ysort_compare() so I think we should be safe in reverting std::stable_sort() back to std::sort().
- For the sorting function, use gfx3d_ysort_compare_orig() since this function compiles down to fewer instructions than gfx3d_ysort_compare_kalven() does, resulting in better sorting performance.
- Of note, I'm pretty sure that SF commit r5132 is what fixed the original bug (see SF#1461 for more details) by getting rid of the NaN comparisons that were tripping up std::sort(). In the future, we should research why we're dividing by 0 in the first place, since r5132 is clearly a hack of a fix.
Revision 6380
Author: zeromus | Date: środa, 5 grudnia 2018 21:10:52
- Merge pull request #207 from cosmo-ray/fix-linux-gcc8.2-warnings
- Fix gcc8.2 warnings on linux
Revision 6379
Author: matthias.gatto | Date: sobota, 20 października 2018 07:30:22
- dlditool: fix redefinition of VERSION
Revision 6378
Author: matthias.gatto | Date: sobota, 20 października 2018 07:27:28
- posix: fix deprecated warning about g_thread_init
- problems with the old if, is that the code still compiled(but optimised out)
- as g_thread_supported is a macro, #if work well enouth and doesn't generate
- warning
Revision 6377
Author: matthias.gatto | Date: sobota, 20 października 2018 07:15:48
- ROMReader: fix specified bound depends on the length of the source argument It seems gcc have a (new ?) warning that doesn't allow *ncpy functions to have any source length related value as len argument. I've use strdunp to fix this, but I guess there is some other solutions that doesn't require free.
- use c++ strings ?
- use strcpy(...); tmp1[strlen(filename) - 4] = 0; ... ?
- remove the warning in the Makefile ?
- but as the strdump solution is simple enouth I've keep this.
Revision 6376
Author: matthias.gatto | Date: czwartek, 11 października 2018 23:22:21
- threads: fix implicit declaration of memset
Revision 6375
Author: zeromus | Date: środa, 5 grudnia 2018 21:10:42
- Merge pull request #223 from intact/gtk-fix-screenshot-path
- Gtk+ Port: Use Desktop or Home as fallback directory for screenshots
Revision 6374
Author: intact | Date: środa, 21 listopada 2018 14:44:35
- Gtk+ Port: Use Desktop or Home as fallback directory for screenshots
Revision 6373
Author: rogerman | Date: środa, 5 grudnia 2018 06:49:09
- OpenGL Renderer: Remove a now defunct framebuffer texture, significantly reducing VRAM usage at the higher resolutions.
Revision 6372
Author: rogerman | Date: środa, 5 grudnia 2018 06:23:58
- OpenGL Renderer: Properly clear the framebuffer during a power-off condition, just like how SoftRasterizer does it. (Related to commit 66b5da1 and commit 759a039. Fixes #234.)
- Also do a minor performance optimization by only doing the framebuffer clear once for each power-off condition, rather than repeatedly and unnecessarily clearing the framebuffer for each and every V-blank.
Revision 6371
Author: rogerman | Date: wtorek, 4 grudnia 2018 10:26:27
- Cocoa Port: Fix some intermittent issues related to launching the app while loading a ROM file (i.e. double-clicking an NDS ROM file to launch DeSmuME.app).
Revision 6370
Author: rogerman | Date: wtorek, 4 grudnia 2018 01:22:12
- GPU: Do some code cleanup of the display capture code.
Revision 6369
Author: zeromus | Date: niedziela, 2 grudnia 2018 18:00:52
- Merge pull request #233 from Jules-A/hideConsole
- [Windows] Hide the console window in the current session when disabling in menu.
Revision 6368
Author: jules.a | Date: niedziela, 2 grudnia 2018 17:52:09
- Hide the console window before freeing so if the console is attachted to another process (currently occuring under Win10) it is at least hidden.
Revision 6367
Author: rogerman | Date: niedziela, 2 grudnia 2018 06:56:32
- GPU: Do some minor code cleanup.
Revision 6366
Author: rogerman | Date: niedziela, 2 grudnia 2018 06:38:03
- GPU: Fix bug where GPUEngineA::RenderLine_Layer3D() was trying to run with uninitialized values. (Regression from commit 37a8ca0.)
Revision 6365
Author: rogerman | Date: niedziela, 2 grudnia 2018 05:44:45
- GPU: Do a bunch of minor tweaks and code cleanup to the various pixel compositor methods. Significantly reduces the compiled code size.
- Of note, when running at custom resolutions, we are now being more aggressive in performing early tests for rejecting pixels as soon as possible. This may yield a minor performance improvement in some very specific rendering scenarios that require the window test.
Revision 6364
Author: rogerman | Date: niedziela, 2 grudnia 2018 00:46:23
- GPU: Rendering complete OBJ layer lines is now SSE2-accelerated at the native resolution. This change is less of a performance enhancement and more of improving the code consistency. As of now, ALL complete OBJ layer lines, whether internally generated or from read from VRAM, whether rendering at native resolution or custom resolution, should now be SSE2-accelerated. This commit finalizes this concept. (Related to commit 8e9e7c4 and commit 60c01bd.)
Revision 6363
Author: rogerman | Date: sobota, 1 grudnia 2018 05:12:58
- GPU: Do a few more minor optimizations to rendering complete OBJ layer lines. Most notably, all complete OBJ layer lines, not just ones reading directly from custom VRAM, now benefit from the SSE2-accelerated code.
Revision 6362
Author: rogerman | Date: sobota, 1 grudnia 2018 02:10:56
- GPU: Fix bug in GPUEngineBase::_PixelUnknownEffectWithMask16_SSE2() where blending effects for OBJ layers were being handled incorrectly. This bugfix only affects SSE2-enabled systems. (Regression from commit 8e9e7c4. Fixes #232.)
Revision 6361
Author: rogerman | Date: piątek, 30 listopada 2018 07:25:37
- GPU: Use the same technique in the commit 6bcd19b GPUEngineBase::_CompositeVRAMLineDeferred() bug fix in order to do a tiny optimization to GPUEngineBase::_CompositeLineDeferred(). Also makes the code more consistent as well.
Revision 6360
Author: rogerman | Date: piątek, 30 listopada 2018 07:02:07
- Cocoa Port: Upgrade Interface Builder .xib files to 3.2 format with minimum deployment target of macOS 10.6. This change effectively drops support for building DeSmuME directly from a PowerPC Mac. Fixes #231.
- It is still possible to create a PowerPC binary, but this now requires some extra steps. From now on, you must use an Intel Mac running Mavericks or earlier to re-save the .xib files with a deployment target of macOS 10.5 in Interface Builder 3.2, and then use Xcode 3 to build a PowerPC binary using the Xcode 3 project file.
Revision 6359
Author: zeromus | Date: czwartek, 29 listopada 2018 23:25:59
- winport - menu option to control CLI console visibility
- fixes #230
Revision 6358
Author: rogerman | Date: czwartek, 29 listopada 2018 22:12:56
- GPU: Fix a bug in GPUEngineBase::_CompositeVRAMLineDeferred() where compInfo.target.xCustom was overstepping its bounds in X-dimension only custom buffers. This had the effect of causing undefined coloring when running at custom resolutions. (Regression from commit 8e9e7c4. Fixes #228 and fixes #229.)
Revision 6357
Author: zeromus | Date: czwartek, 29 listopada 2018 22:04:31
- Merge pull request #217 from SuuperW/paths
- Paths
Revision 6356
Author: suuperw | Date: niedziela, 4 listopada 2018 14:08:59
- Allow user to change new path settings in the path config dialog.
Revision 6355
Author: suuperw | Date: niedziela, 4 listopada 2018 13:08:08
- Add SRAM_IMPORT_EXPORT path setting to separate from the auto-save battery location.
Revision 6354
Author: rogerman | Date: czwartek, 29 listopada 2018 11:00:21
- GPU: Enable SSE2-accelerated custom-sized VRAM reads through the OBJ layer. This significantly improves the performance of many games, such as those that make use of dual-screen 3D, when running at the higher resolutions.
Revision 6353
Author: rogerman | Date: czwartek, 29 listopada 2018 02:31:49
- SoftRasterizer: For SSE2-enabled systems only, fix a rare graphical glitch that can sometimes occur in some games. (Regression from commit 21f04c9.)
Revision 6352
Author: rogerman | Date: środa, 28 listopada 2018 22:36:02
- Cocoa Port: Yet another attempt at eliminating microstuttering in Metal display views. While it hasn't been completely eliminated yet, it shouldn't be as bad now.
Revision 6351
Author: rogerman | Date: sobota, 24 listopada 2018 00:30:11
- SoftRasterizer: Fix build issues on Windows. (Regression from commit 21f04c9.)
Revision 6350
Author: rogerman | Date: piątek, 23 listopada 2018 23:59:13
- SoftRasterizer: Do some minor improvements to both performance and code size.
Revision 6349
Author: roger.manuel | Date: piątek, 23 listopada 2018 23:17:00
- Merge pull request #224 from Jules-A/WinOglCompatUI
- WIP WinFrontend UI for the new OpenGL compatabilty tradeoffs.
Revision 6348
Author: jules.a | Date: piątek, 23 listopada 2018 10:18:16
- Revert pointless changes that only saved a few lines.
Revision 6347
Author: jules.a | Date: piątek, 23 listopada 2018 10:05:40
- Remove unneeded bool initialisation and now that ini values are sanatized comboboxes can be initialised and set in a loop to save a few lines.
Revision 6346
Author: jules.a | Date: piątek, 23 listopada 2018 07:19:56
- Ughh... get rid of the extra semicolon...
Revision 6345
Author: jules.a | Date: piątek, 23 listopada 2018 07:12:52
- Fix label variable naming, spacing and finally get ini value checking working without requiring to check for the value that is getting changed,
Revision 6344
Author: jules.a | Date: czwartek, 22 listopada 2018 18:47:14
- Check if user inputted values are correct on initiation.
Revision 6343
Author: jules.a | Date: czwartek, 22 listopada 2018 15:16:36
- Fix up the UI and delete the unusused function (it's really not worth it until more settings can be checked).
Revision 6342
Author: jules.a | Date: środa, 21 listopada 2018 14:48:30
- WIP WinFrontend UI for the new OpenGL compatabilty tradeoffs. Should be fully functional except for CheckValid3DSettingInt where I messed up so I left it commented out, honestly it's probably not needed anyways as there's already checks in place, it just doesn't update ini until you save settings. UI is still a mess, will have to work on that later.
Revision 6341
Author: rogerman | Date: czwartek, 22 listopada 2018 04:52:30
- SoftRasterizer: Fix Z-depth calculations when compiling on MSVC. Fixes the overworld map in Dragon Quest IV. (Regression from commit d81a75c.)
- Apparently, MSVC has a more strict implementation of IEEE-754 single-precision floats (with 23-bit significands) than Clang and GCC, and so we going to drop 2 LSBs during the calculation so that we're multiplying z by a 22-bit significand. Coincidentally, this now matches what we're doing with the OpenGL renderer, so this tends to better code consistency.
Revision 6340
Author: rogerman | Date: środa, 21 listopada 2018 08:14:09
- WiFi: In Compatibility mode, reset the current RX packet's latency counter for every halfword write like its supposed to be.
Revision 6339
Author: rogerman | Date: środa, 21 listopada 2018 02:56:18
- Cocoa Port: Add tooltips for each of the OpenGL rendering accuracy options.
Revision 6338
Author: rogerman | Date: wtorek, 20 listopada 2018 20:44:30
- OpenGL Renderer: It is now possible to toggle certain accuracy-related features on and off so that users can choose where to make their accuracy-performance tradeoffs. These four emulation accuracy features are: 'Shadow polygons', 'Special zero alpha blending', 'Depth-Equals test tolerance', and 'Depth-LEqual polygon facing'.
- New Behavior: Due to the rarity of needing to emulate 'Depth-LEqual polygon facing' and its guaranteed reduction in performance in all games, this accuracy feature is now OFF by default.
- Expose these new settings in the Cocoa port UI.
Revision 6337
Author: rogerman | Date: poniedziałek, 19 listopada 2018 11:49:31
- Windows Port: When running OpenGL display method, properly initialize V-sync to match wantVsync rather than assuming that the default setting for wantVsync will match the default setting of the video driver.
Revision 6336
Author: rogerman | Date: niedziela, 18 listopada 2018 08:20:59
- SoftRasterizer / OpenGL Renderer: Drop less bits in the depth calculation, making for smoother depth transitions. For certain games, this may allow for better distance rendering, especially at the higher resolutions. (Related to commit c9025e8.)
- SoftRasterizer may now drop at most one LSB, down from dropping 9 LSBs.
- OpenGL will now drop only 2 LSBs, down from 9 LSBs. In this case, dropping 2 LSBs was specifically chosen to ensure that the Dragon Quest IV overworld map continues to work.
- If this change makes the depth inaccuracy too much worse than before, then we may have to make these particular depth calculations optional in the future. This will need additional testing.
Revision 6335
Author: rogerman | Date: niedziela, 18 listopada 2018 04:50:45
- WiFi: Make WifiHandler::_CopyFromRXQueue() more efficient by doing less copying and less locking.
Revision 6334
Author: rogerman | Date: niedziela, 18 listopada 2018 01:02:04
- WiFi: Significantly reduce the host-to-emulator latency of libpcap-sourced packets in Infrastructure mode by running RX packet receives on a separate thread, just like how socket-sourced packets in Ad-hoc mode do it.
- Also, Infrastructure mode can no longer "partially function." Now, it either works completely or not at all, just like how Ad-hoc mode does it.
Revision 6333
Author: rogerman | Date: czwartek, 15 listopada 2018 10:04:06
- NDSSystem.cpp: Fix interactions between external firmware loading and BIOS loading. Always ensure that loading external firmware is dependent on loading both ARM9 and ARM7 BIOS files.
Revision 6332
Author: rogerman | Date: czwartek, 15 listopada 2018 09:18:22
- Firmware: Standardize how the firmware configuration is set.
- Now, the only two methods for changing any firmware setting is by modifying CommonSettings.fwConfig or by loading an external NDS firmware binary file.
- All methods for changing the firmware MAC address through the WifiHandler class have been removed.
- The FirmwareConfig struct can now handle the WFC User ID.
- Clients can now retrieve the current MAC address and WFC User ID using NDS_GetCurrentWFCUserID(). It is also possible to retrieve the WFC User ID from CommonSettings.fwConfig.
- Setting up the firmware in NDS_Reset() should now be more consistent. However, this does change some of the loading/unpacking order previously set by NDS_FakeBoot(). This will need additional testing.
- Do a whole bunch of code refactoring and cleanup.
→ [NDS] DesMuMe x86/x64 0.9.12 SVN6331 10.11.18
Revision 6331
Author: rogerman | Date: czwartek, 8 listopada 2018 10:49:36
- WiFi: Reduce the number of packets read by pcap_dispatch() from 16 to 1, significantly reducing the host-to-emulator latency of Infrastructure packet reads. This seems to be the best choice for maintaining a stable online connection, albeit at a significantly increased CPU cost for the host machine.
- Also do some minor code refactoring and cleanup.
Revision 6330
Author: rogerman | Date: środa, 7 listopada 2018 22:20:10
- WiFi: Significantly reduce the host-to-emulator latency of socket-sourced packets and make the emulated copy-to-WRAM latency more consistent when running Compatibility mode.
- Also slightly reduce the host-to-emulator latency of libpcap-sourced packets.
Revision 6329
Author: roger.manuel | Date: poniedziałek, 5 listopada 2018 00:32:05
- Merge pull request #216 from Jules-A/winWifi
- Win Port: Wifi cleanups following 9d05935
Revision 6328
Author: jules.a | Date: piątek, 2 listopada 2018 03:18:27
- Fix wrong bool type, attempt to make warnings more clear.
Revision 6327
Author: jules.a | Date: piątek, 2 listopada 2018 02:26:08
- I guess they aren't the same message.
Revision 6326
Author: jules.a | Date: piątek, 2 listopada 2018 02:19:55
- Nit: GetBridgeDeviceList already has proper return codes so just initialize variable locally.
Revision 6325
Author: jules.a | Date: piątek, 2 listopada 2018 00:35:15
- Let the user know when WinPcap isn't loaded.
Revision 6324
Author: jules.a | Date: czwartek, 1 listopada 2018 14:47:15
- Whoops, fix deviceCount.
Revision 6323
Author: jules.a | Date: czwartek, 1 listopada 2018 14:40:14
- Winport wifi cleanups after 9d05935. Removes interface for setting wifi mode along with removing redundant code.
Revision 6322
Author: rogerman | Date: piątek, 2 listopada 2018 21:06:15
- arm_jit.cpp: OP_LDRD_REG() and OP_STRD_REG() now treat even-numbered registers as double-word load/stores, while odd-numbered registers are treated as single-word load/stores. (Fixes #215.)
- - This change shouldn't actually change any functionality in practice... probably. This change is there to silence a compiler warning more than anything else... hopefully.
Revision 6321
Author: rogerman | Date: czwartek, 1 listopada 2018 11:44:05
- Firmware: Add the NDS_ReadFirmwareDataFromFile() function, which allows ports to either retrieve the entirety of a firmware file's data or to quickly read just a specific piece of it.
- - The Cocoa port uses this new function for UI purposes.
Revision 6320
Author: rogerman | Date: czwartek, 1 listopada 2018 08:23:41
- WiFi: The user no longer has to manually choose between using Ad-Hoc or Infrastructure modes. The code now automatically sends/receives packets to and from their proper places.
- - This change obsoletes "CommonSettings.wifi.mode", which now does nothing. Ports that make use of this setting should remove it.
- - Also do a bunch of code refactoring and cleanup.
Revision 6319
Author: rogerman | Date: czwartek, 1 listopada 2018 08:02:05
- Cocoa Port: Do some minor code cleanup.
Revision 6318
Author: rogerman | Date: czwartek, 1 listopada 2018 07:45:49
- matrix.cpp: Use the __restrict keyword for MatrixCopy(), MatrixCompare(), and MatrixGetMultipliedIndex() to further clarify that the passed in matrices must be separate and non-overlapping.
Revision 6317
Author: zeromus | Date: czwartek, 1 listopada 2018 04:30:40
- notify the lua script of an updated projection, in more cases (re: #130)
Revision 6316
Author: zeromus | Date: czwartek, 1 listopada 2018 02:29:25
- add lua functions emu.gamecode and emu.smallgamecode for game-specific hacks in scripts
- re #130
Revision 6315
Author: rogerman | Date: środa, 31 października 2018 23:54:46
- Cocoa Port: Delete the now defunct preferredResourceStorageMode property that was obsoleted by commit da3970d.
Revision 6314
Author: rogerman | Date: środa, 31 października 2018 21:44:20
- OpenGL Renderer: Partially fix rendering in the Customize screen of Sands of Destruction.
- - This fix properly emulates the less-than-or-equal depth test rendering for front-facing polygons drawn on top of opaque back-facing fragments, but only if the front-facing polygon is opaque. Translucent front-facing polygons are not supported at this time due to requiring extensive changes to the rendering logic and shaders in order to emulate this extremely rare and niche NDS feature. (If you require the proper rendering of translucent front-facing polygons on top of back-facing fragments, then you must use SoftRasterizer.)
Revision 6313
Author: rogerman | Date: środa, 31 października 2018 09:23:13
- OpenGL Renderer: Do some small optimizations to the OpenGLRenderer::ZeroDstAlphaPass() and OpenGLRenderer::RenderEdgeMarking() methods. Also reduce VRAM usage.
Revision 6312
Author: rogerman | Date: poniedziałek, 29 października 2018 23:00:59
- OpenGL Renderer: Force front facing and back facing polygons to draw in separate groups, fixing a rendering bug in the car selection screen of "Need For Speed: Most Wanted". (Regression from commit 47a7194. Fixes #212.)
Revision 6311
Author: rogerman | Date: poniedziałek, 29 października 2018 22:08:44
- OpenGL Renderer: Calculate the polygon facing for each individual polygon, just like how SoftRasterizer does it.
Revision 6310
Author: rogerman | Date: poniedziałek, 29 października 2018 17:58:00
- GPU: Remove now defunct line info buffers.
Revision 6309
Author: rogerman | Date: niedziela, 28 października 2018 23:54:09
- Windows Port: Fix all the compilers warnings when using the CACHE_ALIGN macro by reverting the use of alignas(X) back to __declspec(align(X)).
Revision 6308
Author: zeromus | Date: niedziela, 28 października 2018 14:00:24
- auto-select retail nand for Daigassou! Band-Brothers DX (fixes #213)
Revision 6307
Author: rogerman | Date: niedziela, 28 października 2018 06:54:30
- Save States: Properly rescale and convert the internal 3D framebuffer to and from a standard format -- 32-bit RGBA8888. (Related to commit c1eafc5 and completes all the work in PR #190 by @SuuperW.)
Revision 6306
Author: rogerman | Date: niedziela, 28 października 2018 03:49:24
- GPU: Okay, so fix another potential bug with main memory display mode in 15-bit since the evaluation order of function parameters is not guaranteed across different compilers. (In this particular case, the evaluation order is actually important.)
Revision 6305
Author: rogerman | Date: niedziela, 28 października 2018 03:25:15
- GPU: Fix bug with main memory display mode when running 18-bit or 24-bit color depth. (Fixes #211.)
Revision 6304
Author: rogerman | Date: niedziela, 28 października 2018 01:28:00
- Save States: The GPU framebuffer downscaling code can now take a faster code path if available.
Revision 6303
Author: rogerman | Date: niedziela, 28 października 2018 00:50:16
- GPU: Improve the code consistency when it comes to scaling up lines.
Revision 6302
Author: rogerman | Date: sobota, 27 października 2018 21:11:34
- Save State: Properly rescale and convert the GPU framebuffers to and from a standard format -- native size at 15-bit RGB555. (Related to commit c1eafc5 and PR #190 by @SuuperW.)
Revision 6301
Author: rogerman | Date: piątek, 26 października 2018 09:17:08
- Save States: Manually merge in most of the changes (with the exception of the GPU framebuffer rescaling and reformatting code) based on several commits in PR #190 by @SuuperW.
Revision 6300
Author: rogerman | Date: piątek, 26 października 2018 00:42:27
- Cocoa Port: Do some UI tweaks with reporting the firmware MAC address.
Revision 6299
Author: rogerman | Date: czwartek, 25 października 2018 20:55:44
- Linux GTK Port: Fix compiling for GTK port. (Regression from commit 064527e.)
- - The new behavior for the Multisample Antialiasing checkbox: Checked - GFX3D_Renderer_MultisampleSize = 4, Unchecked - GFX3D_Renderer_MultisampleSize = 0. (If someone else wants to make some UI so that GFX3D_Renderer_MultisampleSize can be set to other sizes, then have at it.)
Revision 6298
Author: rogerman | Date: czwartek, 25 października 2018 11:34:26
- Windows Port: Fix compiling for Windows port. (Regression from commit bb38022.)
Revision 6297
Author: rogerman | Date: czwartek, 25 października 2018 10:43:19
- Firmware: Replace the old NDS_fw_config_data struct with the new FirmwareConfig struct, which allows for easy modification of all the user-related settings, including all the WiFi settings. Also do a massive refactor and cleanup of the firmware-related code.
- - Also exposes all of the WiFi-related firmware settings in the Cocoa port UI.
Revision 6296
Author: rogerman | Date: czwartek, 25 października 2018 10:05:36
- Cocoa Port: Improve the performance and robustness of Metal display views.
- - Add a unique sequence number to fetched frames to ensure that older frames are not drawn after newer frames.
- - After much research, finally settle on a method for fetching the NDS framebuffers -- using a MTLBlitCommandEncoder to blit a MTLBuffer to a MTLTexture. It is faster than uploading a texture using [id
replaceRegion:mipmapLevel:withBytes:bytesPerRow:], and also faster than using a pinned-memory backed linear texture. This method will be the way going forward for fetching framebuffers in Metal.
Revision 6295
Author: rogerman | Date: czwartek, 25 października 2018 09:35:22
- CommonSettings: Remove the now obsolete GFX3D_Renderer_Multisample setting. (Related to commit 94ddf1a.)
Revision 6294
Author: roger.manuel | Date: czwartek, 25 października 2018 08:56:07
- Merge pull request #205 from Jules-A/antialiasing_settings
- AntiAliasing Settings
Revision 6293
Author: jules.a | Date: czwartek, 25 października 2018 01:05:06
- rogerman fixes
Revision 6292
Author: jules.a | Date: środa, 24 października 2018 22:50:33
- Fixed UI elements moving around by simply re-arranging the order in resources.rc... Also added extra check when context is created.
Revision 6291
Author: jules.a | Date: środa, 24 października 2018 02:04:59
- Cleaned up variable positions, added dummy OGL initiation so max device samples could be obtained from any renderer.
- As a result, values higher than user is capable of won't be created.
Revision 6290
Author: jules.a | Date: wtorek, 23 października 2018 22:41:15
- WIP Updates.
Revision 6289
Author: roger.manuel | Date: poniedziałek, 22 października 2018 20:08:49
- Merge branch 'master' into antialiasing_settings
Revision 6288
Author: jules.a | Date: środa, 17 października 2018 16:40:54
- Fix #c65ec32 illogical operators (|| instead of &&), save to ini straight away to avoid wrong value being displayed there and don't bother creating another variable to try make a turd prettier.
Revision 6287
Author: jules.a | Date: środa, 17 października 2018 15:18:58
- Default to 8 if invalid uservalue is entered, add a check so it won't be set to 2x if limiting is disabled and clean up settings interface more.
Revision 6286
Author: jules.a | Date: wtorek, 16 października 2018 21:51:21
- Fixed settings not getting instantly updated causing MSAA sample checkboxes to not be disabled.
Revision 6285
Author: jules.a | Date: wtorek, 16 października 2018 20:24:23
- Clean up interface.
Revision 6284
Author: jules.a | Date: wtorek, 16 października 2018 19:21:25
- Be more specific for VS2017 ignores.
Revision 6283
Author: jules.a | Date: wtorek, 16 października 2018 19:01:45
- Change from "force" to "limit", half sample amount since x16 was pointless and remove some unneeded logic.
Revision 6282
Author: jules.a | Date: wtorek, 16 października 2018 14:39:12
- Initial AntiAliasing Settings.
Revision 6281
Author: rogerman | Date: wtorek, 23 października 2018 09:04:28
- OpenGL Renderer: Improve robustness when changing the MSAA sample size.
Revision 6280
Author: rogerman | Date: poniedziałek, 22 października 2018 22:17:31
- Cocoa Port: Sigh... let's try to fix building this time...
Revision 6279
Author: rogerman | Date: poniedziałek, 22 października 2018 22:01:42
- Cocoa Port: Oops! Fix a compiling issue caused by commit 5d3e53d.
Revision 6278
Author: rogerman | Date: poniedziałek, 22 października 2018 21:33:04
- Cocoa Port: Expose the new user-selectable MSAA sample size feature in the UI that was introduced in commit 94ddf1a.
- - Also add some other future UI-related stuff that was already in-flight at the time of this commit.
Revision 6277
Author: rogerman | Date: poniedziałek, 22 października 2018 20:38:06
- movie.cpp/movie.h: Fix compiling issues for old GCC 4.2, which doesn't allow for variable initialization in C++ class declarations. (Regression from commit e83ec89.)
Revision 6276
Author: rogerman | Date: poniedziałek, 22 października 2018 19:32:16
- OpenGL Renderer: The MSAA sample size is no longer automatically selected and must now be manually selected via GFX3D_Renderer_MultisampleSize.
- - All frontends will need to be updated to use the new GFX3D_Renderer_MultisampleSize setting.
- - This change obsoletes GFX3D_Renderer_Multisample, which currently does nothing at the moment. It will be removed after all frontends are updated.
Revision 6275
Author: rogerman | Date: sobota, 20 października 2018 23:53:49
- matrix.cpp Fix a bug with _Vec3_MultiplyByMatrix() returning an incorrect value on SSE4.1.
Revision 6274
Author: rogerman | Date: sobota, 20 października 2018 01:33:37
- OpenGL Renderer: Fix a bug with the MSAA automatic selector where the MSAA sample size would be selected based on the PREVIOUSLY set framebuffer size, even though the selection should be based on the CURRENTLY set framebuffer size.
Revision 6272
Author: queefersutherland | Date: piątek, 12 października 2018 06:19:39
- added support for joystick axes to lua function, controller.get()
Revision 6271
Author: rogerman | Date: środa, 10 października 2018 00:32:11
- WiFi: Standardize the handling of received packets for both Ad-hoc and Infrastructure modes.
- - Received packets are now queued properly and should no longer be overwritten or lost.
- - Received packets under Ad-hoc mode now use the same transfer delay as Infrastructure mode. (Read one halfword every 8 microseconds.)
- - Received packet transfer delay only works when the emulation level is set to WifiEmulationLevel_Compatibility. Transfer delay can be disabled by setting the emulation level to WifiEmulationLevel_Normal, which will cause the entire received packet to be transferred immediately.
Revision 6270
Author: rogerman | Date: poniedziałek, 8 października 2018 22:50:25
- WiFi: Some more minor code cleanup.
Revision 6269
Author: rogerman | Date: poniedziałek, 8 października 2018 06:02:19
- WiFi: Clean up and refactor some more stuff, mostly related to LLC/SNAP encapsulated 802.11 frames.
Revision 6268
Author: rogerman | Date: niedziela, 7 października 2018 23:35:25
- MMU.cpp: Only report a VCOUNT change if the new value differs from the existing value.
Revision 6267
Author: rogerman | Date: sobota, 6 października 2018 03:31:55
- WiFi: Do a whole bunch of code cleanup, as well as some minor behavioral changes which are listed below.
- - If the WiFi emulation level is Off, then always set POWER_US.Disable = 1.
- - If POWER_US.Disable == 1, then do not trigger any further WiFi actions.
- - The name contained within DeSmuME's frame header has been changed from "NDSWIFI " to "DESMUME ".
- - DeSmuME's frame header size has been increased from 12 bytes to 16 bytes.
- - Baseband data is now set to a default dataset on reset.
- - Baseband data reads/writes now respect the actual R/W behavior of each data byte.
Revision 6265
Author: chris.branch | Date: piątek, 5 października 2018 23:59:06
- Fix undefined behaviour converting 3D postest registers
- If the position test register is negative, conversion to unsigned
- integer is undefined. This breaks games on arm64 where the behaviour is
- defined as 'truncate to zero'. Converting to a signed integer first
- guarantees the intended behaviour.
Revision 6264
Author: zeromus | Date: piątek, 5 października 2018 04:52:31
- Merge branch 'newluastuff'
- fixes #198
- # Conflicts:
- # desmume/ChangeLog
- # desmume/src/Makefile.am
- # desmume/src/OGLRender.cpp
- # desmume/src/OGLRender.h
- # desmume/src/OGLRender_3_2.cpp
- # desmume/src/OGLRender_3_2.h
- # desmume/src/render3D.cpp
- # desmume/src/render3D.h
Revision 6263
Author: zeromus | Date: piątek, 5 października 2018 04:43:21
- add lua apis for raw joystick input (on windows, anyway)
Revision 6262
Author: zeromus | Date: środa, 15 kwietnia 2015 01:42:15
- oops this should probably be tabs
Revision 6261
Author: zeromus | Date: środa, 15 kwietnia 2015 01:41:43
- fix files missing from Makefile.am
Revision 6260
Author: rogerman | Date: środa, 8 kwietnia 2015 00:34:29
- OpenGL Renderer (v0.9.11):
- - Backport changes from r5154 to the 0.9.11 branch.
Revision 6259
Author: zeromus | Date: niedziela, 5 kwietnia 2015 20:35:43
- Merged revision(s) 5152 from trunk/desmume/src:
- fix small mistake in r5121 that whacks all battery saves when making a savestate
- ........
Revision 6258
Author: zeromus | Date: niedziela, 29 marca 2015 11:10:03
- set final revision in changelog
Revision 6257
Author: zeromus | Date: niedziela, 29 marca 2015 11:08:22
- make 0.9.11 release branch
Revision 6256
Author: rogerman | Date: środa, 3 października 2018 10:06:42
- GFX3D: Fix compiling for ports that don't support Lua. (Regression from commit 43fcaf6.)
Revision 6255
Author: zeromus | Date: środa, 3 października 2018 09:18:16
- add "ability to move camera" (aka freelook). it requires use of a lua script to actually control the matrix switcheroo
- re: #130
Revision 6254
Author: zeromus | Date: środa, 3 października 2018 09:13:48
- winport - add some kind of hack to exit the emulator better whenever a lua script is running
Revision 6253
Author: zeromus | Date: środa, 3 października 2018 06:55:51
- winport - don't break build if git isn't found in environment
- fixes #186
Revision 6252
Author: rogerman | Date: środa, 26 września 2018 11:44:39
- Cocoa Port: Sigh... replace the pipe character '|' with a double-dash '--' so that the generated .xcscheme file names won't screw up the file systems of lesser operating systems (cough... Windows... cough).
Revision 6251
Author: rogerman | Date: środa, 26 września 2018 11:26:19
- Cocoa Port: Update all build schemes in "DeSmuME (Latest).xcodeproj" for compatibility with Xcode 10.
Revision 6250
Author: rogerman | Date: sobota, 22 września 2018 22:41:28
- ROMReader.cpp: Fix compiling on non-Windows systems. (Regression from commit 12c9323.)
Revision 6249
Author: zeromus | Date: sobota, 22 września 2018 21:56:02
- winport - minimal work to get wacky characters filenames loading via file menu
- fixes #192
Revision 6248
Author: zeromus | Date: sobota, 22 września 2018 21:55:09
- fix bugs in utf8/utf16 string conversion functions dating back to libretro-common installation
Revision 6247
Author: rogerman | Date: czwartek, 20 września 2018 01:06:39
- GPU: Make the overall functionality of CopyLineExpand() and CopyLineReduce() more complete. Also do some small optimizations to GPUEngineBase::_LineCopy() while I'm at it.
- - GPUEngineBase::_LineCopy() optimizations only apply to 2x, 3x, and 4x scaling.
- - Add SSE2 version of 3x CopyLineExpand() when using ELEMENTSIZE==1.
- - Add SSE2 versions of CopyLineReduce() and add specific 2x/3x/4x versions of CopyLineReduce_*() algorithms.
- - CopyLineExpand() now supports vertical scaling in addition to horizontal scaling.
- - GPU buffers that were previously only cache-aligned are now page-aligned if appropriate.
Revision 6246
Author: rogerman | Date: czwartek, 20 września 2018 00:51:58
- Render3D: Small optimization to scrolling clear images on non-SSE2 systems.
- - Also fix a depth bug for scrolling clear images on SSE2 systems by disabling the SSE2-specific code. This issue will need to be researched at a later date.
Revision 6245
Author: rogerman | Date: sobota, 15 września 2018 23:50:11
- Fix all current build issues for all non-Windows platforms. Truly fixes #191. (Regressions from commit e697391 and commit b8ebe97.)
Revision 6244
Author: zeromus | Date: sobota, 15 września 2018 23:21:06
- fix movie.cpp
Revision 6243
Author: zeromus | Date: sobota, 15 września 2018 22:59:18
- fix posix build error in wifi.h. fixes #191
Revision 6242
Author: zeromus | Date: sobota, 15 września 2018 22:58:10
- fix replay-related posix build error
Revision 6241
Author: zeromus | Date: piątek, 14 września 2018 00:44:47
- Merge pull request #188 from SuuperW/paths
- Paths
Revision 6240
Author: suuperw | Date: piątek, 7 września 2018 23:34:31
- fix commit 910661f
Revision 6239
Author: suuperw | Date: piątek, 7 września 2018 23:24:02
- (Windows) Switch Record WAV to use the same directory as Record AVI.
Revision 6238
Author: suuperw | Date: piątek, 7 września 2018 23:14:00
- (Windows) Save selected WAV path
Revision 6237
Author: suuperw | Date: piątek, 7 września 2018 23:12:54
- (Windows) Properly set ofn.lpstrFile for import/export sav and for recording AVI/WAV
Revision 6236
Author: suuperw | Date: środa, 5 września 2018 07:39:12
- Format code. (mostly fixing indentation)
Revision 6235
Author: suuperw | Date: środa, 5 września 2018 07:27:49
- (Windows) Save and use all config paths.
- Add StateSlots path to avoid losing saved slot states when user manually selects a file to load elsewhere.
Revision 6234
Author: suuperw | Date: wtorek, 4 września 2018 19:14:02
- Support type string in setpath, use new method in several places.
- Make SwitchPath check for all directory delimiters when removing trailing delimiter, remove redundant trailing delimiter logic in CFIRMWARE::GetExternalFilePath().
Revision 6233
Author: suuperw | Date: wtorek, 4 września 2018 18:23:11
- clean up Path::IsPathRooted
Revision 6232
Author: suuperw | Date: wtorek, 4 września 2018 07:26:34
- Move PathInfo method definitions to .cpp file.
Revision 6231
Author: suuperw | Date: poniedziałek, 3 września 2018 13:02:01
- (Windows) Set default path for exporting a save to path.BATTERY (same as importing a save)
Revision 6230
Author: zeromus | Date: piątek, 14 września 2018 00:44:28
- Merge pull request #187 from SuuperW/movies
- Movies
Revision 6229
Author: suuperw | Date: poniedziałek, 3 września 2018 12:42:30
- code cleanup
Revision 6228
Author: suuperw | Date: poniedziałek, 3 września 2018 12:35:05
- Save movie's savestate to a separate file instead of encoding it in the movie file. (This gives significantly faster performance, and will make it easier for the user to edit the starting savestate if need be.)
Revision 6227
Author: suuperw | Date: poniedziałek, 3 września 2018 08:05:41
- Support recording/playing movies starting from a savestate.
Revision 6226
Author: suuperw | Date: niedziela, 2 września 2018 17:52:53
- Add swiFromBios and bootFromFirmware to MovieData.
Revision 6225
Author: suuperw | Date: sobota, 1 września 2018 19:38:39
- Better loading of JIT settings from a movie.
Revision 6224
Author: suuperw | Date: sobota, 1 września 2018 19:34:17
- Alert the user when opening emulation/firmware settings while they are set by a movie.
Revision 6223
Author: suuperw | Date: sobota, 1 września 2018 19:05:21
- When closing or rebooting a ROM, reset emulation settings that were set by a movie.
Revision 6222
Author: suuperw | Date: sobota, 1 września 2018 19:03:31
- bugfix from last commit
Revision 6221
Author: suuperw | Date: sobota, 1 września 2018 18:12:01
- Loading a movie now sets emulation/firmware settings.
Revision 6220
Author: suuperw | Date: sobota, 1 września 2018 06:02:47
- Save jitBlockSize to movie files
Revision 6219
Author: suuperw | Date: sobota, 1 września 2018 04:30:13
- Some more cleanup of movie.cpp LoadFM2
Revision 6218
Author: suuperw | Date: sobota, 1 września 2018 04:13:16
- Rework MovieData::installValue to separate code for each key/value and to avoid using a long if else if chain.
Revision 6217
Author: suuperw | Date: piątek, 31 sierpnia 2018 23:18:21
- Clean up movie.cpp LoadFM2.
Revision 6216
Author: rogerman | Date: czwartek, 13 września 2018 01:54:33
- WiFi: Huge code cleanup and refactor, mostly reworking register handling.
- - Note that functionality should remain practically the same as before. Any actual functional changes are completely unintentional.
Revision 6215
Author: zeromus | Date: czwartek, 30 sierpnia 2018 21:55:13
- Merge pull request #185 from SuuperW/hotkeys
- Hotkeys
Revision 6214
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:27:25
- (Windows) Clean up/combine string tables.
Revision 6213
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:14:44
- (Windows) Add hotkeys for toggling display layers.
Revision 6212
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:01:57
- (Windows) Move TwiddleLayer from main.cpp to display.cpp (prepare for new hotkeys)
Revision 6211
Author: suuperw | Date: czwartek, 30 sierpnia 2018 17:35:29
- (Windows) Add hotkeys for cheat list and toggle cheats.
Revision 6210
Author: suuperw | Date: czwartek, 30 sierpnia 2018 17:34:57
- (Windows) Reorganize some hotkeys code, and move Lua hotkeys to the Tools page.
Revision 6209
Author: suuperw | Date: czwartek, 30 sierpnia 2018 17:34:12
- (Windows) Remove redundant hotkey initializing code.
Revision 6208
Author: zeromus | Date: czwartek, 30 sierpnia 2018 21:53:31
- Merge pull request #181 from SuuperW/cheats
- Cheats
Revision 6207
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:49:11
- Change implementation of moving a cheat in the cheat list. (originally implemented in commit 24cdbf0)
Revision 6206
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:47:56
- Print a message when a cheat code forces the JIT to reset.
Revision 6205
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:47:35
- bugfix (from commit 534cf251)
Revision 6204
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:45:57
- (Windows) Implement Ctrl+A shortcut for cheat list.
Revision 6203
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:45:57
- (Windows) Allow un/checking multiple cheats at once. (#178)
Revision 6202
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:45:56
- (Windows) Allow rearranging of cheats in the cheat list. (Requested by #178)
Revision 6201
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:45:31
- (Windows) Ask the user if they want to save changes to the Cheat list when the dialog's close/X button is clicked, if there are changes to save.
Revision 6200
Author: suuperw | Date: czwartek, 30 sierpnia 2018 18:45:10
- (Windows) Extend last column of Cheats list to fully show max-length descriptions, and shorten window/list view width. (Requested by #178)
Revision 6199
Author: zeromus | Date: wtorek, 28 sierpnia 2018 20:50:27
- Merge pull request #176 from SuuperW/refactor
- Refactor+Bugfixes
Revision 6198
Author: suuperw | Date: wtorek, 21 sierpnia 2018 17:26:11
- fix regression from commit 17c30c48
Revision 6197
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:23:10
- minor cleanup
Revision 6196
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:23:10
- Remove unused flags for display method, and remove OpenGL-specific display flag.
Revision 6195
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:23:10
- fix: DD_DoDisplay would not update the display if resolution had just been changed
Revision 6194
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:23:10
- Fix regression from commit 2acfdbe; setting display method to DDraw HW/SW did not actually set ddraw.systemMemory
Revision 6193
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:23:10
- Fix regression from commit 2acfdbe; the selected display method wasn't checked.
Revision 6192
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:23:09
- Only wait for the display thread if the previous frame was not skipped.
Revision 6191
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:23:09
- Regression fix: Lua functions which draw to the screen work again.
Revision 6190
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:23:09
- more refactoring; created display.cpp and .h files
Revision 6189
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:23:09
- move/refactor OpenGL code
Revision 6188
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:23:09
- Move DirectDraw code to its own .h and .cpp files.
Revision 6187
Author: suuperw | Date: poniedziałek, 20 sierpnia 2018 17:22:42
- Am I doing this right?
Revision 6186
Author: zeromus | Date: piątek, 24 sierpnia 2018 23:53:26
- dont lose toon table when geometry engine is powered off (fixes #179)
Revision 6185
Author: rogerman | Date: piątek, 24 sierpnia 2018 06:50:17
- WiFi: Fix a bug where AdHoc connections would fail to read the socket on non-Windows systems.
Revision 6184
Author: rogerman | Date: czwartek, 23 sierpnia 2018 18:56:23
- Cocoa Port: Fix a bug in Metal display views where the internal V-sync would cause the total frame rate to be divided amongst multiple visible display views.
Revision 6182
Author: rogerman | Date: środa, 22 sierpnia 2018 10:25:52
- Cocoa Port: Rework the auto-frameskip algorithm yet again. It should be more accurate this time.
→ [NDS] DesMuMe x86/x64 0.9.12 SVN6164 17.08.18
Revision 6164
Author: retr0s4ge | Date: piątek, 17 sierpnia 2018 08:04:14
- Merge pull request #175 from retr0s4ge/master
- (Windows Frontend) Add Fullscreen Options And Window Sizing Fixes
Revision 6163
Author: retr0s4ge | Date: czwartek, 16 sierpnia 2018 13:20:26
- (Windows Frontend) Rename "Non-exclusive Mode" option to "Force Windowed Fullscreen"
Revision 6162
Author: retr0s4ge | Date: środa, 15 sierpnia 2018 00:33:22
- (Windows Frontend) Ignore the menu key if the main window has no menu
Revision 6161
Author: retr0s4ge | Date: niedziela, 12 sierpnia 2018 19:58:02
- (Windows Frontend) Fix the bug where cursor is auto-hidden even when over the menu
- Also, changed the time before auto-hiding to 10 seconds.
Revision 6160
Author: retr0s4ge | Date: sobota, 11 sierpnia 2018 16:15:57
- (Windows Frontend) Add Fullscreen Options And Several Window Sizing Fixes
Revision 6159
Author: retr0s4ge | Date: sobota, 11 sierpnia 2018 15:23:50
- Add *.VC.opendb to gitignore
Revision 6158
Author: rogerman | Date: czwartek, 16 sierpnia 2018 08:07:22
- OpenGL Renderer: Use memcmp() to ensure that UploadClearImage() uploads clear image data only when necessary. Significantly improves the performance of games that use clear images.
Revision 6157
Author: rogerman | Date: wtorek, 14 sierpnia 2018 08:33:24
- Cocoa Port: Fix a bug where HID devices would fail to be detected on startup when running on macOS High Sierra.
Revision 6156
Author: rogerman | Date: wtorek, 14 sierpnia 2018 08:32:31
- Cocoa Port: Instead of using a single shared draw timing for all displays, use individualized draw timings for each display.
Revision 6155
Author: rogerman | Date: sobota, 11 sierpnia 2018 22:19:45
- Linux Ports: Now require libpcap for all POSIX builds. (Related to commit 5e67e9c.)
Revision 6154
Author: rogerman | Date: sobota, 11 sierpnia 2018 03:53:00
- Windows Port: Oops! Fix a bug that will cause the app to crash on app exit. (Regression from commit 5e67e9c.)
Revision 6153
Author: rogerman | Date: sobota, 11 sierpnia 2018 03:36:33
- WiFi: Do a big refactor of the client interface code for better code cleanliness, organization, and stability. There are also some minor behavior changes.
- EXPERIMENTAL_WIFI_COMM no longer disables all of the WiFi-related code. Instead, the WiFi code is always enabled and actually running the code is now controlled using WifiHandler::SetEmulationLevel().
- On the Windows port, EXPERIMENTAL_WIFI_COMM no longer hides all of the WiFi options. Instead, it only affects the user's ability to control the WiFi emulation. (Forces the WiFi emulation level to WifiEmulationLevel_Off if EXPERIMENTAL_WIFI_COMM is undefined.)
- The Cocoa port (and probably other POSIX-based ports) should now work better with the WiFi code.
- WiFi comm interfaces no longer initialize only once upon app startup. Instead, they initialize each time the emulator resets, and then uninitialize each time a ROM is unloaded. Now, users no longer have to restart the app in order to apply any changed WiFi settings. Instead, users only need to reset the emulator or load a new ROM.
- Previously, the SoftAP comm interface wouldn't run if libpcap was unavailable or if a network device wasn't found. Now, the SoftAP comm interface will now run without libpcap or a network device, albeit with significantly reduced functionality.
- Previously, saving pcap files required WIFI_LOGGING_LEVEL >= 3. Now, saving pcap files no longer relies on WIFI_LOGGING_LEVEL, instead relying on WIFI_SAVE_PCAP_TO_FILE to enable the functionality.
Revision 6152
Author: rogerman | Date: poniedziałek, 6 sierpnia 2018 19:29:28
- WiFi: Do some minor fixes.
Revision 6151
Author: rogerman | Date: środa, 1 sierpnia 2018 22:46:08
- SoftRasterizer: Fix the animating characters in Customize status screen in Sands of Destruction by emulating a special LEQUAL depth test. (Fixes #41. Special thanks to StapleButter for his insight on this issue.)
Revision 6150
Author: rogerman | Date: środa, 1 sierpnia 2018 06:55:56
- Cocoa Port: Significantly boost the performance of the HQnX and xBRZ Metal shaders.
Revision 6149
Author: zeromus | Date: wtorek, 31 lipca 2018 04:22:49
- revert pointless change to declaration of CommonSettings from 07d7588 (fixes #169)
Revision 6148
Author: rogerman | Date: wtorek, 31 lipca 2018 00:58:48
- WiFi: Initialize wifiEmulationLevel to WifiEmulationLevel_Off on startup.
Revision 6147
Author: retr0s4ge | Date: poniedziałek, 30 lipca 2018 23:48:52
- Merge pull request #166 from retr0s4ge/master
- Implement basic support for multiple WiFi emulation levels
Revision 6146
Author: retr0s4ge | Date: poniedziałek, 30 lipca 2018 06:26:49
- Replace scoped enum used for WifiEmulationLevel with unscoped enum for code compatibility with older compilers.
Revision 6145
Author: retr0s4ge | Date: poniedziałek, 30 lipca 2018 00:17:44
- Implement basic support for multiple WiFi emulation levels
Revision 6144
Author: retr0s4ge | Date: sobota, 28 lipca 2018 05:40:44
Don't emulate wifi unless wifi.emulated flag is set in common settings.
Changes:
- Add wifi.emulated flag to common settings
- Don't emulate wifi unless wifi.emulated is set
- Add a check box in windows frontend to toggle it, and read/write setting from/to ini file.
Revision 6143
Author: rogerman | Date: poniedziałek, 30 lipca 2018 22:50:38
- Cocoa Port: Do another UI bug fix on High Sierra, expanding the NSSegmentedControl element width even further so that all numbers appear as intended in all cases. (Related to commit 4913c0e.)
Revision 6142
Author: rogerman | Date: poniedziałek, 30 lipca 2018 21:10:57
- SoftRasterizer: Fix a bug for Altivec-enabled CPUs that caused multithreaded rendering to fail. (Related to commit 43d3883.)
Revision 6141
Author: rogerman | Date: piątek, 27 lipca 2018 22:18:48
- Cocoa Port: Do a bunch of tweaks and fixes for an upcoming new feature. (Related to commit 932cdd6.)
Revision 6140
Author: rogerman | Date: piątek, 27 lipca 2018 11:10:28
- Cocoa Port: Update the Metal blitter to support Y-flipping of the rendered video frame, matching the same feature that already exists in the OpenGL blitter.
Revision 6139
Author: rogerman | Date: piątek, 27 lipca 2018 10:38:00
- Cocoa Port: Fix a UI bug on macOS High Sierra where the dropdown sheet for configuring an NDS input's turbo pattern would fail to show the numbers in each NSSegmentedControl element.
Revision 6138
Author: zeromus | Date: czwartek, 26 lipca 2018 17:31:30
- set debug colors for DD area filling for new empty areas
Revision 6137
Author: rogerman | Date: czwartek, 26 lipca 2018 05:46:42
- Cocoa Port: When running SoftRasterizer; for every 12 cores that would exist, reserve 1 core for the rest of the system. This should help maintain performance stability.
Revision 6136
Author: rogerman | Date: czwartek, 26 lipca 2018 05:44:30
- SoftRasterizer: Fix a longstanding bug where using a thread count that was not a power-of-two would result in many threads remaining idle.
Revision 6135
Author: rogerman | Date: czwartek, 26 lipca 2018 00:18:36
- SoftRasterizer: Force the number of rendering threads to be a power-of-two since any additional threads that are not power-of-two will be wasted.
Revision 6134
Author: rogerman | Date: środa, 25 lipca 2018 23:19:25
- Cocoa Port: Improve SoftRasterizer multithreading and stabilize multithreaded performance.
- Automatic setting of the SoftRasterizer thread count (the most common use case) now takes into account systems with many CPU cores/hyperthreads. When using Automatic mode, SoftRasterizer will take advantage of more threads on machines like the Mac Pro and iMac Pro.
- Manually assign the thread priorities of the SoftRasterizer threads and other related high-priority threads to better ensure stable performance. Most importantly, the main emulation thread will no longer preempt any SoftRasterizer thread since the main emulation thread has to wait on the results of SoftRasterizer anyways.
- These changes aren't targeted for improving overall performance -- they help stabilize performance so that CPU cycles are used more consistently, which might translate into slightly improved performance, depending on hardware, as a byproduct of doing these changes.
→ [NDS] DesMuMe x86/x64 0.9.12 SVN6133 21.07.18
Revision 6133
Author: zeromus | Date: sobota, 21 lipca 2018 22:27:56
- Merge pull request #159 from SuuperW/display
Revision 6132
Author: suuperw | Date: środa, 18 lipca 2018 21:51:45
- Revert commit 15957ba, and apply backlight effect regardless of whether using DirectDraw or OpenGL.
Revision 6131
Author: suuperw | Date: środa, 18 lipca 2018 19:20:03
- Resize the window when changing the screen gap.
Revision 6130
Author: suuperw | Date: środa, 18 lipca 2018 19:19:33
- Fix issue with resizing the window vertically.
Revision 6129
Author: suuperw | Date: środa, 18 lipca 2018 17:09:59
- Put HUD drawing back to before applying the video filter.
Revision 6128
Author: suuperw | Date: środa, 18 lipca 2018 08:58:56
- Fix bug where OpenGL HUD would be stretched with 90 or 270 degree rotation. (regression from commit 6fc7161)
Revision 6127
Author: suuperw | Date: wtorek, 17 lipca 2018 18:40:05
- Remove use of backlight intensity when using DirectDraw. (previously removed it with OpenGL in commit 6fc7161)
Revision 6126
Author: suuperw | Date: wtorek, 17 lipca 2018 18:38:59
- Scale HUD when using DirectDraw. (fix regression from commit 5906d44)
Revision 6125
Author: suuperw | Date: czwartek, 12 lipca 2018 18:23:23
- Rework HUD rendering with OpenGL.
- -Fixes regression from commit 5906d44 where HUD would appear smaller when using HD scaling. (only fixed with OpenGL for now)
- -Remove use of backlightIntensity for displaying. Fixes bug where screen would appear dark on the first frame after loading a save state. Underlying cause should probably still be fixed, though. (Why would the backlight level affect the display anyway? That setting on the DS is only present because it has its own physical screens and makes no sense here.)
Revision 6124
Author: suuperw | Date: poniedziałek, 9 lipca 2018 18:41:46
- some code cleanup; fix crash on changing to 15 bpp from a higher bpp
Revision 6123
Author: suuperw | Date: niedziela, 8 lipca 2018 18:28:29
- Fix ordering of fonts
Revision 6122
Author: suuperw | Date: piątek, 6 lipca 2018 18:45:38
- Remove the now unused firstTime parameter of DoDisplay.
Revision 6121
Author: suuperw | Date: piątek, 6 lipca 2018 18:45:07
- On Windows, draw HUD before the filter to avoid having to scale it separately. (significant performance boost when using a filter)
Revision 6120
Author: suuperw | Date: piątek, 6 lipca 2018 18:44:11
- Add prefilterWidth/Height
Revision 6119
Author: rogerman | Date: sobota, 21 lipca 2018 03:45:44
- Colorspace Handler: Fix bug where ColorspaceApplyIntensityToBuffer*() would not apply an R/B color swap when requested.
Revision 6118
Author: zeromus | Date: sobota, 21 lipca 2018 00:17:33
- Merge pull request #162 from retr0s4ge/master
- (Windows Frontend) Fix window size increase on startup
Revision 6117
Author: retr0s4ge | Date: sobota, 21 lipca 2018 00:00:54
- (Windows Frontend) Fix window size increase on startup if screen size ratio > 1
- Fix missing division in ScaleScreen function which caused window size to increase on each startup if screen size ratio > 1.
Revision 6116
Author: zeromus | Date: sobota, 14 lipca 2018 04:02:07
- Merge pull request #158 from retr0s4ge/master
- (Windows Frontend) Allow screen resizing in horizontal display layout.
Revision 6115
Author: retr0s4ge | Date: piątek, 13 lipca 2018 16:43:43
- Fill the areas above and below the resized screen with black when using DirectDraw display method.
- This is needed to remove garbage from the window after resizing the screen. OpenGL display method already does this.
Revision 6114
Author: retr0s4ge | Date: piątek, 13 lipca 2018 14:43:02
- Center the resized screen vertically by default and add a check menu setting to change that if required.
Revision 6113
Author: retr0s4ge | Date: czwartek, 12 lipca 2018 00:13:43
- Adjust the aspect ratio of the resized screen to follow the user setting, and modify input scaling accordingly.
Revision 6112
Author: retr0s4ge | Date: poniedziałek, 9 lipca 2018 01:03:35
- (Windows Frontend) Allow screen resizing in horizontal display layout.
- The right hand screen is allowed to be resized in horizontal screen layout to enable the window or full screen display to better utilize the screen area.
- Changes:
- 1- Modify scaling, resizing and update functions to allow for new screen resizing ratio
- 2- Modify touch input scaling (incl. HUD editing) to adapt to different screen sizes
- 3- Add GUI menu for user to select the screen resizing ratio
- 4- Implement saving/loading settings from file similar to other settings
Revision 6111
Author: retr0s4ge | Date: poniedziałek, 9 lipca 2018 01:07:35
- Merge pull request #157 from retr0s4ge/master
- Don't save ethernet packets to pcap files by default.
Revision 6110
Author: retr0s4ge | Date: niedziela, 8 lipca 2018 23:39:14
- Don't save ethernet packets to pcap files by default.
- Save only if the defined WIFI_LOGGING_LEVEL >= 3
Revision 6109
Author: zeromus | Date: piątek, 6 lipca 2018 20:18:14
- fiddle around with movie sram
- re #152
Revision 6108
Author: zeromus | Date: piątek, 6 lipca 2018 19:54:50
- Merge pull request #153 from Salz/pullreq/agg
- revert to agg >= 2.4
Revision 6107
Author: ingo.saitz | Date: czwartek, 5 lipca 2018 11:42:03
- revert to agg >= 2.4
Revision 6106
Author: zeromus | Date: piątek, 6 lipca 2018 19:54:23
- Merge pull request #154 from Salz/pullreq/gdb-stub
- Pullreq/gdb stub
Revision 6105
Author: ingo.saitz | Date: czwartek, 5 lipca 2018 11:28:52
- Fix BaseDriver class
- Commit 7548294333904fba975964fd563980e535f2f160 broke compilation of
- desmume/src/NDSSystem.cpp if DEVELOPER is defined by --enable-gdb-stub
- Needs commit c9ad909a75b0ad89d0bd84829ed536c5ae0ffc93
Revision 6104
Author: ingo.saitz | Date: czwartek, 5 lipca 2018 11:28:46
- fix --enable-gdbstub
Revision 6103
Author: zeromus | Date: piątek, 6 lipca 2018 19:53:40
- Merge pull request #155 from Salz/pullreq/commandline
- Fix CommandLine initialization
Revision 6102
Author: ingo.saitz | Date: czwartek, 5 lipca 2018 11:28:05
- Fix CommandLine initialization
- Commit 7548294333904fba975964fd563980e535f2f160 added _fw_boot and
- _fw_path, need to make sure they are initialized, too.
Revision 6101
Author: zeromus | Date: piątek, 6 lipca 2018 19:52:52
- Merge pull request #152 from SuuperW/master
- Properly handle SRAM while playing movies.
Revision 6100
Author: suuperw | Date: środa, 4 lipca 2018 18:11:57
- Properly handle SRAM when playing movies, with or without starting from SRAM.
Revision 6099
Author: suuperw | Date: niedziela, 1 lipca 2018 19:46:38
- Fix bug where movies starting from sram would crash.
Revision 6098
Author: zeromus | Date: sobota, 30 czerwca 2018 05:57:48
- Merge pull request #150 from retr0s4ge/master
- Add WiFi fix from desmume-reloaded, tweak the wait for display thread added in commit ee8fdeb
Revision 6097
Author: retr0s4ge | Date: piątek, 29 czerwca 2018 14:23:01
- Forcibly wait for the display thread to draw each frame (never skip any frame) ONLY IF the user set frame skip to "0 (never skip)".
- Current implementation causes significant display lag if any magnification filter is used while GPU scaling factor is >1.
Revision 6096
Author: retr0s4ge | Date: piątek, 29 czerwca 2018 09:31:30
- 1- Apply WiFi-ONLY related fixes from desmume-reloaded project by Jackobo Le Chocobo to desmume project (code base 22/06/2018).
- 2-Add required include and define statement to aviout.h to fix build error.
- (cherry picked from commit 470e54e361b2bbdc4a10e905fabd047a1077ffbd)
Revision 6095
Author: zeromus | Date: czwartek, 28 czerwca 2018 18:50:47
- Merge pull request #148 from SuuperW/master
- Do not allow skipping display frames (except in extreme lag).
Revision 6094
Author: suuperw | Date: czwartek, 28 czerwca 2018 18:34:38
- Do not allow skipping display frames (except in extreme lag), so that the user sees every emulated frame and the HUD updates every frame.
Revision 6093
Author: ingo.saitz | Date: środa, 27 czerwca 2018 21:41:02
- Call XInitThreads() in posix frontend
- XInitThreads() is needed in multi-threading X applications when multiple
- threads try to access the Xlib. Add the call to the three frontends in
- posix/ and add the required autoconf-stuff, too.
Revision 6092
Author: zeromus | Date: środa, 27 czerwca 2018 18:59:03
- Merge pull request #147 from SuuperW/master
- Reduce RAM usage
Revision 6091
Author: suuperw | Date: środa, 27 czerwca 2018 18:27:05
- Do not reset buffers when calling SetPrescale with the current scaling values.
Revision 6090
Author: suuperw | Date: środa, 27 czerwca 2018 18:25:48
- Redraw display after changing video filter. (Regression from commit 8622a33.)
Revision 6089
Author: suuperw | Date: środa, 27 czerwca 2018 18:23:36
- Rework buffer size allocations to only allocate as much space as is actually required.
Revision 6088
Author: zeromus | Date: piątek, 15 czerwca 2018 23:48:28
- replace SMLAL_BB and friends with more clear logic that hopefully isnt bugged
- but I couldnt find a game exercising it, so I dont know whether it's correct.
- should fix #139
Revision 6087
Author: zeromus | Date: piątek, 25 maja 2018 17:39:58
- gfx3d - savestate `renderState` along with `state`
- there's really nothing more to it than this. it should have been done from the beginning.
- you wouldn't notice this unless you had a game that stopped rendering 3d, though.
- (re #141)
Revision 6086
Author: rogerman | Date: piątek, 18 maja 2018 06:22:51
- Cocoa Port:
- - Do a bunch of code refactoring and cleanup.
- - Add some new UI for an upcoming new feature.
Revision 6085
Author: rogerman | Date: piątek, 18 maja 2018 05:06:31
- GPU / SoftRasterizer: Fix a build issue for Altivec-enabled code. (Related to commits c41a006 and 43d3883.)
Revision 6084
Author: zeromus | Date: środa, 18 kwietnia 2018 20:14:01
- winport - make it so you can only open one of each disassembler views at a time (reportedly theyre crashy if theres more than one of them open.. seems likely to be the case for any of our tool windows)
Revision 6083
Author: zeromus | Date: piątek, 13 kwietnia 2018 04:48:22
- added /LARGEADDRESSAWARE so we can get more than 6x or 7x scaling in 32bit builds
Revision 6082
Author: rogerman | Date: niedziela, 11 marca 2018 22:13:26
- Colorspace Handler: Fix some bugs in AVX2. (Regression from commit 858b05d. Fixes #131.)
→ [NDS] DesMuMe x86/x64 0.9.12 SVN6081
Revision 6081
Author: rogerman | Date: poniedziałek, 5 marca 2018 21:06:10
- Windows Port: In Sound Settings, under the Interpolation menu, remove the obsolete performance notes, as these options do not actually affect performance. Instead, provide a better description of the effects caused by these options as experienced by the end-user.
Revision 6080
Author: rogerman | Date: poniedziałek, 5 marca 2018 02:39:27
- Windows Port: Related to commit 8d011f8 -- check the flag first to try to avoid the more expensive system calls.
Revision 6079
Author: rogerman | Date: poniedziałek, 5 marca 2018 02:20:21
- OpenGL Renderer: Fix one more possible crash that may occur if the 3D framebuffer is read before the 3D renderer has a chance to render at least once. (Related to commit f8bbbec.)
Revision 6078
Author: rogerman | Date: poniedziałek, 5 marca 2018 02:17:26
- Windows Port: Optimize input handling, reducing CPU usage when the emulator is idle. (Related to commit 8fb0d6d.)
Revision 6077
Author: rogerman | Date: niedziela, 4 marca 2018 05:41:23
- Windows Port: Reduce CPU usage while the emulator is idle.
Revision 6076
Author: rogerman | Date: sobota, 3 marca 2018 00:59:37
- Windows Port: Fix a rare and intermittent bug that could cause the AVI recording to accidentally stop in between AVI segments. (Regression from commit db1a19a.)
Revision 6075
Author: rogerman | Date: piątek, 2 marca 2018 23:00:52
- Windows Port: Do some minor code cleanup related to commit 8763a61.
Revision 6074
Author: rogerman | Date: piątek, 2 marca 2018 22:09:39
- Windows Port: AVI recording now maintains many more frames in memory. Also, the framebuffer color conversion threads and file writing thread are more free running threads.
- These changes help to stabilize the performance of AVI recording, making it less sensitive to sudden changes in disk writing speed.
- The maximum amount of frames maintained in memory will either be 1.5 GB worth or 180 frames (or 3 seconds) worth, whichever is less.
Revision 6073
Author: rogerman | Date: czwartek, 1 marca 2018 17:47:24
- Windows Port: Do a complete code cleanup and refactor of aviout.cpp to use proper C++ objects.
- aviout.cpp now uses Windows-style line-endings instead of Unix-style line-endings.
- AVI segments now fill up much closer to the 2 GB file limit than before.
- Error handling in the file writing thread is much more robust.
Revision 6072
Author: rogerman | Date: poniedziałek, 26 lutego 2018 01:00:31
- Windows Port: When recording AVIs, video framebuffer conversions and file write operations are performed asynchronously with the main thread. This should greatly increase AVI recording performance.
Revision 6071
Author: rogerman | Date: poniedziałek, 19 lutego 2018 21:46:41
- Windows Port: Fix building on Windows. (Regression from commit c7bb41e.)
Revision 6070
Author: rogerman | Date: poniedziałek, 19 lutego 2018 20:43:55
- matrix.cpp: Rework all matrix function parameters for explicit array sizing in order to aid compiler optimization and (hopefully) aid in code readability. Also add SSE4.1 versions for the main matrix functions.
Revision 6069
Author: rogerman | Date: sobota, 17 lutego 2018 05:11:36
- matrix.cpp: Do some more code cleanup.
Revision 6068
Author: rogerman | Date: piątek, 16 lutego 2018 20:59:19
- matrix.cpp: Do a bunch of code cleanup.
Revision 6067
Author: rogerman | Date: wtorek, 13 lutego 2018 23:45:17
- GPU: Add additional basic SIMD-accelerated functions for memset_u16(), memset_u16_fast(), memset_u32(), and memset_u32_fast() for AVX2 and Altivec.
Revision 6066
Author: rogerman | Date: wtorek, 13 lutego 2018 22:54:10
- GPU: If a custom-sized layer is to be rendered first, GPUEngineBase::_TransitionLineNativeToCustom() will do a line clear instead of an upscaled line copy.
- Since this is a very common occurrence in many games, and since doing a clear is faster than doing an upscaled copy, this should give a small performance improvement for the larger framebuffer sizes.
Revision 6065
Author: rogerman | Date: wtorek, 13 lutego 2018 03:03:52
- SoftRasterizer: Framebuffer clears are now accelerated using AVX2 and Altivec.
Revision 6064
Author: rogerman | Date: poniedziałek, 12 lutego 2018 22:42:42
- SoftRasterizer: Oops! Fix a performance regression in SoftRasterizerRenderer_SSE2::ClearUsingValues() where the framebuffer was accidentally being cleared twice. (Regression from commit 7509d46.)
Revision 6063
Author: rogerman | Date: poniedziałek, 12 lutego 2018 20:35:21
- SoftRasterizer: Do some multithreading improvements, and also clean up and refactor RasterizerUnit.
- Completely encapsulate all stray global variables into the SoftRasterizer class where they belong.
- Framebuffer clears are now fully multithreaded, significantly improving clearing performance.
- Doing multithreaded texture loads and vertex calculations now requires a minimum of 2 threads, down from 4 threads.
- The maximum amount of SoftRasterizer threads has been increased from 16 to 32.
Revision 6062
Author: rogerman | Date: wtorek, 6 lutego 2018 05:29:09
- Cocoa Port: Do some minor code cleanup.
Revision 6061
Author: rogerman | Date: niedziela, 4 lutego 2018 22:07:59
- Cocoa Port: Fix a potential deadlock that may occur on emulation reset.
Revision 6060
Author: rogerman | Date: niedziela, 4 lutego 2018 06:59:00
- NDSSystem.cpp: Check for the GPU struct before calling GPUSubsystem::ForceFrameStop() in GameInfo::closeROM().
Revision 6059
Author: rogerman | Date: niedziela, 4 lutego 2018 06:21:54
- Cocoa Port: Metal display views no longer lose visible frames when running multiple display views.
Revision 6058
Author: rogerman | Date: sobota, 3 lutego 2018 20:31:41
- Cocoa Port: Remove and replace the high-overhead NSThread with the lower-overhead pthread_t. Improves video display performance when the frame rate is very high (greater than 600 FPS).
Revision 6057
Author: rogerman | Date: środa, 31 stycznia 2018 01:26:05
- Cocoa Port: Rework triple buffering for Metal display views yet again. This should fix the performance regression introduced in commit a65ceae9 for the larger custom framebuffer sizes.
Revision 6056
Author: zeromus | Date: poniedziałek, 8 stycznia 2018 23:04:11
- Merge pull request #123 from keelimeguy/master
- Windows Port: Adding Pen and Touch support for touch screen devices
Revision 6055
Author: keelin.wheeler | Date: poniedziałek, 8 stycznia 2018 22:37:20
- Windows Port: Adding Pen and Touch support for touch screen devices
Revision 6054
Author: rogerman | Date: środa, 20 grudnia 2017 00:35:20
- Cocoa Port: Fix a bug where Metal display view backing textures weren't updating their custom framebuffer sizes. (Regression from commit 4c01e66.)
Revision 6053
Author: rogerman | Date: wtorek, 19 grudnia 2017 23:33:48
- GPU: Instead of using fixed double-buffered output framebuffers, allow clients to request any number of framebuffer pages between 1 and 8.
- For all non-Cocoa ports, reduce the number of framebuffer pages from 2 to 1, reducing the memory usage for those ports.
- For the Cocoa port, increase the number of framebuffer pages from 2 to 3 in preparation for a new triple-buffered display scheme.
Revision 6052
Author: rogerman | Date: poniedziałek, 18 grudnia 2017 05:35:00
- Cocoa Port: Rework synchronization for Metal display views yet again. It should be a lot better now.
Revision 6051
Author: rogerman | Date: wtorek, 12 grudnia 2017 01:28:42
- Cocoa Port: For Metal display views, be much smarter about how we do synchronization. Should fix the performance issues introduced with commit 26ac91ed.
Revision 6050
Author: rogerman | Date: wtorek, 12 grudnia 2017 01:17:02
- Cocoa Port: Do some minor code cleanup.
Revision 6049
Author: rogerman | Date: piątek, 8 grudnia 2017 20:49:49
- Cocoa Port: Replace all POSIX named semaphores with Mach semaphores and GCD semaphores, which are both faster than POSIX named semaphores.
Revision 6048
Author: rogerman | Date: piątek, 8 grudnia 2017 08:00:28
- Cocoa Port: Remove now obsolete locks from sound functions, since we now call SPU_Emulate_user() in the emulation thread again.
Revision 6047
Author: rogerman | Date: piątek, 8 grudnia 2017 06:01:59
- Cocoa Port: In RunCoreThread(), don’t use a potentially more expensive wait method before doing a cheaper time comparison first.
Revision 6046
Author: rogerman | Date: środa, 6 grudnia 2017 02:13:24
- Cocoa Port: OpenGL display views no longer use glFlush() when rendering for final flush, since glFlush() has been found to not actually be necessary.
Revision 6045
Author: rogerman | Date: wtorek, 5 grudnia 2017 22:43:30
- Cocoa Port: For Metal display views, replace all locks with semaphores, which are the correct synchronization primitive to use here.
- Also change the CocoaDSOutput list lock from a mutex to a rwlock, since testing has shown that there is more thread contention here than I previously thought.
Revision 6044
Author: rogerman | Date: niedziela, 3 grudnia 2017 09:18:30
- Cocoa Port: Improve stability of Metal display views when running CPU-based pixel scalers.
- Also fix a bug where restoring multiple display windows on startup would only have the last display window shown to work properly.
Revision 6043
Author: rogerman | Date: niedziela, 3 grudnia 2017 04:33:08
- Cocoa Port: Have the HUD Settings panel title show the number of the display window that is currently in focus, just like all the other panels.
Revision 6042
Author: rogerman | Date: niedziela, 3 grudnia 2017 00:35:51
- Cocoa Port: Add new HUD item, “Show Execution Speed”, which displays the emulator’s execution speed as a percentage.
Revision 6041
Author: zeromus | Date: piątek, 1 grudnia 2017 08:11:48
- Merge pull request #121 from spiveeworks/master
- Update README.LIN (autogen.sh, dependencies)
Revision 6040
Author: spivee | Date: piątek, 1 grudnia 2017 08:07:11
- Update README.LIN (autogen.sh, dependencies)
- I found these dependencies harder to figure out than usual,
- since I'm used to installing packages with pregenerated `configure` scripts.
- In particular if `glib` is missing then `configure` will generate with unexpanded macros, which is confusing.
- This extra paragraph should be helpful for others.
- Thanks for a great program :)
Revision 6039
Author: rogerman | Date: czwartek, 30 listopada 2017 06:31:39
- Cocoa Port: Stability improvements for Metal display views.
Revision 6038
Author: rogerman | Date: czwartek, 30 listopada 2017 05:02:39
- Cocoa Port: Fix memory leaks with Metal display views.
- Also fix a bug where Metal display views fail on macOS High Sierra if a CPU-based pixel scaler was used.
Revision 6037
Author: rogerman | Date: wtorek, 28 listopada 2017 23:06:34
- Cocoa Port: Restore the ability to use Metal display views on macOS High Sierra.
- Also rework the way the HQnx LUTs are loaded in Metal.
Revision 6036
Author: rogerman | Date: wtorek, 28 listopada 2017 09:53:50
- Cocoa Port: In the Metal framebuffer fetcher, further optimize 18-bit to 32-bit color conversions whenever the master brightness does not need to be applied, which is the most typical use case.
Revision 6035
Author: rogerman | Date: wtorek, 28 listopada 2017 07:53:18
- Cocoa Port: Fix a couple of rare edge-case bugs with Metal display views.
Revision 6034
Author: rogerman | Date: wtorek, 28 listopada 2017 06:17:16
- Cocoa Port: Synchronously force a framebuffer fetch on startup to guarantee that all display windows will appear black.
Revision 6033
Author: rogerman | Date: wtorek, 28 listopada 2017 06:15:26
- Cocoa Port: Fix the Screenshot Capture Tool with running Metal. (Regression from commit f5ead86.)
Revision 6032
Author: rogerman | Date: wtorek, 28 listopada 2017 06:07:14
- GPU: All fields for NDSDisplayInfo should be set consistently relative to the NDSDisplayID, not the GPUEngineID.
- In practice, this should change nothing, since all pointers somehow managed to point to the correct buffer locations. This should be nothing more than a programming consistency and readability improvement.
Revision 6031
Author: zeromus | Date: wtorek, 28 listopada 2017 01:16:40
- winport: add --windowed-fullscreen
Revision 6030
Author: rogerman | Date: piątek, 24 listopada 2017 11:02:05
- OpenGL Renderer: Improve the robustness of error-checking OpenGL drivers.
Revision 6029
Author: rogerman | Date: piątek, 24 listopada 2017 09:28:49
- Linux Port (GTK): Fix OSMesa context creation. (Regression from r4905. Fixes #119.)
- Also do some code cleanup.
Revision 6028
Author: rogerman | Date: czwartek, 23 listopada 2017 02:43:17
- Linux Port (GTK): Remove and replace legacy colorspace handling routines with the new SIMD-optimized colorspace handling routines.
Revision 6027
Author: rogerman | Date: środa, 22 listopada 2017 04:05:11
- Cocoa Port: Signal a fetch at startup, after reading the user defaults for GPU Scaling Factor and GPU Color Depth, in order to guarantee that the client-side fetch buffers will be cleared.
Revision 6026
Author: rogerman | Date: wtorek, 21 listopada 2017 20:17:52
- OpenGL: Maintain one more flag to ensure that textures are always initialized. (Fixes #116.)
Revision 6025
Author: rogerman | Date: wtorek, 21 listopada 2017 08:51:42
- GPU: Properly initialize the newer NDSDisplayInfo fields.
- This has the side-effect of having the Windows port’s display window
- start up with a white screen and HUD showing (if enabled) just like
- before, rather than a black screen and HUD possibly hidden.
Revision 6024
Author: rogerman | Date: wtorek, 21 listopada 2017 06:04:50
- Cocoa Port (OpenEmu Plug-in): Change the video format to 18-bit RGB666, which matches a hardware NDS.
Revision 6023
Author: rogerman | Date: wtorek, 21 listopada 2017 01:39:50
- Core: Change some default settings to use more compatible and true-to-hardware settings.
- GPU Color Depth (from 24-bit to 18-bit), Advanced SPU Logic (from Disabled to Enabled), SPU Interpolation (from Linear to Cosine), Synchronization Mode (from Dual SPU Sync/Async to Synchronous)
- Just like the previous change to the default JIT block size, let the users themselves disable these settings so that they are more aware that they are sacrificing compatibility for speed.
Revision 6022
Author: rogerman | Date: poniedziałek, 20 listopada 2017 23:37:30
- Windows Port: Don't resize the display window after changing GPU Scaling Factor.
- Also remove TCommonSettings.GFX3D_PrescaleHD. It is a useless setting in core because the internal resolution is not limited to integer-multiplied scaling.
- Also fix spelling on the "Maintain Aspect Ratio" menu option.
Revision 6021
Author: rogerman | Date: poniedziałek, 20 listopada 2017 21:57:24
- Core: Change the default max. JIT block size from 100 to 12, since 12 has been tested to be more compatible and safer to use.
- There is only a negligible performance difference between 100 and 12.
- It is better for users to change the JIT block size from 12 to 100
- themselves, since it might make them more aware that they are
- sacrificing compatibility in favor of speed.
Revision 6020
Author: rogerman | Date: poniedziałek, 20 listopada 2017 19:58:27
- Render 3D: Handle RenderFinish() more consistently. Fixes 3D flushing issues when running single-threaded SoftRasterizer.
Revision 6019
Author: rogerman | Date: sobota, 18 listopada 2017 04:18:14
- SoftRasterizer: Tiny optimization to rasterization if a shadow polygon is used, taking advantage of an already existing hint.
Revision 6018
Author: rogerman | Date: piątek, 17 listopada 2017 09:51:10
- Cocoa Port: Fix occasional screen flickering on Metal display views whenever a pixel scaler is used. (Regression from commit 7202fb8.)
Revision 6017
Author: rogerman | Date: czwartek, 16 listopada 2017 09:22:20
- Cocoa Port: Fix a rare race condition that could cause Metal display views to crash if the GPU Scaling Factor very quickly and repeatedly changes.
Revision 6016
Author: rogerman | Date: czwartek, 16 listopada 2017 06:25:21
- Cocoa Port: Try to fix some more synchronization issues in Metal display views.
- Also remove the usage of _rwlockFrame and change it to a simple
- pthread_mutex_t, since CocoaDSDisplay objects no longer have a need for
- a full pthread_rwlock_t.
Revision 6015
Author: rogerman | Date: czwartek, 16 listopada 2017 01:56:14
- Cocoa Port: Remove all fonts from all builds except for SourceSansPro-Bold.
Revision 6014
Author: rogerman | Date: czwartek, 16 listopada 2017 01:44:15
- Cocoa Port: Remove extra underscore to make the .app bundle names consistent with the current naming scheme.
Revision 6013
Author: rogerman | Date: czwartek, 16 listopada 2017 01:35:00
- Cocoa Port: Remove --broken from the "OS X App" Release build target.
- Apparently, the —broken option isn’t available on all versions of git
- describe. Remove it to avoid issues, since it isn’t really necessary.
Revision 6012
Author: rogerman | Date: czwartek, 16 listopada 2017 01:24:19
- Cocoa Port: Update "DeSmuME (Latest).xcodeproj" to reflect the latest build procedures.
- Build artifacts are now created in the source code directory itself
- instead of in DerivedData, just like how Xcode 3 does it.
- Making Profile builds using the “OS X App” build scheme now
- automatically appends the git commit number to the .app bundle name.
Revision 6011
Author: rogerman | Date: środa, 15 listopada 2017 01:11:21
- Cocoa Port (OpenEmu Plug-in): Update the microphone controls to use the latest CocoaDSController standards. Fixes both hardware and software mic modes.
Revision 6010
Author: roger.manuel | Date: wtorek, 14 listopada 2017 20:31:53
- Update .gitignore
Revision 6009
Author: rogerman | Date: wtorek, 14 listopada 2017 03:38:18
- Cocoa Port: Only enable the "Use External Firmware Image" checkbox if the "Use External BIOS Images" checkbox is checked and only if both BIOS images are set.
Revision 6008
Author: rogerman | Date: poniedziałek, 13 listopada 2017 23:43:41
- Windows Port: Fix compiling due to BackupDevice::_info name change. (Regression from commit 0907207.)
Revision 6007
Author: rogerman | Date: poniedziałek, 13 listopada 2017 23:13:09
- mc.cpp: It is now possible for DeSmuME to import its own battery save file format using the new method, BackupDevice::import_dsv().
Revision 6006
Author: rogerman | Date: poniedziałek, 13 listopada 2017 05:24:26
- Cocoa Port: The "File > Import ROM Save File" menu option now pauses the emulation when the NSOpenPanel is up.
- Also disable the "File > Export ROM Save File" menu option when there is no actual file to export.
Revision 6005
Author: rogerman | Date: niedziela, 12 listopada 2017 08:39:44
- Cocoa Port (OpenEmu Plug-in): Update the OpenEmu plug-in to work using the latest version of the SDK.
Revision 6004
Author: rogerman | Date: niedziela, 12 listopada 2017 02:24:10
- Cocoa Port: Don't compile Lua-related files right now. Let's bring them back once there's an actual working prototype of this feature.
Revision 6003
Author: rogerman | Date: niedziela, 12 listopada 2017 01:16:17
- Cocoa Port: As a small optimization, the MTLBuffers used in Metal display views should use MTLResourceCPUCacheModeWriteCombined wherever possible.
Revision 6002
Author: rogerman | Date: piątek, 10 listopada 2017 23:26:29
- Linux Port (CLI and GTK): When building with --enable-hud, fix the segfault on startup that was caused by an uninitialized OSD object. (Fixes #107.)
Revision 6001
Author: rogerman | Date: piątek, 10 listopada 2017 18:43:54
- Render3D: Change the Depth-Equal Test tolerance from +/-512 to +/-255.
- Special thanks to StapleButter for coming to us and informing us of this issue. https://github.com/TASVideos/desmume/commit/47a71941ace946dcbe5524359be596e4701748b8#commitcomment-25533528
- This change does imply that GBATEK got this value wrong. http://problemkaputt.de/gbatek.htm#ds3dpolygonattributes
Revision 6000
Author: rogerman | Date: piątek, 10 listopada 2017 10:31:50
- Cocoa Port: Fix a whole slew of synchronization issues in the entire client display system, hopefully improving stability.
- Of special note, Metal display views aren't allowed to run on macOS High Sierra because of an assert bug in [id newBufferWithBytesNoCopy:length:options:deallocator:] in this particular version of macOS. Note that Metal display views will continue to work with macOS El Capitan and macOS Sierra.
Revision 5999
Author: zeromus | Date: środa, 25 października 2017 17:36:49
- Merge pull request #112 from atsampson/master
- Linux Port: Fix missing semicolon.
Revision 5998
Author: adam.sampson | Date: środa, 25 października 2017 15:40:28
- Linux Port: Fix missing semicolon.
- This was lost in 0869afded6315fb14d2265e8b3872b36ccc3fdce's refactoring.
Revision 5997
Author: rogerman | Date: wtorek, 24 października 2017 18:40:56
- GPU: All GPU settings are now staged. Pending settings are applied only right before the GPU actually renders.
- Of note, initialization of the 3D rendering engine is also staged, where the pending engine is initialized prior to applying the 3D rendering settings. However, only ports that support this behavior will do this. Ports that do not support this behavior will work the same way as before (initialize the 3D engine immediately).
Revision 5996
Author: rogerman | Date: wtorek, 24 października 2017 00:51:39
- Colorspace Handler: Fix some pixel alignment issues in ColorspaceConvertBuffer555XTo888_AVX2() and ColorspaceConvertBuffer888XTo888_AVX2(). (Related to commit 858b05d.)
- Also do some additional optimizations while we're at it.
Revision 5995
Author: rogerman | Date: poniedziałek, 23 października 2017 21:21:42
- Windows Port: AVI RGB888 color conversions are now multithreaded, and are also vectorized for SSSE3 and AVX2. (Fixes #105.)
Revision 5994
Author: rogerman | Date: poniedziałek, 23 października 2017 20:11:49
- Colorspace Handler: Oops! Fix compiling in colorspacehandler_AVX2.cpp. (Related to commit 858b05d. Fixes #111.)
Revision 5993
Author: rogerman | Date: poniedziałek, 23 października 2017 08:31:24
- Colorspace Handler: Fix bug where RB-swapping in ColorspaceConvert555XTo888() would cancel itself out, leaving RB unswapped in all cases. (Related to commit 858b05d.)
Revision 5992
Author: rogerman | Date: poniedziałek, 23 października 2017 07:14:05
- Colorspace Handler: Add new functions for converting 16-bit RGBA5551 and 32-bit RGBA8888 color buffers to 24-bit RGB888.
- Also improve the performance of RGB555-to-RGBA6665 and RGB555-to-RGBA8888 conversions.
Revision 5991
Author: rogerman | Date: poniedziałek, 23 października 2017 07:08:41
- Cocoa Port: Bottom-tier GPUs running an OpenGL display presenter now use faster (but less accurate) shaders for Bicubic B-Spline and Bicubic Michell-Netravali.
Revision 5990
Author: rogerman | Date: piątek, 20 października 2017 23:21:47
- Cocoa Port: Fix bug where touch locations were being improperly calculated on Retina displays. (Regression from commit 059ea51. Fixes #110.)
Revision 5989
Author: rogerman | Date: piątek, 20 października 2017 22:03:03
- Colorspace Handler: Properly maintain the alpha value when applying intensity to an RGBA5551 color buffer.
Revision 5988
Author: rogerman | Date: piątek, 20 października 2017 22:02:06
- Cocoa Port: In the Screenshot Capture Tool, users can now assign the save directory by drag-and-dropping a folder onto the NSTextField.
Revision 5987
Author: rogerman | Date: piątek, 20 października 2017 21:50:48
- Cocoa Port: Enable Lua's ability to use dynamic-linked libraries.
Revision 5986
Author: rogerman | Date: piątek, 20 października 2017 01:11:55
- Render3D: Assume the initial states of the 3D rendering instead of initializing them with CommonSettings. Most notably, assume that _enableTextureDeposterize = false in order to force it to create its buffer later on. Fixes a potential crashing bug whenever Texture Deposterization is enabled. (Regression from commit 15a19ba. Fixes #109.)
Revision 5985
Author: rogerman | Date: czwartek, 19 października 2017 20:06:05
- Cocoa Port: Begin setting up support for LUA.
Revision 5984
Author: rogerman | Date: czwartek, 19 października 2017 00:45:46
- Render3D: All 3D rendering settings are now staged. Pending settings are applied only right before the 3D renderer actually renders.
Revision 5983
Author: rogerman | Date: środa, 18 października 2017 08:31:00
- Linux Port (GTK-Glade): Fix screen drawing for GTK-GL. (Regression from commit f5c9a36.)
Revision 5982
Author: rogerman | Date: środa, 18 października 2017 03:49:05
- GPU: Fix the clear color on big-endian systems when running RGB666 and RGB888.
- Also endian swap the BGnX and BGnY values on big-endian systems. This is a non-functional change, and is only meant to show that the endian swaps are indeed the correct choice for big-endian.
Revision 5981
Author: rogerman | Date: wtorek, 17 października 2017 22:45:55
- Cocoa Port: Fix various presentation issues, focusing mostly on the OpenGL presenter and the Screenshot Capture Tool.
- Changing the display video source now updates the display window properly while the emulator is paused.
- Fix bug in the Screenshot Capture Tool where screenshots would have incorrect colors if taken on a PowerPC Mac.
- Fix bug in the Screenshot Capture Tool where screenshots would be completely black if a CPU-based pixel scaler on OpenGL was used.
- The OpenGL presenter's GPU tiering system has been changed to be more strict. This effectively pushes many older GPUs into lower tiers.
- The following pixel scalers now require at least a Low-Tier GPU (previously only required Bottom-Tier): 2xSaI, Super2xSaI, SuperEagle, HQ3x, HQ3xS, HQ4x, HQ4xS
- The following pixel scalers now require at least a Mid-Tier GPU (previously only required Low-Tier): 2xBRZ, 3xBRZ
- Due to the new changes to the GPU tiering system and allowed pixel scalers per tier, the Screenshot Capture Tool running OpenGL now allows pixel upscaling on the GPU instead of disabling it completely.
Revision 5980
Author: rogerman | Date: wtorek, 17 października 2017 02:38:37
- GFX3D: Fix bug where 3D would fail to render on big-endian systems. (Regression from commit c6a5740.)
Revision 5979
Author: rogerman | Date: wtorek, 17 października 2017 02:03:01
- Cocoa Port: Fix a bunch of HUD coloring issues on PowerPC Macs.
- Also fix a display backlight intensity issue on big-endian systems.
Revision 5978
Author: rogerman | Date: poniedziałek, 16 października 2017 21:11:57
- Cocoa Port: Whenever attempting to take a screenshot using the Screenshot Capture Tool, simply cancel the operation altogether if the target directory does not exist or is not writable.
Revision 5977
Author: rogerman | Date: poniedziałek, 16 października 2017 20:56:24
- Cocoa Port: Fix some issues with the Screenshot Capture Tool.
- Fix potential crashing bug that may occur if the target directory
- isn’t found when clicking the Take Screenshot button.
- In the Display Layout dropdown panel, reposition the Display
- Separation menu to be in the center section instead of in the leftmost
- section.
Revision 5976
Author: rogerman | Date: poniedziałek, 16 października 2017 20:35:49
- Cocoa Port: Change CommandAttributes, now renamed ClientCommandAttributes, to call a C function pointer instead of an Objective-C selector when dispatching its command function.
Revision 5975
Author: zeromus | Date: niedziela, 15 października 2017 23:07:28
- winport-fix some screenshots
Revision 5974
Author: rogerman | Date: niedziela, 15 października 2017 02:29:59
- Cocoa Port: In the Screenshot Capture Tool, allow users to override the default display scale (calculated from GPU Scaling Factor) with their own user-defined display scale.
Revision 5973
Author: rogerman | Date: sobota, 14 października 2017 03:35:05
- OpenGL Renderer: Bring back support for handling the transparent polygon ID check. This fixes many graphical glitches involving transparent polygons in many games. (Regression from r5372. Fixes #74 and fixes #24.)
Revision 5972
Author: rogerman | Date: sobota, 14 października 2017 02:30:00
- GFX3D: Correct some notes about the POLYGON_ATTR Mode attribute.
Revision 5971
Author: rogerman | Date: środa, 11 października 2017 21:45:29
- OpenGL Renderer: Shadow polygons doing the polygon ID check should only update the stencil buffer once instead of twice.
Revision 5970
Author: rogerman | Date: środa, 11 października 2017 02:43:43
- OpenGL Renderer: Fix bug where translucent fragments drawing on top of zero-alpha fragments were not overwriting the destination fragment color as intended. (Regression from commit 2a1aaf7.)
Revision 5969
Author: rogerman | Date: wtorek, 10 października 2017 20:25:16
- OpenGL Renderer: Add true support for the depth-equals test by properly emulating the tolerance value. This fixes many longstanding bugs related to missing polygons, Z-fighting glitches, and other misc. graphical glitches in many games.
Revision 5968
Author: rogerman | Date: poniedziałek, 9 października 2017 23:05:53
- OpenGL Renderer: Reduce the number of stencil bits needed to emulate the shadow volume mask from 2 to 1.
Revision 5967
Author: rogerman | Date: poniedziałek, 9 października 2017 20:05:56
- OpenGL Renderer: The fragment depth calculation now works more like how SoftRasterizer does it.
- Also update some comments in gfx3d.h.
Revision 5966
Author: rogerman | Date: sobota, 7 października 2017 02:13:08
- GFX3D: Rework polygon attributes and texture parameters using the latest coding style. Also improve the performance of SoftRasterizer while we’re at it.
Revision 5965
Author: rogerman | Date: czwartek, 5 października 2017 01:55:08
- GFX3D: Reduce the memory requirement of the vertex lists to one-third of its previous size.
- Has the positive side-effect of improving the OpenGL renderer's performance when many vertices are used.
- Also fix the vertex list double-buffering so that it actually works as intended.
Revision 5964
Author: rogerman | Date: środa, 4 października 2017 09:32:43
- GPU: Fix bug where the backlight intensity would be incorrectly averaged if frameskipping is enabled. (Regression from commit f5c9a36.)
Revision 5963
Author: rogerman | Date: środa, 4 października 2017 08:49:18
- Cocoa Port: Fix a crash and a potential deadlock that may occur when responding to host display changes. (Regression from commit 4957d7b.)
Revision 5962
Author: rogerman | Date: środa, 4 października 2017 02:28:33
- Fix a bug where games would almost always start up with the main screen at low brightness and touch screen completely off. (Regression from commit f5c9a36.)
Revision 5961
Author: rogerman | Date: środa, 4 października 2017 00:16:18
- Linux Port (CLI and GTK-Glade): Add support for rendering the backlight intensity on the CPU-based display methods. (Related to commits f5c9a36 and 74ba49e.)
Revision 5960
Author: rogerman | Date: wtorek, 3 października 2017 23:26:36
- Windows Port: Replace the backlight kludge in the DirectDraw display method with the new ColorspaceApplyIntensityToBuffer32(). (Related to commits f5c9a36, 3a000b6 and 74ba49e.)
- Also fixes a build problem in MSVC. (Regression from commit 74ba49e.)
Revision 5959
Author: rogerman | Date: wtorek, 3 października 2017 22:54:51
- Colorspace Handler: Add dedicated functions ColorspaceApplyIntensityToBuffer16() and ColorspaceApplyIntensityToBuffer32() for applying an RGB intensity value to a framebuffer.
Revision 5958
Author: zeromus | Date: wtorek, 3 października 2017 08:56:59
- Merge pull request #102 from atsampson/master
- Fix broken option list in POSIX frontend
Revision 5957
Author: adam.sampson | Date: wtorek, 3 października 2017 08:52:39
- Fix broken option list in POSIX frontend
- f5c9a36930f1fa0889e89080e210063bee623172 tried to remove an entry from
- the list of options, but only deleted half of it.
Revision 5956
Author: zeromus | Date: poniedziałek, 2 października 2017 21:55:50
- re #59 - abuse accelerated masterbrightness processor to crudely implement LCD backlight for DD display methods
Revision 5955
Author: rogerman | Date: poniedziałek, 2 października 2017 20:39:40
- GPU: NDSDisplayInfo now reports the backlight intensity for each display. The LMNTS demo now properly fades the backlights in and out, but only on frontends that support this feature. (Fixes #59.)
- Note: The backlight intensity is only emulated on frontends with 3D-based display methods, such as OpenGL and Metal. CPU-based display methods, such as DirectDraw, SDL and Cairo, are currently unsupported.
Revision 5954
Author: rogerman | Date: niedziela, 1 października 2017 08:54:05
- Cocoa Port: Vastly improve the ability to take screenshots of the NDS displays.
- The old Tools > Save Screenshot As has been replaced with the new Screenshot Capture Tool.
- The new Screenshot Capture Tool allows screenshots to be configured to render with the same layout features as a display view.
- Screenshot captures now both render and save to file on their own independent threads.
- Screenshots are now captured using the Take Screenshot button, and files are now automatically named based on ROM name and timestamp.
- All of these features means that users can now rapidly take screenshots with their own custom layouts, all with little to no slowdown to the emulation.
- Also do a bunch of code cleanup and refactoring as a side-effect of adding these new features.
Revision 5953
Author: zeromus | Date: piątek, 29 września 2017 21:47:15
- fix #97 - increasing matrix stack cursor size to 6bits caused garbage to get masked into GXSTAT since there had been no &31 to select only the needed 5 bits
Revision 5952
Author: rogerman | Date: wtorek, 26 września 2017 06:21:51
- Cocoa Port: Copying the contents of the display window via Edit > Copy now copies the actual contents of the display window instead of directly copying the NDS screens with a generic vertical layout.
Revision 5951
Author: rogerman | Date: niedziela, 24 września 2017 06:32:34
- OpenGL Renderer: Fix a bug where the behavior of translucent polygons can become undefined if the frame contains nothing but translucent polygons. Fixes a graphical glitch in Grey's intro scene in Mega Man ZX Advent. (Regression from commit 1742114.)
Revision 5950
Author: rogerman | Date: sobota, 23 września 2017 02:25:01
- OpenGL Renderer: Reset the current polygon's OpenGL states to the last opaque polygon whenever the zero-destination-alpha-pass is performed. Fixes a graphical bug in MegaMan ZX Advent, where the explosions from the boss in Grey's first level will render incorrectly. (Regression from commit eea54a7.)
Revision 5949
Author: rogerman | Date: czwartek, 21 września 2017 09:33:28
- Cocoa Port: Refactor the hardware mic stuff out of CocoaDSController and into ClientInputHandler.
Revision 5948
Author: rogerman | Date: środa, 20 września 2017 02:47:48
- OpenGL Renderer: Fix possible crash that may occur if the 3D framebuffer is used before the 3D renderer has a chance to render at least once. (Partially addresses #59.)
Revision 5947
Author: rogerman | Date: środa, 20 września 2017 00:49:22
- Cocoa Port: Fix bug where the ROMInfoPanel was misaligning the locations of info sections.
Revision 5946
Author: rogerman | Date: wtorek, 19 września 2017 23:47:55
- Cocoa Port: Better guarantee that display views will always be assigned a display ID.
Revision 5945
Author: rogerman | Date: wtorek, 19 września 2017 21:59:44
- Cocoa Port: Give user feedback for when the emulation gets halted internally.
- Also be more consistent when recovering from an internal emulation halt.
- Also apply enabling the external BIOS, external firmware and firmware boot settings at load/reset time instead of at frame time.
Revision 5944
Author: zeromus | Date: niedziela, 17 września 2017 11:05:17
- fix bug in sthread_isself (fixes #34)
Revision 5943
Author: zeromus | Date: niedziela, 17 września 2017 11:02:14
- update rthreads.c from upstream
Revision 5942
Author: rogerman | Date: niedziela, 17 września 2017 03:08:07
- Cocoa Port: Reduce threading overhead for framebuffer fetches and SPU_Emulate_user().
- Framebuffer fetches no longer run on a CocoaDSThread, but instead uses a pthread directly. This can be done since framebuffer fetching only serves one function and always receives the same execution message, making a full CocoaDSThread a waste.
- SPU_Emulate_user() is no longer called on a separate thread, and instead is called in the emulation thread directly. For the typical SPU use case (SPU Sound Synchronization w/ Advanced SPU Logic), SPU_Emulator_user() becomes negligible, and so the threading overhead becomes unnecessary. In the use case where Dual SPU Synch/Asynch is used, Advanced SPU Logic is almost always disabled with it, and so the penalty of calling SPU_Emulator_user() on the emulation thread will be more than compensated by the performance increase of turning off Advanced SPU Logic.
- Also do some code cleanup/refactoring here and there.
Revision 5941
Author: rogerman | Date: sobota, 16 września 2017 11:36:22
- Cocoa Port: Remove some extraneous properties from DisplayWindowController since these same properties are handled elsewhere.
Revision 5940
Author: rogerman | Date: sobota, 16 września 2017 09:13:52
- Cocoa Port: Rework how Metal display views flush to screen, improving their overall performance.
- Fix a bug where Metal display views can block emulation execution if the user very quickly spams inputs while the input HUD is shown.
- Metal display views are no longer frame capped -- they can now run to their fullest performance potential, as fast as the host hardware will allow. This behavior is now consistent with OpenGL display views.
- As a side-effect, non-layer backed OpenGL display views also have a performance improvement.
Revision 5939
Author: zeromus | Date: piątek, 15 września 2017 16:57:16
- handle powered-off geometry engine more sensibly. involves commit 66b5da1c and issue #31, intended to fix ZX advent. fixes #58.
Revision 5938
Author: rogerman | Date: środa, 13 września 2017 23:48:19
- Cocoa Port: Create new DisplayView objects in code instead of creating them implicitly through the nib.
Revision 5937
Author: rogerman | Date: wtorek, 12 września 2017 09:50:57
- Cocoa Port: For Metal display views, in -renderDrawable, separate buffer updates from encoding commands in an effort to try to reduce the hold time on the vended drawable as much as possible.
Revision 5936
Author: rogerman | Date: wtorek, 12 września 2017 08:32:30
- Cocoa Port: Refactor out more input-related stuff into some new files -- ClientInputHandler.cpp/.h.
Revision 5935
Author: rogerman | Date: wtorek, 12 września 2017 00:26:37
- Cocoa Port: Do some refactoring to remove extraneous connections in EmuControllerDelegate.
Revision 5934
Author: rogerman | Date: poniedziałek, 11 września 2017 18:41:54
- Cocoa Port: Add support for reporting inputs in the HUD.
- Also do a bunch of code refactoring.
Revision 5933
Author: rogerman | Date: sobota, 9 września 2017 22:00:35
- vfat.cpp: Silence a couple of compiler warnings.
Revision 5932
Author: rogerman | Date: wtorek, 5 września 2017 22:12:31
- Cocoa Port: NEW FEATURE - Users can now apply custom colors to individual HUD line items.
Revision 5931
Author: rogerman | Date: poniedziałek, 4 września 2017 18:54:35
- Cocoa Port: Additional tweaks to the new turbo settings UI. (Related to commit af22153.)
Revision 5930
Author: rogerman | Date: poniedziałek, 4 września 2017 18:33:11
- Cocoa Port: NEW FEATURE - Add the ability to set up custom frame-by-frame press/release state patterns for turbo.
Revision 5929
Author: rogerman | Date: poniedziałek, 4 września 2017 17:09:48
- Cocoa Port: Fix UI issue where status bar on display windows would no longer show the mic gain control. (Regression from commit 3bf295f.)
Revision 5928
Author: rogerman | Date: niedziela, 3 września 2017 23:25:25
- Cocoa Port: Fix UI issue where the Input Preferences window may not be automatically assigned as the first responder. (Regression from commit 1e9b179.)
Revision 5927
Author: rogerman | Date: sobota, 2 września 2017 01:38:06
- Cocoa Port: Retrieve both pending and applied NDS inputs post-NDSExec().
- Also do some minor code cleanup on some input-related stuff.
Revision 5926
Author: rogerman | Date: piątek, 1 września 2017 09:33:54
- Cocoa Port: Do some refactoring on reading the client-side inputs.
- Also make calculating the mic level average more efficient, as well
- as updating the mic level average every 8th frame instead of every
- frame.
Revision 5925
Author: roger.manuel | Date: czwartek, 31 sierpnia 2017 10:16:40
- Merge pull request #94 from atsampson/master
- Update remaining stub versions of mic_savestate/loadstate. Fixes #95.
Revision 5924
Author: adam.sampson | Date: sobota, 26 sierpnia 2017 16:32:14
- Update remaining stub versions of mic_savestate/loadstate.
- 11cf901336d77574e0f2c3482e130e05fa5f03e4 changed most of these but
- missed these three.
Revision 5923
Author: zeromus | Date: czwartek, 31 sierpnia 2017 02:09:04
- use more realistic mechanism for perspective correct interpolation
Revision 5922
Author: rogerman | Date: czwartek, 31 sierpnia 2017 00:34:58
- Cocoa Port: Synchronize access to ClientDisplayView._hudString.
Revision 5921
Author: rogerman | Date: czwartek, 31 sierpnia 2017 00:34:58
- Cocoa Port: Synchronize access to ClientDisplayView._hudString.
Revision 5920
Author: rogerman | Date: czwartek, 31 sierpnia 2017 00:20:08
- Cocoa Port: Continue refactoring cocoa_core.mm.
- Also fix a small off-by-one error in slot1_Change().
Revision 5919
Author: rogerman | Date: środa, 30 sierpnia 2017 02:16:19
- Cocoa Port: Report newer options in the Support Requests and Bug Reports pages to reflect the current feature set.
- Also update the URL for the Bug Report webpage from sourceforge.net
- to github.com.
Revision 5918
Author: rogerman | Date: środa, 30 sierpnia 2017 00:14:24
- Cocoa Port: Continue refactoring the emulation execution loop code to be less port-dependent.
Revision 5917
Author: rogerman | Date: wtorek, 29 sierpnia 2017 04:36:55
- Cocoa Port: Fix bug where Lion-style full screen failed to work on OS X Mavericks and Yosemite.
Revision 5916
Author: rogerman | Date: wtorek, 29 sierpnia 2017 02:30:19
- Cocoa Port: Begin refactoring some of the emulation execution loop code to be less port-dependent.
- Also clean up some UI code with switching app preferences views when
- running OS X Leopard.
Revision 5915
Author: rogerman | Date: niedziela, 27 sierpnia 2017 23:07:13
- OpenGL Renderer: When running a GPU Scaling Factor of 3x and 4x, increase the MSAA sample size limit from 8xMSAA to 16xMSAA.
Revision 5914
Author: rogerman | Date: niedziela, 27 sierpnia 2017 07:41:53
- OpenGL Renderer: Make the MSAA sample size limit based on the framebuffer size instead of being fixed at 8xMSAA.
- The MSAA sample size limit is now based on the following sizes:
- 1x Native Resolution - 32xMSAA
- 2x Native Resolution - 16xMSAA
- 3x-8x Native Resolution - 8xMSAA
- 9x and greater Native Resolution - 4xMSAA
Revision 5913
Author: rogerman | Date: sobota, 26 sierpnia 2017 03:53:07
- Windows Port: Increase the maximum GPU Scaling Factor from 5x to 16x. (This should be safe on the vast majority of GPUs out there, but if we find out that this ends up being unsupported on many GPUs, the max scaling factor may have to be reduced back to 5x. This will need additional testing.)
- Also do some minor code cleanup here and there.
Revision 5912
Author: rogerman | Date: piątek, 25 sierpnia 2017 00:28:46
- Windows Port: Fix compiling on Windows. (Regression from commit 11cf901.)
Revision 5911
Author: rogerman | Date: piątek, 25 sierpnia 2017 00:14:25
- Major code cleanup across the board, mostly involving interactions with EMUFILE.
- Function/method parameters for EMUFILE objects are now passed by
- reference instead of passed by pointers, where appropriate. This is
- true for the vast majority of EMUFILE usage.
- Eliminate duplicate little-endian read/write functions in
- readwrite.cpp. Use the equivalent methods in EMUFILE instead.
- Completely standardize the design patterns and usage of the various
- little-endian read/write methods. Should help stabilize interactions
- with save state files, as well as try to make save states
- cross-compatible between big-endian and little-endian systems.
- Replace EMUFILE fread()/fwrite()/fputc() calls with equivalent
- size-specific methods where applicable.
- Misc. code readability and stability improvements.
Revision 5910
Author: rogerman | Date: środa, 23 sierpnia 2017 11:37:37
- Cocoa Port: Minor tweaks to some UI elements to eliminate some build warnings.
Revision 5909
Author: rogerman | Date: środa, 23 sierpnia 2017 10:47:44
- Cocoa Port: Change InfoPlist.strings format from UTF-16LE to UTF-8.
- Also add macosx_10_5_compat.cpp back into the normal OS X build of
- the Xcode Latest project. It’s still needed for compatibility on OS X
- 10.5 Leopard for x86/x86-64. (Don’t know how this got disabled — it
- just somehow mysteriously did.)
Revision 5908
Author: rogerman | Date: środa, 23 sierpnia 2017 06:31:28
- Cocoa Port: Do some minor code cleanup.
Revision 5907
Author: rogerman | Date: środa, 23 sierpnia 2017 00:50:03
- Colorspace Handler: Fix more RGBA8888 and RGBA6665 conversions for Altivec.
Revision 5906
Author: rogerman | Date: wtorek, 22 sierpnia 2017 22:57:12
- Cocoa Port: Tiny code consistency change.
Revision 5905
Author: rogerman | Date: wtorek, 22 sierpnia 2017 04:31:41
- GPU: Clean up and optimize the BG mosaic code.
Revision 5904
Author: rogerman | Date: poniedziałek, 21 sierpnia 2017 17:23:12
- GPU: When calculating the VRAM pixel location using MMU_gpu_map(), replace division and mod instructions with bitshift and bitwise AND instructions. Should help older compilers that don't know how to optimize the division/mod instructions into bitshift/bitwise AND instructions.
Revision 5903
Author: rogerman | Date: niedziela, 20 sierpnia 2017 05:21:09
- GPU: Try to clean up GPUEngineBase::_SpriteRenderPerform() a little bit.
Revision 5902
Author: rogerman | Date: sobota, 19 sierpnia 2017 21:07:48
- GPU: Be consistent with how we apply the sprite window flags.
- Now applies the sprite window flags consistently between rotozoomed
- and non-rotozoomed modes.
- Applying the sprite window flags in rotozoomed modes now ignores
- sprite priority as intended.
Revision 5901
Author: rogerman | Date: sobota, 19 sierpnia 2017 20:42:06
- GPU: When compositing a sprite, remove the color effect enable test so that the enable test and the OBJ translucency test don't conflict whenever window testing is also enabled. Fixes the portal-in-the-horizon scene in Pokemon Mystery Dungeon: Explorers of Sky. (Fixes #92.)
- Also rename some variables for better code clarity.
Revision 5900
Author: rogerman | Date: sobota, 19 sierpnia 2017 20:04:45
- GPU.cpp/.h: Revert back to using Unix-style line-endings instead of Windows-style line-endings.
Revision 5899
Author: zeromus | Date: sobota, 19 sierpnia 2017 05:44:56
- gpu - clean up sprite window rendering so it isn't a separate codepath but rather is identical to regular character OBJ until the very end. may fix subtle bugs, may do nothing, but it's cleaner now anyway
Revision 5898
Author: rogerman | Date: czwartek, 17 sierpnia 2017 10:05:08
- OpenGL Renderer: Fix one more compiling issue on Windows 32-bit.
Revision 5897
Author: rogerman | Date: czwartek, 17 sierpnia 2017 09:51:30
- OpenGL Renderer: The zero-dst-alpha-fragment pass for edge marking now works the same as the one for rendering the main geometry.
- Also fix a compiling issue in the Windows build. (Regression from
- commit 6acf781.)
- Also fix an issue in the zero-dst-alpha-fragment pass while running
- MSAA in legacy OpenGL. (Related to commit 6acf781.)
Revision 5896
Author: rogerman | Date: czwartek, 17 sierpnia 2017 07:27:38
- OpenGL Renderer: Translucent fragments now correctly overwrite zero-alpha destination fragments when running MSAA. (Related to commit 3b354a0.)
Revision 5895
Author: rogerman | Date: wtorek, 15 sierpnia 2017 06:43:28
- GPU: Rename some stuff for better clarity.
Revision 5894
Author: rogerman | Date: wtorek, 15 sierpnia 2017 01:37:56
- GPU: Remove some assumptions with how OBJ layers will read custom VRAM, instead assigning the read location on a per-line basis based on the isLineCaptureNative flag. Fixes screen flickering in Kingdom Hearts: 358/2 Days.
Revision 5893
Author: rogerman | Date: niedziela, 13 sierpnia 2017 08:04:53
- Cocoa Port: New feature - The Main and Touch displays can now be individually assigned the engine that feeds them video. This can be done on a per-display window basis.
Revision 5892
Author: rogerman | Date: wtorek, 8 sierpnia 2017 21:33:19
- OpenGL Renderer: Use backface culling for whole-framebuffer processing steps.
- Also tidy a few things here and there.
Revision 5891
Author: rogerman | Date: wtorek, 8 sierpnia 2017 03:23:44
- Colorspace Handler: Altivec conversion functions no longer use vec_splat*(), but instead use literals directly. Fixes compiling for ppc64 systems.
Revision 5890
Author: rogerman | Date: wtorek, 8 sierpnia 2017 02:50:24
- Cocoa Port: Tidy and tighten up the spacing of certain UI elements.
Revision 5889
Author: rogerman | Date: wtorek, 8 sierpnia 2017 00:47:04
- Cocoa Port: Fix a few more coloring issues on PowerPC Macs.
Revision 5888
Author: rogerman | Date: poniedziałek, 7 sierpnia 2017 21:56:46
- Cocoa Port: When the OpenGL blitter uses CPU-based pixel upscaling, framebuffer fetches no longer swap R and B colors.
- Also silence a compiler warning in DisplayWindowController.h.
Revision 5887
Author: rogerman | Date: poniedziałek, 7 sierpnia 2017 21:53:21
- Colorspace Handler: When SWAP_RB is true, ColorspaceConvert555To8888_AltiVec() and ColorspaceConvert555To6665_AltiVec() will now swap R and B colors as intended.
Revision 5886
Author: rogerman | Date: poniedziałek, 7 sierpnia 2017 21:51:50
- NDSSystem.cpp: Fix bug where certain inputs would fail to work on big-endian systems. (Regression from commit bcc7421.)
Revision 5885
Author: rogerman | Date: niedziela, 6 sierpnia 2017 07:45:38
- Fix some graphical bugs on big-endian systems. (Regressions from commits f8d129b and f97283e.)
Revision 5884
Author: rogerman | Date: sobota, 5 sierpnia 2017 23:07:56
- cheatSystem.cpp: Fix compiling on non-x86 systems.
Revision 5883
Author: rogerman | Date: sobota, 5 sierpnia 2017 22:55:28
- Cocoa Port: Fix compiling issues when building using Xcode 3.
Revision 5882
Author: rogerman | Date: sobota, 5 sierpnia 2017 01:54:51
- OpenGL Renderer: Fix longstanding blending bug where zero-alpha destination fragments were being blended with instead of being overwritten. This fixes certain coloring bugs in many games. (Does not currently work with MSAA.)
Revision 5881
Author: rogerman | Date: piątek, 4 sierpnia 2017 20:49:50
- OpenGL Renderer: Do some minor code cleanup.
Revision 5880
Author: rogerman | Date: piątek, 4 sierpnia 2017 20:25:06
- OpenGL Renderer: Be a little more precise when doing polygon comparisons between opaque and translucent drawing modes. (Related to commit 5aeed21.)
Revision 5879
Author: rogerman | Date: piątek, 4 sierpnia 2017 00:53:04
- OpenGL Renderer: Fix bug where edge mark and fog would fail if MSAA is used. (Regression from commit fd5d882.)
Revision 5878
Author: zeromus | Date: czwartek, 3 sierpnia 2017 23:45:31
- Merge pull request #87 from edbird/README_LIN_update
- edited README.LIN
Revision 5877
Author: edbird | Date: czwartek, 3 sierpnia 2017 19:55:56
- edited README.LIN
Revision 5876
Author: rogerman | Date: czwartek, 3 sierpnia 2017 09:08:08
- OpenGL Renderer: Maintain the continuity of polygon comparisons when transitioning between 'opaque polygon drawing mode' and 'translucent polygon drawing mode'. Fixes #85. (Regression from commit 1ff91b7.)
Revision 5875
Author: rogerman | Date: czwartek, 3 sierpnia 2017 00:12:40
- OpenGL Renderer: Fix 3D rendering for builds using an an MSVC compiler. Fixes #81. (Regression from commit 1ff91b7.)
Revision 5874
Author: rogerman | Date: środa, 2 sierpnia 2017 09:57:59
- OpenGL Renderer: The RenderGeometry() polygon drawing loop is now splits up the drawing of opaque polygons and transparent polygons.
Revision 5873
Author: rogerman | Date: wtorek, 1 sierpnia 2017 22:02:50
- OpenGL Renderer: Do some minor code cleanup.
Revision 5872
Author: rogerman | Date: wtorek, 1 sierpnia 2017 05:37:20
- OpenGL Renderer: Remove the working depth buffers, and read the default depth/stencil buffer directly.
Revision 5871
Author: rogerman | Date: poniedziałek, 31 lipca 2017 16:03:27
- OpenGL Renderer: Fix bug where rendering will fail for GPU drivers that support FBOs, but not Multisampled FBOs. (Regression from commit 5deec25.)
Revision 5870
Author: rogerman | Date: poniedziałek, 31 lipca 2017 15:56:16
- GPU: Fix pixel alignment bug when the framebuffer is 3x sized, running on an SSE2 system. (Regression from commit 062c0ad.)
Revision 5869
Author: rogerman | Date: poniedziałek, 31 lipca 2017 14:11:37
- OpenGL Renderer: Bring back OpenGLRenderer_2_0::InitFinalRenderStates(), fixing blending for the v3.2 renderer. (Regression from commit 8c37d4a.)
Revision 5868
Author: zeromus | Date: poniedziałek, 31 lipca 2017 01:15:59
- Merge pull request #80 from heftig/master
- include string.h in all colorspacehandler implementations
Revision 5867
Author: jan.alexander.steffens..heftig. | Date: poniedziałek, 31 lipca 2017 01:10:19
- include string.h in all colorspacehandler implementations
Revision 5866
Author: zeromus | Date: niedziela, 30 lipca 2017 18:51:17
- include string.h for memcpy. fixes #79
Revision 5865
Author: rogerman | Date: niedziela, 30 lipca 2017 05:34:32
- OpenGL Renderer: Oops! Fix a bug where shaders would fail to work in legacy OpenGL, even when they are actually supported. (Regression from commit 8c37d4a.)
Revision 5864
Author: rogerman | Date: niedziela, 30 lipca 2017 04:39:21
- OpenGL Renderer: Lower host GPU requirements for performing on-GPU final framebuffer conversions.
- Framebuffer conversion now occurs purely in shaders, and also
- performs flipping along with conversion. FBOs and PBOs are no longer
- required to do this.
- If shaders are not available, then framebuffer flipping will occur if
- FBOs are available. PBOs are no longer required to do this.
- Also fix a minor framebuffer attachment bug in the v3.2 renderer.
Revision 5863
Author: rogerman | Date: niedziela, 30 lipca 2017 02:47:53
- OpenGL Renderer: Eliminate two extraneous framebuffers, especially saving VRAM at the larger custom framebuffer sizes.
Revision 5862
Author: zeromus | Date: sobota, 29 lipca 2017 23:45:22
- winport (aviout) - fix stuff
Revision 5861
Author: zeromus | Date: sobota, 29 lipca 2017 20:48:01
- winport (aviout) - make output end with less bugs when the disk is full
Revision 5860
Author: zeromus | Date: sobota, 29 lipca 2017 20:46:45
- winport (aviout) - fix regressions in multipart naming; fix spurious "avi recording ended" message
Revision 5859
Author: rogerman | Date: sobota, 29 lipca 2017 03:41:49
- OpenGL Renderer: _FlushFramebufferFlipAndConvertOnCPU() now handles all 4 possible permutations of frame buffer flipping and color conversion.
- Also remove OpenGLRenderer_2_1::ReadBackPixels().
Revision 5858
Author: rogerman | Date: piątek, 28 lipca 2017 20:22:34
- OpenGL Renderer: Remove extraneous OpenGL v1.x classes, and do more aggressive capabilities checks on init.
- Keep OpenGLRenderer_1_2 as the sole OpenGL v1.x class, and then
- remove the following classes: OpenGLRenderer_1_3, OpenGLRenderer_1_4,
- OpenGLRenderer_1_5.
Revision 5857
Author: rogerman | Date: piątek, 28 lipca 2017 07:45:03
- Colorspace Handler: Fix the RGBA5551 color swapping lookup table. (Related to commit 8600466.)
Revision 5856
Author: rogerman | Date: piątek, 28 lipca 2017 07:04:42
- OpenGL Renderer: Standardize 32-bit color red-blue swapping in OpenGLRenderer::_FlushFramebufferConvertOnCPU().
Revision 5855
Author: zeromus | Date: piątek, 28 lipca 2017 05:16:15
- winport - fix avi segmenting (especially or exclusively when dumping with HD)
Revision 5854
Author: rogerman | Date: czwartek, 27 lipca 2017 08:21:05
- OpenGL Renderer: Fix more possible red-blue color swapping issues in legacy OpenGL when the output color format is RGB888.
Revision 5853
Author: rogerman | Date: czwartek, 27 lipca 2017 07:57:07
- Colorspace Handler: Fix ColorspaceConvert8888To6665_SSE2() for the SSE2 code path.
Revision 5852
Author: zeromus | Date: czwartek, 27 lipca 2017 06:48:50
- action replay - attempt to avoid running off the end of cheat codes and crashing in case of invalid codes (fixes #78)
Revision 5851
Author: zeromus | Date: czwartek, 27 lipca 2017 06:13:01
- winport - fix RGB/BGR of OSD rendering (all bpp's)
Revision 5850
Author: zeromus | Date: czwartek, 27 lipca 2017 06:02:02
- winport - fix crash making PNG screenshots
Revision 5849
Author: rogerman | Date: czwartek, 27 lipca 2017 00:42:30
- OpenGL Renderer: Try and fix some recent issues with legacy OpenGL.
Revision 5848
Author: zeromus | Date: wtorek, 25 lipca 2017 20:06:54
- winport: fix some RGB/BGR orders in various displaymethod/gpu_bpp configurations. fixes #77
Revision 5847
Author: rogerman | Date: wtorek, 25 lipca 2017 19:43:20
- GPU: When rendering at custom framebuffer sizes, initialize the deferred index buffer per layer so that previous layers won't corrupt the current layer. Fixes the score screen in Sonic Rush.
- Also do some minor code cleanup in
- GPUEngineBase::_RenderPixelsCustom().
Revision 5846
Author: rogerman | Date: wtorek, 25 lipca 2017 08:35:40
- GPU: Unify line copying routines, and also make SSSE3-enhanced integer-scaled copying more available.
Revision 5845
Author: rogerman | Date: poniedziałek, 24 lipca 2017 22:57:44
- GPU: Do some code cleanup.
Revision 5844
Author: rogerman | Date: poniedziałek, 24 lipca 2017 22:33:03
- Colorspace Handler: Fix pixel alignment bug in _ConvertColorBaseTo5551_AVX2(). (Related to commit de4f1c9.)
Revision 5843
Author: zeromus | Date: poniedziałek, 24 lipca 2017 20:47:30
- winport - support 15bpp as well
Revision 5842
Author: zeromus | Date: poniedziałek, 24 lipca 2017 04:30:00
- winport - make 3d settings organization match cocoa UI's, and expose choice of 24/18 bpp GPU
Revision 5841
Author: zeromus | Date: poniedziałek, 24 lipca 2017 04:29:36
- just a comment
Revision 5840
Author: zeromus | Date: poniedziałek, 24 lipca 2017 04:29:24
- gpu - small refinements to BPP-setting interfaces
Revision 5839
Author: zeromus | Date: poniedziałek, 24 lipca 2017 03:42:27
- winport - fix screenshot, aviout bugs due to 888 colorspace change
Revision 5838
Author: zeromus | Date: poniedziałek, 24 lipca 2017 03:42:27
- libretro-common rbmp - add support for y-flipping
Revision 5837
Author: zeromus | Date: poniedziałek, 24 lipca 2017 03:42:27
- update libretro-common rbmp
Revision 5836
Author: zeromus | Date: poniedziałek, 24 lipca 2017 03:42:27
- Revert "Revert "winport: use 666 color". Now I know how to do it... but it wasn't 100% ready anyway, and it breaks avi/screenshot, so let's wait and fix those when the 666 color is finally 100% done."
- This reverts commit 50390c6f4f2759599548f22e1b8c0df52cc31296.
Revision 5835
Author: rogerman | Date: sobota, 22 lipca 2017 22:00:15
- GPU: Add fast compositing paths for BrightnessUp/BrightnessDown color effects.
Revision 5834
Author: rogerman | Date: sobota, 22 lipca 2017 00:49:01
- GPU: Unify the GPUEngineBase::_PixelEffect*() functions.
Revision 5833
Author: rogerman | Date: piątek, 21 lipca 2017 21:49:57
- GPU: For native-sized captures, always read from native VRAM -- never from custom VRAM. Should make captures a little faster when running a custom framebuffer and/or using RGB888 color format.
Revision 5832
Author: rogerman | Date: piątek, 21 lipca 2017 18:51:13
- GPU: Fix bug where sprite blending would no longer work. (Regression from commit 624dd57.)
Revision 5831
Author: rogerman | Date: piątek, 21 lipca 2017 08:45:41
- GPU: Another significant performance improvement to GPU compositing in many games.
- Now composites pixels using explicit functions for simple copy,
- masked copy, and masked effect.
- On SSE2 systems, pixels composited using a simple copy no longer
- require the destination pixels to be loaded first, since all the pixels
- are guaranteed to be overwritten anyways.
- Try and move the window test as far up the pipeline as possible so
- that pixel rendering can bail as soon as possible if the window test
- fails.
- Clean up and further standardize the code for compositing BG layers,
- OBJ layers, and 3D layers.
Revision 5830
Author: rogerman | Date: czwartek, 20 lipca 2017 09:55:08
- GPU: Fix bug where 3D rendering sometimes does not appear correctly on SSE2 systems. (Regression from commit 5c6fcb0.)
Revision 5829
Author: rogerman | Date: czwartek, 20 lipca 2017 08:41:43
- GPU: Significantly improve GPU compositing performance in many games.
- Adds more possible conditions for compositing to take the fast path
- (simple pixel copying).
- Adds SSE2 optimizations for the 2x and 4x scaling cases in
- GPUEngineBase::_LineColorCopy().
Revision 5828
Author: rogerman | Date: środa, 19 lipca 2017 05:57:55
- Cocoa Port: Expose the new feature to change the GPU color depth in the UI. (Related to commit 3b37058.)
Revision 5827
Author: rogerman | Date: środa, 19 lipca 2017 05:56:11
- GPU: Custom VRAM now works with 24-bit color depth. It can be captured natively in 24-bit and used as a source buffer in 24-bit. (Related to r5433. This rework is now COMPLETE!)
- NEW FEATURE: Clients may now call GPUSubsystem::SetColorFormat() to
- choose the color format of the GPU output, which can be RGB555
- (15-bit), RGB666 (18-bit), or RGB888 (24-bit).
- On a special note, the Deposterize filter for 3D textures can now
- show its true smoothing effect when clients run the GPU in 24-bit color
- mode.
Revision 5826
Author: rogerman | Date: środa, 19 lipca 2017 02:10:26
- Cocoa Port: The Vertical Sync setting has been removed -- it is now automatically set.
- New behavior for layer-backed views (OpenGL on Mountain Lion and
- later, or Metal): Vertical Sync is always enabled.
- New behavior for non-layer-backed views (OpenGL on Lion and earlier):
- Vertical Sync is only enabled if frameskip is enabled or if the
- execution speed is set to 1x or less while the speed limiter is engaged.
- Remove all associated UI for manually setting Vertical Sync.
- Also add a new menu option to the Tools menu for disabling Metal,
- instead forcing display views to use OpenGL. (For developer builds
- only.)
Revision 5825
Author: rogerman | Date: wtorek, 18 lipca 2017 10:26:42
- Cocoa Port: Ensure that display windows avoid drawing with uninitialized display info and possibly non-existent buffers on startup.
Revision 5824
Author: rogerman | Date: wtorek, 18 lipca 2017 10:24:08
- Cocoa Port: Avoid sending a torrent of MESSAGE_RELOAD_REPROCESS_REDRAW messages whenever a new display window is created.
Revision 5823
Author: rogerman | Date: niedziela, 16 lipca 2017 02:02:56
- SoftRasterizer: Fix incorrect coloring when using an output format of RGB888. (Regression from commit eaa5210.)
Revision 5822
Author: rogerman | Date: niedziela, 16 lipca 2017 01:00:26
- GPU: Finishing 3D rendering and flushing the 3D framebuffers are now split into separate operations.
- Fixes the background appearance when receiving items in Pokemon
- Black/White 2. (Fixes SF bug #1624.)
Revision 5821
Author: rogerman | Date: niedziela, 16 lipca 2017 00:38:39
- Save States: Fix save state compatibility for files created between 32-bit and 64-bit systems. (Regression from r5363.)
Revision 5820
Author: rogerman | Date: sobota, 8 lipca 2017 19:56:29
- GPU: Fix possible crash by properly initializing working capture buffers. (Regression from commit 28f5c3a.)
Revision 5819
Author: rogerman | Date: piątek, 7 lipca 2017 22:13:29
- Cocoa Port: Always allow client display views to process displays if the client did not request a custom framebuffer size.
- Also try to solve some synchronization issues with Metal display
- views.
Revision 5818
Author: rogerman | Date: czwartek, 6 lipca 2017 08:30:31
- GPU: Fix bug on SSE2 builds where the window test mask would be undefined if the output color format is RGB666 or RGB888.
Revision 5817
Author: rogerman | Date: czwartek, 6 lipca 2017 08:22:49
- GPU: Don't do ad-hoc allocations of working capture lines in GPUEngineA::_RenderLine_DisplayCapture(). Allocate the lines in GPUEngineA::SetCustomFramebufferSize() instead.
- Also do some minor refactoring and code cleanup.
Revision 5816
Author: zeromus | Date: poniedziałek, 3 lipca 2017 16:37:51
- fix gdbstub compiling in posix frontend. didnt really test it... should fix #73
Revision 5815
Author: rogerman | Date: sobota, 1 lipca 2017 22:51:15
- GPU: Partially reverts changes to the LCDC check, bringing back an optimization for display capture.
- Revert commit abe2e619971cf0c1aa5b6bc4c8d128d736f60542. (But retains
- the comments about Mario Kart.)
- Partially revert adf682eb23fbbcdb93f2f4045cd4aeb0d9a40e6c. (But
- retains the removal of the LCDC check in ResetDisplayCaptureEnable().)
Revision 5814
Author: rogerman | Date: sobota, 1 lipca 2017 22:44:52
- Cocoa Port: Fix bug that causes building to fail. (Regression from commit c365617.)
- Also do some minor code cleanup to byteSizeStringWithLargerUnit:.
Revision 5813
Author: zeromus | Date: sobota, 10 czerwca 2017 06:16:00
- Merge pull request #71 from kongfl888/screenshot
- winport: fix the screenshot type is not saved.
Revision 5812
Author: kongfl888 | Date: sobota, 10 czerwca 2017 04:47:23
- winport: fix the screenshot type is not saved.
→ [NDS] DesMuMe x86/x64 0.9.12 SVN5811
Revision 5811
Author: zeromus | Date: 29 maja 2017 17:05:22
- cheats: fix bug in EXXXXXXX code eating one too many code lines
Revision 5810
Author: zeromus | Date: 29 maja 2017 02:11:45
- Revert "winport: use 666 color". Now I know how to do it... but it wasn't 100% ready anyway, and it breaks avi/screenshot, so let's wait and fix those when the 666 color is finally 100% done.
- This reverts commit a0d42e15365e1b779622e27521e64a12cb451970.
Revision 5809
Author: zeromus | Date: 5 maja 2017 21:26:34
- fix null assignments to std::strings the right way
Revision 5808
Author: zeromus | Date: 5 maja 2017 21:25:34
- Merge pull request #68 from klapeto/master
- PosixGTK Graphics Dialog UI
Revision 5807
Author: klapeto | Date: 5 maja 2017 20:42:51
- posixGTK: Additional graphic options added to Graphics Dialog
Revision 5806
Author: klapeto | Date: 4 maja 2017 21:34:59
- posixGTK: Added Graphics Settings dialog and 3D core switch ui
Revision 5805
Author: klapeto | Date: 4 maja 2017 15:16:12
- Fixed segmentation faults caused by NULL assignments to std::strings
Revision 5804
Author: zeromus | Date: 5 maja 2017 07:45:28
- cheats: reset jit, sometimes, when it's needed
Revision 5803
Author: zeromus | Date: 4 maja 2017 02:32:24
- winport: fix crash opening nonexistent recent rom (fixes #67)
Revision 5802
Author: zeromus | Date: 3 maja 2017 21:20:40
- Merge pull request #66 from np511/master
- Add GUI to change JIT settings
→ [NDS] DesMuMe x86/x64 0.9.12 SVN5801
Revision 5801
Author: np511 | Date: 3 maja 2017 18:24:11
- Add GUI to change JIT settings
Revision 5800
Author: zeromus | Date: 3 maja 2017 00:59:33
- fix booting from firmware since I broke it adding the new slot-1 timing (failed to support it on arm7). fixes #64 (broken by 281268e)
Revision 5799
Author: zeromus | Date: 3 maja 2017 00:50:23
- try to fix bad, bad, badness caused by running nitrofs tool in another thread (hopefully fixes #65)
Revision 5798
Author: zeromus | Date: 29 kwietnia 2017 03:53:40
- fix bug in fsnitro FAT reading; fixes #63
Revision 5797
Author: zeromus | Date: 28 kwietnia 2017 03:37:40
- fix crash in slot1 retail(debug) when it's set while no game is loaded (fixes #63)
Revision 5796
Author: zeromus | Date: 27 kwietnia 2017 01:34:07
- emulate slot-1 read timings (fixes SF bug 1258)
Revision 5794
Author: adam.sampson | Date: 26 kwietnia 2017 23:44:08
- fix: add missing comma in ZIPROMReader definition
- This was omitted in c365617ff737bdb3c06c307159078ca4e5f7e175; the other
- ROMReader_structs it updated were correct.
→ [NDS] DesMuMe x86/x64 0.9.12 SVN5793
Revision 5793
Author: zeromus | Date: 26 kwietnia 2017 22:02:46
- winport: fix OSD with prescale + single CPU
Revision 5792
Author: zeromus | Date: 26 kwietnia 2017 22:00:47
- winport: use 666 color
Revision 5791
Author: zeromus | Date: 26 kwietnia 2017 21:03:38
- winport: fix non-saving KillStylusOffScreen
Revision 5790
Author: zeromus | Date: 12 kwietnia 2017 17:31:13
- fsnitro: fix build error from recent commit (for some compilers, anyway). fixes commit c365617ff737bdb3c06c307159078ca4e5f7e175
Revision 5789
Author: zeromus | Date: 12 kwietnia 2017 04:14:16
- fix bugs in lingering rom reading cursor caching code that made the winport memview capable of ruining rom reads
Revision 5788
Author: zeromus | Date: 12 kwietnia 2017 04:13:17
- winport: fix mis-sorted full/cartrom memdomains
Revision 5787
Author: zeromus | Date: 12 kwietnia 2017 02:40:31
- take a stab at fixing the ram/streaming option so that there arent split codepaths everywhere. homebrew that is eligible for DLDI patching now switches entirely to load from memory, because we lack the facilities to patch the DLDI in flight (although we now have a point to hook it into). really, all this code should be torched, but it's less of a mess now.
Revision 5786
Author: zeromus | Date: 11 kwietnia 2017 04:12:25
- fix error in initialization of clear depth register - fixes #57 (cod3r colorz top screen)
Revision 5785
Author: zeromus | Date: 10 kwietnia 2017 00:30:00
- fix possibility for display capture to VRAM block not-mapped-to-LCDC doing something which I guess can clobber important memory. Mario kart does this after course demo during black screen transition if buttons are pressed (maybe programming error or emulation timing bug). The functionality that used to block this was lost during HD revisions. Fixes #54
Revision 5784
Author: zeromus | Date: 9 kwietnia 2017 19:51:44
- Merge pull request #55 from BigBigos/rtc-override
- Add rtc-day/hour options to override NDS clock
Revision 5783
Author: gustaw.smolarczyk | Date: 9 kwietnia 2017 18:18:19
- Add rtc-day/hour options to override NDS clock --rtc-day and --rtc-hour may be used to override the emulated time. rtc-day is a day of week (0-6) rtc-hour is the hour (0-23). Time difference is calculated at emulator start and the emulated RTC then reports time from the future. This difference is then maintained so that an hour after the emulator is started means an hour passes according to the RTC.
Revision 5782
Author: zeromus | Date: 8 kwietnia 2017 07:57:19
- add cheat code DFFFFFFF 77777777/99999999 for enabling emulator hacks and allowing access to the ARM9. I didn't test this, I may have broken some cheats
Revision 5781
Author: zeromus | Date: 8 kwietnia 2017 07:35:28
- Merge pull request #51 from intact/fix-jit-size
- fix jit-size command line option processing
Revision 5780
Author: intact | Date: 3 kwietnia 2017 22:05:48
- fix jit-size command line option processing
Revision 5779
Author: zeromus | Date: 8 kwietnia 2017 07:33:19
- fix a bunch of broken non-standard sized register IOs in the SPU. fixes #53
Revision 5778
Author: zeromus | Date: 6 kwietnia 2017 07:15:33
- action replay: fix D8 codes (were writing 16 bits instead of 8)
Revision 5777
Author: zeromus | Date: 15 marca 2017 01:35:25
- Update desmume.props
- fix linking on vs2017
Revision 5776
Author: zeromus | Date: 15 marca 2017 00:24:11
- Merge pull request #49 from pal1000/work
- Autoretarget Visual Studio 2017. Compilation still fails though
Revision 5775
Author: prodea2 | Date: 14 marca 2017 21:33:07
- Autoretarget Visual Studio 2017. Compilation still fails though
Revision 5774
Author: zeromus | Date: 13 marca 2017 23:39:43
- winport: support vs2017 in msbuild file (fixes #48)
→ [NDS] DesMuMe x86/x64 0.9.12 SVN5773
Revision 5773
Author: zeromus | Date: 6 marca 2017 00:55:43
- fix mirroring of bank I across BBG (fixes #46, corrupted pause screen in ultimate mortal kombat)
Revision 5772
Author: zeromus | Date: 5 marca 2017 09:49:40
- winport: remove accidental relic StylusJitter inifile read
Revision 5771
Author: rogerman | Date: 5 marca 2017 09:22:28
- Cocoa Port: Update the UI for the removal of GFX3D_Zelda_Shadow_Depth_Hack, the changes in StylusJitter, and the addition of gamehacks.