Commit Graph

  • b568e4359c Render3D: Huge refactor that adds the new Render3DColorOut class, which now handles the framebuffers that integrate the 3D layer and the BG0 layer. - Framebuffers are now double-buffered, which may help improve performance on games running at less than 60 FPS on host systems with weak GPUs. - For OpenGL, slightly improve framebuffer download performance on macOS. master rogerman 2025-08-13 23:58:21 -0700
  • 34e671d9f9
    Merge ffb713a6cb into 8238c353fc Kapandaria 2025-08-10 14:59:08 +0800
  • ed000e3c2d
    Merge 7e1b64ae1d into 8238c353fc linkmauve 2025-08-10 14:58:19 +0800
  • 8238c353fc Render3D: Do some last minor refactoring tweaks. (Related to commit 2a52196.) rogerman 2025-08-09 22:16:46 -0700
  • 2a5219649a Render3D: Do a bunch of refactor in preparation of a more substantial refactor that will follow. rogerman 2025-08-09 19:21:55 -0700
  • 82761798cc Fix compiling on newer GCCs that are averse to referencing variables on an unexpected memory alignment. rogerman 2025-08-09 17:51:53 -0700
  • 81683cb097 Fix memory alignment issues with bitfield structs when compiled on MSVC. rogerman 2025-08-09 16:00:34 -0700
  • 75958772ef
    posix: in __glx_initOpenGL, add null check after XOpenDisplay (#920) En-En 2025-08-08 20:54:19 +0000
  • 54b82e76f8 posix: refine GLX with no X server error message En-En 2025-08-08 20:37:41 +0000
  • d78f1f5f2f
    Merge be53737eba into a7812dcea5 windwakr 2025-08-08 08:55:25 +0300
  • a7812dcea5 Cocoa Port: Don't set thread priorities on single-core systems, hopefully preventing thread starvation and helping single-core systems run more stable. rogerman 2025-08-07 21:20:17 -0700
  • 5631f24576 posix: in `__glx_initOpenGL`, add null check after `XOpenDisplay` En-En 2025-08-08 00:34:51 +0000
  • 4ca5101f52 Cocoa Port: Fix a performance bug where OpenGL display views weren't fully DMA'ing the video frames directly from app to GPU as intended. - This bug fix may improve video performance with certain configurations by up to 10%. (OpenGL display views only.) rogerman 2025-08-04 09:57:49 -0700
  • cdd818af4b
    Merge 1a2b8c0f29 into 6715015cb6 PlatinumMaster 2025-08-04 11:19:05 +0200
  • ee76b0ed06
    Merge 66c8f91a5e into 6715015cb6 Marco Köpcke 2025-08-04 11:19:05 +0200
  • 44e506584a
    Merge ae627d6847 into 6715015cb6 Ruben 2025-08-04 11:19:05 +0200
  • aad8983484
    Merge a0e50b380c into 6715015cb6 Kimpe Andy 2025-08-04 11:19:05 +0200
  • 6715015cb6 Cocoa Port: Try to fix some potential issues with UI updates happening off the main thread. rogerman 2025-07-31 21:12:50 -0700
  • 5cc55d60bd Cocoa Port: Correct the usage of the GL_UNPACK_CLIENT_STORAGE_APPLE switch in OpenGL display views. rogerman 2025-07-31 21:09:42 -0700
  • cf5153d02d Cocoa Port: Fix building with "DeSmuME (Latest).xcodeproj" on older Xcode. (Regression from commit 445060a.) rogerman 2025-07-27 15:45:04 -0700
  • e52e3963d0 GPU: Add AltiVec-accelerated functions for 2D layer compositing. (For PowerPC CPUs only.) - This improves GPU performance by up to 25% on a PowerPC 970MP. rogerman 2025-07-25 17:37:55 -0700
  • 2c4ff5fea6 GPU: CopyLineExpand() and CopyLineReduce() now respect the NEEDENDIANSWAP flag for 32-bit elements. rogerman 2025-07-25 13:24:45 -0700
  • ff7ad435d6 Texture Handler: Fix incorrect alpha masking on 16-bit direct textures for AltiVec. rogerman 2025-07-24 17:41:21 -0700
  • 40c035f986 GPU: Fix remaining issues with display capture giving incorrect colors on big-endian systems. - This commit effectively reverts commit 6bcf70d, since this commit fixes the problem in the correct location this time. rogerman 2025-07-22 17:59:49 -0700
  • f28dbbb5b3 GPU: Fix building for ARM NEON. (Regression from commit b6467fb.) rogerman 2025-07-22 15:44:28 -0700
  • b6467fbd13 GPU: Begin transitioning 16-bit colors from the plain old u16 data type to the new Color5551 data type. rogerman 2025-07-22 15:00:20 -0700
  • 12b4802a03 Refactor the union "COLOR" from GPU.h into types.h and rename it to "Color5551". This allows the union to be used in more places where appropriate. rogerman 2025-07-22 09:53:47 -0700
  • 08394d33f9 GPU: Fix various graphical glitches on big-endian systems. - Fix a bug where max bright down would display a red screen instead of a black screen when running in 18-bit or 24-bit color mode. - Fix incorrect colors for various display capture scenarios. - 15-bit to 18-bit and 15-bit to 24-bit color conversions now assume byte swapping. This improves 2D graphics performance by up to 5%. rogerman 2025-07-19 22:29:29 -0700
  • 6bcf70dc6d Colorspace Handler: Fix RGBA8888 to RGBA5551 color conversions in AltiVec. rogerman 2025-07-19 18:53:07 -0700
  • f03f8943a0 Cocoa Port: Fix HUD input coordinate colors on big-endian systems. (Regression from commit deef974.) rogerman 2025-07-19 18:28:30 -0700
  • 39973c52bc matrix.h: AltiVec accelerated functions buffer_copy_or_constant_*() and buffer_copy_or_constant_*_fast() now respect the NEEDENDIANSWAP switch. - Also do some code cleanup where appropriate. rogerman 2025-07-19 11:38:06 -0700
  • e75b67043b Partially revert commit 0367d14. Looks like the algorithm for converting RGBA6665 to RGBA5551 colors in AltiVec doesn't need to be THAT accurate, so resimplify the algorithm again to pick up the speed. rogerman 2025-07-18 16:21:29 -0700
  • 0367d1469d Colorspace Handler: Improve the accuracy of RGBA6665 to RGBA5551 color conversions in AltiVec. - Also do some code cleanup where appropriate. rogerman 2025-07-15 16:40:27 -0700
  • 66b525b8dc Video Filters: Separate all xBRZ custom texture upscaling code from the standard xBRZ code. rogerman 2025-07-15 14:06:00 -0700
  • deef974c85 Cocoa Port: Fix a bug where HUD colors would fail to work when running on macOS Leopard or Snow Leopard. - Also fix a bug on big-endian systems where HUD colors were being stored in the user defaults file in big-endian byte order instead of little-endian byte order. rogerman 2025-07-14 14:47:12 -0700
  • 63114d0aa2 Fix texture upscaling on big-endian systems. rogerman 2025-07-12 20:25:09 -0700
  • b962b925f5 Cocoa Port: Update CheatDatabaseViewer.xib to a file format that is compatible with Xcode 16. rogerman 2025-07-11 02:01:49 -0700
  • 445060a0cc Cocoa Port: Update Xcode project files to reflect better build procedures. - The main Xcode project disables Metal API Validation for Debug builds, since this seems to cause runtime issues on Xcode 16. - The Xcode 3 project removes the git lookup build script for the PowerPC LLVM-Clang build, since the typical use case for this particular build won't have git commands available. rogerman 2025-07-11 01:43:54 -0700
  • 557176faa3 Cocoa Port: Silence a compiler warning when building on older Xcode. rogerman 2025-07-11 00:45:08 -0700
  • 266301a13a GPU: Vectorized mosaic rendering now uses an aligned working buffer, improving performance for SSE2 and AVX2. rogerman 2025-07-04 15:15:32 -0700
  • e6500f2010 Silence even more compiler warnings. (Related to commits 2b40a2f and 22a833b.) rogerman 2025-07-04 15:00:20 -0700
  • b23b8e7e6c Cocoa Port: Fix a bug where running OpenGL display views on modern macOS would fail. (Regression from commit a98c319.) rogerman 2025-07-04 14:46:30 -0700
  • 22a833b52e Silence some more compiler warnings. (Related to commit 2b40a2f.) rogerman 2025-06-27 11:20:32 -0700
  • d3ee4eaabb OpenGL Renderer: Fix rendering when a non-standard viewport is used. (Regression from commit 3db6d56. Fixes #902.) rogerman 2025-06-25 16:03:43 -0700
  • 2b40a2f12c Take another pass at silencing a bunch of compiler warnings where appropriate. rogerman 2025-06-24 19:33:17 -0700
  • a98c319cdf Cocoa Port: Give OpenGL display windows more chances to acquire a hardware-accelerated context before falling back to Apple Software Renderer. rogerman 2025-06-24 17:23:30 -0700
  • 81afd288cc Cocoa Port: Silence a whole bunch of compiler warnings. rogerman 2025-06-24 17:18:53 -0700
  • bd6a421c0c agg: don't leak non-const reference to const private member. rofl0r 2025-06-24 12:16:52 +0000
  • 4ba1d73e22 CI: add mingw action rofl0r 2025-06-24 11:35:06 +0000
  • c02fbdfd00 mingw Makefile: explicitly add C++ std rofl0r 2025-06-24 11:46:56 +0000
  • b63741f24f fix crash in CommandLine constructor rofl0r 2025-06-24 11:25:38 +0000
  • 3a3531acd9 Oops! Forgot to commit a couple files for commit fe84b11. (Also related to commit 1754ab9.) rogerman 2025-06-24 04:13:51 -0700
  • 1754ab9181 fix build of mingw port (MicMode enum) rofl0r 2025-06-24 11:07:59 +0000
  • e589cfef5c types.h: let mingw use regparm(3) calling convention for jit rofl0r 2024-12-06 18:17:46 +0000
  • 6f5b0596c1 rename FASTCALL to DESMUME_FASTCALL rofl0r 2024-12-06 18:03:16 +0000
  • 493c655478 asmjit: remove unused calling convention defines rofl0r 2024-12-06 17:50:40 +0000
  • 48d4330b7d windows: add Makefile for mingw rofl0r 2024-12-06 03:05:37 +0000
  • 687340d776 aviout.cpp: fix constructor use gcc dislikes rofl0r 2024-12-06 03:02:09 +0000
  • 0bb15e2df8 inputdx.h: make compatible with mingw rofl0r 2024-12-06 03:00:41 +0000
  • a44a1fcedb XAudio2.h: make compatible with mingw rofl0r 2024-12-06 02:58:48 +0000
  • aaf73a711d snddx.cpp: use mingw-provided directx headers if applicable rofl0r 2024-12-06 02:55:43 +0000
  • 1e640464ee gdbstub_internal.h: fix build error with mingw rofl0r 2024-12-06 02:50:36 +0000
  • 763d42a4cb fatdir: fix build error with mingw rofl0r 2024-12-06 02:47:53 +0000
  • 6727a633b8 ROMReader: fix build error with mingw rofl0r 2024-12-06 02:45:50 +0000
  • 5e5cd8971c resources.rc: use unix-style path names rofl0r 2024-12-06 02:42:57 +0000
  • bdea57936f resources.rc: fix build error with mingw-windres rofl0r 2024-12-06 02:37:12 +0000
  • ed4bed3899 unrar/strfn.cpp: fix build error with mingw rofl0r 2024-12-06 02:34:36 +0000
  • 5f9817a387 lua-engine.cpp: fix build error with mingw rofl0r 2024-12-06 02:31:19 +0000
  • 34712c4faf ImageOut.cpp: add missing header rofl0r 2024-12-06 02:29:01 +0000
  • 200590b8dc XAudio2.h: likewise rofl0r 2024-12-06 02:28:04 +0000
  • 73c903f17e xma2defs.h: macro hack for mingw's lack of __out etc rofl0r 2024-12-06 02:21:49 +0000
  • 5293890772 replay: fix use of anonymous struct members rofl0r 2024-12-06 02:11:49 +0000
  • 2fe5ec51ef types.h: don't undef WINAPI for mingw rofl0r 2024-12-06 02:00:24 +0000
  • 62f43c01b1 path.h: add mkdir macro for mingw rofl0r 2024-12-06 01:52:32 +0000
  • 0706a32138 CWindow.h: fix build error with gcc rofl0r 2024-12-06 01:46:14 +0000
  • fe84b11d51 Fix building on Windows. (Regression from commit 03cca3a.) rogerman 2025-06-24 02:29:22 -0700
  • 03cca3a800 Move initialization code and method body code out of the headers and into the cpp files where appropriate. (Related to commits 39bd7fa, bf208df, and 665cd2a.) - Not only does this clean up the headers and (marginally) improve compile times, it also gets rid of any C++11 requirements. - Update the copyright template in metaspu.cpp to match that of metaspu.h. - Also silence a few compiler warnings here and there. rogerman 2025-06-24 01:56:38 -0700
  • 665cd2a3bf Fix one more -Wreorder warning Link Mauve 2025-06-24 03:59:38 +0200
  • 7e1b64ae1d Remove OSMesa support remove-osmesa Link Mauve 2025-05-10 14:23:45 +0200
  • bf208df81f Fix MSVC build in _ShowGpu initializers Link Mauve 2025-06-24 03:39:26 +0200
  • 472fe89165 Fix building for the Cocoa port. (Regression from commit 38f6313.) rogerman 2025-06-23 17:19:10 -0700
  • a9e86e68be Partially revert commit ecd4c16. types.h has never assumed the presence of cstdint. Let's remove this dependency to ensure compatibility regardless of compiler. rogerman 2025-06-23 17:16:45 -0700
  • 39bd7fac68 Fix some -Wreorder warnings Link Mauve 2025-06-24 01:51:03 +0200
  • 36ad64c79b Revert "AsmJit: Remove unused/standard features" rogerman 2025-06-23 16:45:10 -0700
  • ff5113f5ac Remove executable bit from source files Link Mauve 2025-06-24 01:27:20 +0200
  • 02f3c32974 GTK frontend: Remove OSX support Link Mauve 2025-06-24 00:55:04 +0200
  • ecd4c1642c Simplify integer type aliases Link Mauve 2025-06-24 00:50:49 +0200
  • 56a8801575 AsmJit: Remove unused/standard features Link Mauve 2025-06-23 23:50:50 +0200
  • 38f63130e2 Use explicit std:: prefix Link Mauve 2025-06-23 23:07:44 +0200
  • cd12917389
    Merge 99126b9063 into 96805d7c27 Salz 2025-06-08 10:54:49 -0500
  • 96805d7c27 winport - fix mojibake bug in configured path usage (mainly screenshots, fixes #910) zeromus 2025-05-28 00:35:27 -0400
  • cdb9acdc4d fflush after printing ideas and nocash messages zeromus 2025-05-11 17:42:07 -0400
  • 48fcb850de winport: fiddle with stdio redirection buffering zeromus 2025-05-11 17:40:24 -0400
  • 1754c1851b Remove unused automake files Link Mauve 2025-05-10 15:02:00 +0200
  • ca272488c2 Remove the last remnants of the glade frontend Link Mauve 2025-05-10 13:54:39 +0200
  • 8a26c971f2 Make enum for joystick input type for convenience thesource 2025-04-19 21:55:08 +0300
  • e706f0a4de Fix windows build thesource 2025-04-19 19:21:06 +0300
  • d2627ffbe5 Fix coords on finger touch/lift thesource 2025-04-19 19:04:32 +0300
  • 07c444eb0c Linux/GTK: add support for gamepad touchpad -> touch screen input translation thesource 2025-04-19 18:53:43 +0300
  • 6a3d8fd529 Make enum for joystick input type for convenience thesource 2025-04-19 21:55:08 +0300