Sergio Martin
03860f7471
Reverting generalistic fix for a more case-by-case solution
2025-08-10 20:14:33 +02:00
Sergio Martin
be5e7f8176
Revert "Removing a check that prevents loading high mappers. This was once relevant but now we've added more mappers so it no longer applies"
...
This reverts commit 3a89d9f27b
.
2025-08-10 20:02:26 +02:00
Sergio Martin
3a89d9f27b
Removing a check that prevents loading high mappers. This was once relevant but now we've added more mappers so it no longer applies
2025-08-10 18:30:59 +02:00
CasualPokePlayer
4596b3932c
Fix build
2025-07-26 05:24:11 -07:00
CasualPokePlayer
ffbd00d845
Add NES 2.0 parsing
...
This is really more just to reject ROMs which are unsupported here (NES 2.0 features aren't actually supported).
2025-07-26 05:12:28 -07:00
CasualPokePlayer
b5938d7cca
Do various minor fixes
...
1. Change all the C++ #include <c*> to their C counterparts. These are identical to the C counterparts, except their contents are under the std:: namespace, with no guarantee the contents are within the global namespace. quickNES normally assumes the global namespace variants are available, which was correct with standard C headers, but not the C++ <c*> headers (which was swapped over to under quickerNES, without actually changing every C function/typedef usage to be with the std:: variants).
2. Avoid throwing new (and swap over to calloc where it makes sense). Old quickNES did not use throwing new, it expects to be able to use nothrow new, which simply returns NULL on failure instead of an exception (which would just be a program close crash under BizHawk, instead of being able to be potentially gracefully handled on the C# side).
3. Actually check and return error string returns. A lot of callsites stopped bothering to check for an error string with quickerNES, which is a bit silly to do, especially as these are all within init/rarely called functions.
4. Prevent buffer overruns with iNES loader. This previously was done with quickNES, but quickerNES's code makes an assumption that the iNES header won't lie (a bad assumption to make).
2025-07-25 23:10:41 -07:00
SergioMartin86
0a6e69a0d9
Merge branch 'main' of github.com:TASEmulators/quickerNES
2025-07-10 04:02:19 +02:00
SergioMartin86
c758a86fb5
Allowing specifying SRAM size for serialization
2025-07-10 04:01:59 +02:00
CasualPokePlayer
c5a9faa323
Disable MMC5 support
...
Restores b1f4a77251
2025-06-19 22:18:06 -07:00
SergioMartin86
c66098f0c2
Updating quicknes core
2025-05-27 17:20:05 +02:00
SergioMartin86
927e4f6174
Making it work with serialization with nullptr buffer
2025-05-26 19:00:16 +02:00
SergioMartin86
b78c46f5e0
Updates
2025-05-26 18:04:17 +02:00
SergioMartin86
d043d8750a
Updates
2025-05-26 17:49:26 +02:00
Sergio Martin
87365a1e16
Merge pull request #31 from TASEmulators/main
...
Some fixes from the TASEmulators fork
2025-04-09 21:39:42 +02:00
CasualPokePlayer
258203c776
Fix building on Linux clang
2025-04-09 12:23:19 -07:00
SergioMartin86
3f45956fb9
Merge branch 'main' of github.com:SergioMartin86/quickerNES
2025-03-25 20:24:34 +01:00
SergioMartin86
2077f2b38e
Allowing getting palette mem
2025-03-25 20:23:35 +01:00
Morilli
4df2b49643
add error check in ines_load
2025-02-27 21:54:06 +01:00
SergioMartin86
ac1fde2036
Adjusting signatures
2025-02-06 06:01:57 +01:00
Sergio Martin
5bda1a4466
Merge pull request #2 from TASEmulators/fix_ines_parsing
...
Don't use zero[7] in ines header
2025-02-06 05:54:29 +01:00
Sergio Martin
d705ab178f
Merge pull request #1 from Morilli/fix-unsupported-mapper-crash
...
fix crash/exit instead of returning error for unsupported mappers
2025-02-06 05:54:16 +01:00
CasualPokePlayer
6376c091cf
Don't use zero[7] in ines header
...
Looks like this byte was used as some indicator a ripper put their name within the header, and as a response make the ROM unusable within quickNES. This byte has no defined meaning in iNES, but it does for NES 2.0 (although that can safely be ignored here)
2025-02-04 10:21:35 -08:00
Sergio Martin
be584d7ee3
Fixed wrong ifdef
2025-01-28 18:48:36 +01:00
Sergio Martin
7fa7b0979d
Adding input callback
2025-01-28 18:16:44 +01:00
Morilli
7e0288f514
fix crash/exit instead of returning error for unsupported mappers
2025-01-16 02:31:25 +01:00
SergioMartin86
dc13ff638c
Forcing specific numbers for emum
2024-08-11 14:45:05 +02:00
Sergio Martin
e8ab40c227
Merge branch 'main' into mergeTASEmulators
2024-08-11 14:31:45 +02:00
SergioMartin86
afe75a0db5
If ark is not enabled, reject configs that request it
2024-08-08 18:36:07 +02:00
SergioMartin86
831ad3908a
Making arkanoid input support optional (as it hurts performance
2024-08-08 18:20:58 +02:00
SergioMartin86
482687539e
Adding ark tests
2024-08-08 18:06:51 +02:00
SergioMartin86
afc0c273c5
Supporting arkanoid controllers now
2024-08-08 17:54:55 +02:00
SergioMartin86
29beac9732
Supporting arkanoidNES
2024-08-07 21:11:24 +02:00
SergioMartin86
9f164b4a58
Adding include folder for input parser
2024-07-28 17:47:19 +02:00
SergioMartin86
97ccbc3174
Fixing player
2024-07-28 17:07:38 +02:00
SergioMartin86
501efec81e
Fixing missing include
2024-07-28 16:54:26 +02:00
SergioMartin86
c7f1c233ca
Fixing style and inputs
2024-07-28 16:52:05 +02:00
SergioMartin86
6ca0537d45
Adapting for pre-decoded inputs
2024-07-28 16:43:09 +02:00
SergioMartin86
67c93e664e
Allowing the execution of pre-decoded inputs
2024-07-21 15:11:25 +02:00
SergioMartin86
998a01febc
Allowing defining NTAB size
2024-07-13 14:09:11 +02:00
CasualPokePlayer
027f63aee1
Fix building for clang
2024-05-29 12:44:37 -07:00
Sergio Martin
7b4ff9786a
Merge pull request #29 from TASEmulators/main
...
Fix incorrect code mapping logic
2024-05-29 21:00:07 +02:00
CasualPokePlayer
befc3c90a1
Fix incorrect code mapping logic
2024-05-29 11:14:07 -07:00
SergioMartin86
fee1b2315d
Fixing dependencies
2024-03-26 17:02:39 +01:00
SergioMartin86
c80c453dd5
Using a proper flag for using gnu compilers for the function alignment
2024-03-24 17:42:05 +01:00
SergioMartin86
b6e742d5e3
Providing window from the player cpp
2024-03-22 12:50:46 +01:00
SergioMartin86
45840b6527
Putting controller into its own namespace
2024-03-19 19:47:30 +01:00
SergioMartin86
b67a94263e
Small improvements in deserialization
2024-03-11 19:47:41 +01:00
SergioMartin86
8bdfd4fa2a
Updating jaffarCommon subproect
2024-03-06 16:21:04 +01:00
SergioMartin86
f70db77e69
Re-adding support for traceback
2024-02-26 19:04:05 +00:00
SergioMartin86
5170f5e983
Adding read function for joy read count
2024-02-26 18:50:38 +00:00