Commit Graph

2099 Commits

Author SHA1 Message Date
Arisotura 59a5923463 cleaner YUV/RGB conversion code 2022-08-22 19:12:07 +02:00
Arisotura 31d901e9b5 implement camera cropping 2022-08-22 19:12:07 +02:00
Arisotura bae82b5b6c add YUV conversion. lay base for cropping support. 2022-08-22 19:12:07 +02:00
Arisotura af1259f4b9 camera: mostly working picture transfer infrastructure 2022-08-22 19:12:07 +02:00
Arisotura fe13ce785f reorganize camera code so the structure is less messy and more sensical 2022-08-22 19:12:07 +02:00
Arisotura 9c1f5364ab attempting fun things 2022-08-22 19:12:07 +02:00
RSDuck ce68e883c4 for all people who hate speed, here you can build melonDS again 2022-08-22 00:44:48 +02:00
RSDuck 32609bbc98 invalidate JIT blocks in ARM7 WVRAM when it's remapped 2022-08-22 00:39:08 +02:00
RSDuck d56219c33c fix SCFG_MC cartridge inserted bit 2022-08-21 22:11:22 +02:00
RSDuck 22b312bc43 implement 8- and 16-bit DSi AES register accesses
fixes NAND access through Godmode9i
2022-08-21 21:31:11 +02:00
RSDuck 4c97731468 fix last commit for when no SD is inserted 2022-08-21 19:55:23 +02:00
RSDuck 334fc1717d fix DSi SD newly inserted/removed IRQ bits
we don't support SD card hot swapping and SDIO wifi is always inserted, so those bits are always zero
special thanks to Evie
2022-08-21 19:52:23 +02:00
RSDuck f0657e1a9b basic implementation of SNDExCnt
isn't hooked up to the DSP or microphone though
fixes memory abort in TwilightMenu
2022-08-21 16:40:30 +02:00
Nadia Holmquist Pedersen 3ad5f3e22e Fix Windows debug builds not having a console because something, probably some library's CMake script, sets -mwindows when it shouldn't. 2022-08-17 20:04:43 +02:00
RSDuck 5baf5fe77b a bit of refactoring around ScreenHandler
also gets rid of that annoying warning about const char* being converted to char*
2022-08-05 20:22:10 +02:00
Nadia Holmquist Pedersen 2ba7f961a6 Apply strong focus policy to joystick mapping button as well. Fixes #1491 2022-07-31 21:18:08 +02:00
Valtýr Kári Daníelsson 98903f8076 fixes editor warnings about undefined types in a bunch of files 2022-07-27 18:55:59 +02:00
Valtýr Kári Daníelsson 457dd56b88
constexpr-s the DMA timing tables (#1489) 2022-07-27 17:01:31 +02:00
Nadia Holmquist Pedersen f5c1094d03 Fix triggers being recognized as negative analog stick values when assigning an input if the axis is moved too slowly. 2022-07-07 23:18:56 +02:00
Arisotura 4ec22dda9e stashing temp. camera work 2022-06-28 21:31:34 +02:00
Nadia Holmquist Pedersen 35cbda9001 GL: Fix 16x resolution on macOS 2022-06-02 00:55:29 +02:00
Nadia Holmquist Pedersen f85925fcd6 Add 3DS 16:10 aspect ratio and refactor GUI aspect ratio code 2022-05-23 16:59:50 +02:00
Nadia Holmquist Pedersen 067b44fdfd oh fuck you macos 2022-05-23 15:35:34 +02:00
Nadia Holmquist Pedersen 5f581e82d4 cmake: fix debug flags 2022-05-23 15:33:40 +02:00
Nadia Holmquist Pedersen 94b33c924e
Modernize CMake build system (#1434)
These changes modernize the CMake build system to (hopefully) match newer best practices

* Library linking is simpler and more automatic because of using imported targets
* Multi-configuration builds should be supported (Ninja Multi-Config, Visual Studio, etc. generators)
* Clean up build options using cmake_dependent_option
* Let CMake do its job in more cases, like finding the math/dl libraries and detecting and enabling LTO support
* Remove platform-specific kludges like the Fedora/flatpak LTO workaround and a bunch of Windows stuff
* Simplify Windows static builds
* Consistent formatting
2022-05-21 19:54:55 +02:00
Rayyan Ansari 6c7485d017
Update package dependencies for Debian/Ubuntu and explicitly state it 2022-05-17 20:49:01 +01:00
Nadia Holmquist Pedersen 7f4f17de63 macOS: fix bundling on Monterey
The behavior of flags for strip changed exactly like the man page warned
it would. Oops.
2022-05-16 18:09:39 +02:00
Nadia Holmquist Pedersen 4cc34121b0 Update teakra (fixes #1441) 2022-05-13 20:31:24 +02:00
Arisotura adb78e2641 get more shit done 2022-05-08 16:32:29 +02:00
Arisotura 3c0b105fbe attempt 2022-04-29 16:10:50 +02:00
Arisotura e878866234 here have more code 2022-04-29 12:48:30 +02:00
Arisotura 5363d3bf0c begin work on the CameraManager 2022-04-29 12:07:11 +02:00
Arisotura c761feee6a blaaaaarg
maybe now you can get motivated and get work done, Arisotura
2022-04-27 17:52:44 +02:00
Arisotura 6ee2693fcb lay base for camera settings dialog 2022-04-26 15:36:59 +02:00
Arisotura 55e4c813e0 commit a bunch of random WIP crap 2022-04-25 20:31:42 +02:00
Nadia Holmquist Pedersen ed2121d7ec Accomodate top/bottom only lzyout when setting screen size 2022-04-20 15:50:01 +02:00
Arisotura 852a0eae00 camera: fix bugs that Epicpkmn11's camera demo revealed 2022-04-19 12:54:37 +02:00
Arisotura 15523587f3 oops, the camera transfer buffer is 512 words long, not 1024 2022-04-18 11:33:25 +02:00
Arisotura 1b7bdd82ac basic provision for feeding external pictures to the cameras 2022-04-17 14:53:57 +02:00
Arisotura 34f0c2e6ed cleaner YUV/RGB conversion code 2022-04-17 13:34:59 +02:00
Arisotura e637f9d91d implement camera cropping 2022-04-17 01:24:13 +02:00
Arisotura 4c2c10abc6 add YUV conversion. lay base for cropping support. 2022-04-17 00:29:18 +02:00
Arisotura 7ad4f39587 camera: mostly working picture transfer infrastructure 2022-04-16 21:55:54 +02:00
Arisotura 036e475c99 reorganize camera code so the structure is less messy and more sensical 2022-04-16 16:18:53 +02:00
Arisotura a9d584d4bf attempting fun things 2022-04-15 20:31:18 +02:00
Arisotura 529a690089 fix potential issues with 32bit GPU writes 2022-04-10 15:11:30 +02:00
Arisotura 0294bcb5f2 add support for the mainRAM mirror at 0x0C000000 in DSi mode, makes SM64DSi work correctly 2022-04-10 14:54:40 +02:00
Arisotura b572d8cd70 add support for GXFIFO NDMA 2022-04-10 02:15:49 +02:00
Arisotura 0feed13cc4 close gaps in VRAM mapping 2022-04-09 19:40:35 +02:00
Arisotura 86f725f2f2 master brightness has different biases (are you serious, Nintendo)
also add all these biases to the OpenGL compositor
2022-04-08 01:08:19 +02:00