Commit Graph

1600 Commits

Author SHA1 Message Date
414c608678 add ROMlist entry for Power Rangers Go-Busters (Korea) 2021-04-30 20:40:57 +02:00
da9024e2b7 er, all cart types might want to have teh B8 command 2021-04-30 17:34:41 +02:00
c2f37d44ce cart: ensure each set of commands can only be run in the correct command mode.
fixes #1083 (there was a chance an encrypted KEY1 command could be interpreted as something else and fuck things up)
2021-04-30 17:29:04 +02:00
5e648a8db3 fill most gaps in ROM list 2021-04-30 03:01:52 +02:00
8a5078abe3 support savemem for Face Training (NAND, atleast 32MB, likely 64MB) 2021-04-30 01:13:35 +02:00
0a718adc77 Fix macOS right modifier detection.
Turns out my system was affected by a bug with modifier remapping in
macOS causing some of my left/right modifiers to be swapped. This commit
fixes them to be the correct values.
2021-04-29 19:45:41 +02:00
0a3a2ad009 fix aarch64 build with gcc 11 2021-04-29 15:15:16 +02:00
eae42fb9f8 request repaint instead of update after each frame 2021-04-29 15:13:53 +02:00
cffffa887e macOS: Assign "Preferences..." to emu settings without also removing it from the config menu 2021-04-27 15:11:15 +02:00
5a9063089c Savestate: use Platform::OpenLocalFile (#1026) 2021-04-26 23:21:58 +02:00
6691c6903b asfdasdas you'd better not give me shit now 2021-04-26 16:43:25 +02:00
a2c12f7e66 fix some more case sensitive shito 2021-04-26 15:50:02 +02:00
1afb8bfa46 that game is actually a tiny EEPROM 2021-04-26 15:30:00 +02:00
bf4052bc3d more of the same (actually fix the bug I was having) 2021-04-26 15:25:45 +02:00
4a5d5116a1 make extension checks case-insensitive 2021-04-26 15:20:28 +02:00
7ab19f157d add ROM entry for Clueless Fashion (#1050) 2021-04-26 13:23:29 +02:00
55a129e1a2 make sure to axe the GBA slot in DSi mode. (EXMEMCNT bit7 still applies to it, tho) 2021-04-25 13:13:16 +02:00
f8bb1aa98d 'aight 2021-04-25 11:54:08 +02:00
18497d396d add more Mac crap. hoping the weird characters made it through. 2021-04-25 11:53:29 +02:00
185c97f4ef try to cover right-mod keys under MacOS I guess 2021-04-25 11:34:56 +02:00
9d9865d256 hopefully remove shitty hack 2021-04-25 11:09:16 +02:00
a860c5fbd3 Actually use the new script... 2021-04-25 03:55:01 +02:00
bc4a156a4d More 10.14 fixes also make the version check in cmakelists actually work 2021-04-25 03:51:04 +02:00
1846a71265 Cart refactor (#1073)
complete cart-interface refactor, will make this code a lot easier to deal with
2021-04-25 00:48:02 +02:00
0834fc1533 Add support for building with Qt6 (#865)
Co-authored-by: WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>
2021-04-24 13:30:10 +00:00
796ef95862 Improve macOS bundling (#1067)
* Improve macOS bundling
* Bundle libs for macOS CI
* Add MACOS_BUILD_DMG CMake option and make the CI upload the DMG so we don't lose executable permissions.
* Manually copy plugins if macdeployqt doesn't
* Ad-hoc codesign the app
2021-04-21 23:50:32 +02:00
06e2193c04 Fix up menu roles a bit 2021-04-19 09:18:50 +02:00
d5dbef2c22 make path inputs support drag/dropping files onto them to add the path quickly. fixes #1033 2021-03-29 01:08:22 +02:00
284a9b73b0 keep recent filenames from being absurdly long in the menu 2021-03-27 01:54:55 +01:00
2c2e868de0 Disable JIT write-protect when de-initialising on ARM64 macOS 2021-03-22 20:14:21 +00:00
ac49d8e25c Update copyright year and add missing GPL headers part 2
Looks like a lot of files were missed...
Closes #1036
2021-03-21 21:32:26 +00:00
6b431a6664 Allow bundling libraries on macOS (#1013) 2021-03-21 15:32:23 +00:00
f060162dac attempt at fixing #1037 2021-03-17 16:44:54 +01:00
fbe691a673 fix read from unassigned variable for large BGs 2021-03-16 20:57:30 +01:00
436b3c4c1d update copyright year and add missing GPL headers 2021-03-12 20:07:40 +01:00
bc63531e00 avoid leaking threads in NDSCart_SRAMManager
also atomics
2021-03-11 16:54:43 +01:00
6a3aa551da remove direct reference to Switch frontend header 2021-03-03 00:43:56 +01:00
41dd448e28 call Renderer2D::VBlankEnd at vblank end
instead of vblank start
2021-03-01 04:06:11 +01:00
a046eb5038 separate GPU2D registers and renderer 2021-02-27 22:25:42 +01:00
89051f63d4 Define CONTEXT_PC and use instead for much cleaner code (#1017)
* Define CONTEXT_PC and use instead for much cleaner code

Also include ways to get the Program Counter on ARM64 FreeBSD and NetBSD
2021-02-25 21:17:11 +00:00
68da2ace58 Include winsock2.h before windows.h 2021-02-23 18:15:02 +00:00
94dcc9523e SRAM things (#970)
* Allow SRAMManager to save to/load from a buffer.

* Don't delete what doesn't exist. Don't create a thread that will do absolutely nothing.

* Update SRAMManager's SecondaryBuffer when loading a savestate.
2021-02-23 02:46:02 +01:00
58dd1ec580 directly set VRAMDirty for VRAM BG/OAM writes 2021-02-23 02:09:18 +01:00
97643586fa Fix OpenGL display scaling on high DPI (#1011)
* Fix OpenGL display scaling on high DPI

* Scale the OSD too

* Fix indent
2021-02-22 18:17:48 +01:00
532dc57025 Fix the JIT Code Memory on ARM64 Macs (#916) 2021-02-22 15:13:39 +00:00
0aa0ae6c69 fix #1010 2021-02-22 02:38:21 +01:00
03b465c5e2 Fix edge case in the division engine, fix edge case in the CPU (#1003)
* Fixed division edge case: Div64/32 and Div64/64 set the remainder to 0 if dividend == INT64_MIN && divisor == -1

* Fixed CPU edge case where ARM9 ALU ops would switch to Thumb even when they shouldn't

* Only clear the lowest bit of the jump address in ALU ops with rd==15 (on recommendation of RSDuck)
2021-02-19 23:58:41 +01:00
712919ec41 Remove unneeded OpenGL loading function code (#1006) 2021-02-17 20:53:07 +00:00
64c6654d94 use syncs instead of glFinish 2021-02-16 15:00:23 +01:00
295d60e4cb try to fix build when the compiler is stricter 2021-02-11 19:11:18 +01:00