Commit Graph

496 Commits

Author SHA1 Message Date
CasualPokePlayer b37bc7b5ff Fix #3905 2024-04-30 12:22:48 -07:00
CasualPokePlayer 66e38506f6 revert loadrom changes in gpgx 2024-04-30 00:48:16 -07:00
CasualPokePlayer 3c7898dd5a Fix #3906 2024-04-30 00:28:31 -07:00
CasualPokePlayer 172f6cbbde libchdr linux build 2024-04-29 22:29:24 -07:00
CasualPokePlayer 21b6bd331b Add CHD CD support 2024-04-29 22:21:47 -07:00
Sergio Martin 9dcb84336e
Wiring up GPGX as core for SMS, GG, and SG (#3902)
* Adding GPGX as core for SMS and GG
* Enabling SMS FM selection
* Allow selecting PicoDrive as the preferred core for MD/Genesis

---------

Co-authored-by: James Groom <OSSYoshiRulz+GitHub@gmail.com>
Co-authored-by: feos <feykomylce@gmail.com>
2024-04-28 20:10:44 +03:00
feos e5a2d9ee41 update gpgx for even smaller port diff
include sms/gg stuff
2024-04-28 14:36:23 +03:00
CasualPokePlayer eeebd39a11 really fix gpgx cd audio this time 2024-04-27 05:34:45 -07:00
CasualPokePlayer 212878397e fix gpgx audio harder 2024-04-27 03:21:51 -07:00
CasualPokePlayer 095d160034 try fixing gpgx cd audio 2024-04-27 03:12:27 -07:00
CasualPokePlayer 06ceec6390 Fixup nyma flatbuffer comms, update flatbuffer 2024-04-27 02:52:14 -07:00
CasualPokePlayer cb3c7610d5 Update to mednafen 1.32.1 2024-04-26 21:56:39 -07:00
CasualPokePlayer fb438863f5 Fix crash when saving CD ebram 2024-04-26 16:18:34 -07:00
CasualPokePlayer 80f209ed0d Remove CD caching code
It was a sort of novel speed boost idea, but it doesn't work too well due to wbx heap limitations and the drive light still needing a callback anyways
2024-04-26 15:41:33 -07:00
CasualPokePlayer f9b8a775b0 Fix drive light not appearing as much as it should 2024-04-26 13:50:37 -07:00
CasualPokePlayer cb41b6512c Rebuild GPGX 2024-04-26 13:12:45 -07:00
Sergio Martin 5cb1fe0042
Update Genesis Plus GX Core (#3889)
* Added deep freeze functionality
* Adding support for selecting sound chip
* Adding LUA interface to the deepfreeze list
* Implemented sprite always on top in the VDP
* Found and fixed the issue that manifested itself in a reset Gargoyles and an outright fail in Ristar. The issue was the use of a union type containing overlapping cd and cartdrige data. Using struct now to keep them separated
* Fix PC reg in tracelogs
---------
Co-authored-by: feos <feykomylce@gmail.com>
Co-authored-by: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
2024-04-21 18:34:54 +03:00
CasualPokePlayer 880d8d9f07 rebuild bsnes, update link script / emulibc.h to work with clang-18 2024-04-14 12:57:18 -07:00
CasualPokePlayer 229889279a linux rebuild
sameboy was also rebuilt, but it appears the last commit doesn't actually change the resulting build
2024-04-13 10:31:12 -07:00
CasualPokePlayer d2ba656b01 rebuild sameboy 2024-04-13 10:26:00 -07:00
CasualPokePlayer 88643138cb [mGBA] Prevent memory callbacks from being triggered within a memory callback 2024-04-13 10:19:29 -07:00
CasualPokePlayer c01dea66d4 rebuild mgba for linux 2024-04-12 19:44:06 -07:00
CasualPokePlayer fe8a119eaf update mGBA 2024-04-12 19:38:54 -07:00
CasualPokePlayer d4e52cae54 build sameboy update on linux, fix linux build 2024-04-12 16:41:27 -07:00
CasualPokePlayer 5df8ce3b8e Convert sameboy makefile into cmakelists, use clang-cl to build sameboy, update sameboy 2024-04-12 16:26:25 -07:00
feos 342fb9cb26 quicknes: update, fix build, and rebuild 2024-03-24 22:14:41 +03:00
Sergio Martin 9c4a818423
Replace QuickNES core with QuickerNES (squashed PR #3839)
resolves #3848
2024-03-23 01:31:22 +10:00
CasualPokePlayer 6e881d39a2 encore: avoid directly using SetThreadDescription (windows 10+ only function), restores windows 7-8.1 compat 2024-03-13 21:08:07 -07:00
CasualPokePlayer 986299c52b encore linux build 2024-03-10 20:05:04 -07:00
CasualPokePlayer 5cb80569d9 encore: bump up uncompressed state buffer size 2024-03-10 19:57:03 -07:00
CasualPokePlayer d9a93c474a throw out the speex resampler, place in SDL's resampler to replace it
no more 2010 vc++ runtime requirement
2024-03-10 15:02:25 -07:00
CasualPokePlayer 5a8ce91d95 Recompile mupen dlls against VS2022
this also needed mupen deps updated, and SDL2 compat needed to be fixed. SDL doesnt need to be used anymore, so that's nice
also deleted mupen projects which we don't use anymore
2024-03-10 03:36:43 -07:00
CasualPokePlayer 330115452f linux encore build 2024-03-08 21:32:11 -08:00
CasualPokePlayer 90369fce13 encore: add lag detection 2024-03-08 20:25:25 -08:00
CasualPokePlayer 32b6f7d937 linux encore build 2024-03-08 18:02:50 -08:00
CasualPokePlayer 6dd0bb25e8 encore: remove async file io completely, fix savestate crashes due to AsyncWakeUpCallback serialization attempts 2024-03-08 17:29:40 -08:00
CasualPokePlayer 4ce5b9b6c1 update encore linux build 2024-03-07 23:08:34 -08:00
CasualPokePlayer d9cd9f4810 do various determinism fixes for encore 2024-03-07 22:31:16 -08:00
CasualPokePlayer a67a484715 update encore linux build 2024-03-06 21:43:17 -08:00
CasualPokePlayer 7c4f997f88 encore: add in some new settings, expose some other settings, rework upscaling management (more in line with how melonds is handled) 2024-03-06 21:08:57 -08:00
CasualPokePlayer 62dd38f77f do Linux build of encore 2024-03-05 18:23:02 -08:00
CasualPokePlayer 1bbc54f29f add back encore submodule + build script + add windows build + a few more renamings 2024-03-05 16:13:51 -08:00
CasualPokePlayer 7cf8c968df rename all the things 2024-03-04 18:39:30 -08:00
CasualPokePlayer 5304467855 update to nightly-2104 2024-03-04 17:06:40 -08:00
Morilli 972bc8a682 bsnes: Pull upstream fixes
Contains
- 3ca0504e67e89d37e24fce87183332f7ec577867: Extend the Super Famicom LOROM-RAM#A memory map.
- dab534b6584e4debef2c9572e6b6588a604d79a9: wdc65816: fix PLB wrapping in emulation mode
- ccbe394e7d4bc5f5596544813d887da161af3ca6: wdc65816: emulate (direct,X) wraparound bug in emulation mode
- 79770f6207a5d244652644c5e2d9f4328bd974ac: implementation of SA-1 BW-RAM protection
2024-03-01 15:56:28 +01:00
CasualPokePlayer b34e713f1c update sqlite stuff, also swap it with Microsoft.Data.Sqlite.Core / SQLitePCLRaw.provider.e_sqlite3 and do a different hack to avoid pulling in native deps 2024-02-12 13:59:16 -08:00
CasualPokePlayer 0cc61c3744 add method for setting the frontend time before game load... this will be needed for saturnus, as it may query time to set the initial rtc 2024-02-09 18:35:14 -08:00
CasualPokePlayer 2ce3bbffa5 set various saturn memory domains to be swapped (supercedes https://github.com/TASEmulators/BizHawk/pull/3666)
also add in saveram apis, mostly due to needing an extra step on saveram load to properly handle rtc
2024-02-08 23:18:59 -08:00
CasualPokePlayer 572d989a94 backport e9e56c56b0 and c478c6026a
fixes #3850
2024-01-28 06:13:09 -08:00
CasualPokePlayer e576d1862c update rcheevos for linux 2024-01-16 20:03:58 -08:00
CasualPokePlayer d03d076fa7 several rcheevo updates, mostly for 3DS stuff 2024-01-16 20:00:45 -08:00
CasualPokePlayer 7d2ff866d8 add support for direct booting dsi titles (including dsiware) 2024-01-16 11:04:38 -08:00
CasualPokePlayer 55b3319ee0 minor melonds fixes 2024-01-10 08:13:20 -08:00
CasualPokePlayer a54de6d377 rebuild citra with MSVC static runtimes
this is needed for the hack in f9c85172e4 to work
2023-12-20 17:11:39 -08:00
CasualPokePlayer 9e142711d6 Also delete this now unused dll 2023-12-18 02:35:08 -08:00
CasualPokePlayer f4ac17c904 Replace OpenAL dlls with openal-soft provided ones (downloaded from their official site: https://www.openal-soft.org/)
Fix hanging issue with OpenAL on device disconnection
Cleanup other hanging/crash fixes in other audio backends
2023-12-18 02:32:37 -08:00
Morilli 83e784ecec Actually provide proper OAM memory domain in bsnes 2023-12-10 00:48:50 +01:00
CasualPokePlayer cc0b6c0d99 update rcheevos to latest release, change a ton of ints to uints (what's actually used often)
todo: trim out unneeded defs and do c# 10 cleanups
2023-12-09 02:25:40 -08:00
CasualPokePlayer c2e8bda5e2 fix loading gba saves re-allocating buffer (thus invalidating its memory domain) 2023-12-07 22:52:48 -08:00
CasualPokePlayer 7b4bd8cdc3 make GBA roms work under freebios 2023-12-06 23:19:53 -08:00
CasualPokePlayer 10ac5ddb3c rebuild citra on debian 11, remove dumb libc++ rundep
minor changes were needed on the c++ side (luckily it was only the bizhawk specific code which needed changes)
limits.h force include is a hack due to one of citra's externals relying on some implicit std header including which doesn't happen on gcc10's libstdc++
2023-12-04 17:06:27 -08:00
CasualPokePlayer a25eff9d9b rebuild sdl2 on linux too 2023-11-28 13:35:01 -08:00
CasualPokePlayer 1441bf98ba pull in some windows specific SDL2 fixes
see https://github.com/libsdl-org/SDL/issues/8617
2023-11-28 13:26:37 -08:00
CasualPokePlayer 20defc890b build newer SDL2 on linux (Debian 10), also pull in some linux specific build fixes 2023-11-25 17:49:49 -08:00
CasualPokePlayer f40e68e903 add in cmake scripts for building SDL2
this gives us a great level of control over how we build SDL2, omitting parts we don't want, and including parts we do want, like libusb support!
windows sdl2 normally doesn't support libusb, but with some magic it can be built and linked in fairly easily, giving windows sdl2 libusb support.
libusb support in sdl2 means official GC adapter support! (resolves #1879)

linux build will be done in a later commit
2023-11-24 22:33:19 -08:00
CasualPokePlayer 1909950742 Rebuild most of the .so's on Debian 10
Also fix up libbizhash so it builds on clang
Slight fixes to sameboy and msxhawk makefiles
Fix rcheevo submodule commit (no actual changes, just make it point to a commit upstream actually has)
SDL2 .so not yet rebuilt, need to consider how to do that
citra seems to need at least Debian 11 to build
libe_sqlite3.so seemed to have already been built with Debian 10 so not bothering touching that
libwaterboxhost.so is Rust / targets glibc 2.28 anyways, nothing needs to be done there
2023-11-22 00:50:47 -08:00
CasualPokePlayer ef90a3d63d Emu83 update
This just mainly updates the build system from scons to CMake and adds msvc/clang compat (dll is rebuild with clang-cl, so will be built later)
2023-11-21 23:25:40 -08:00
CasualPokePlayer 1f58596d3c misc fixes/cleanups in ds firmware handling 2023-11-05 17:00:20 -08:00
CasualPokePlayer e672e9afec oops forgot to rebuild 2023-11-04 05:30:42 -07:00
CasualPokePlayer a73cb3839b oops forgot to rebuild 2023-11-03 07:35:58 -07:00
CasualPokePlayer 169137c204 throw an error if the loaded nand region isn't supported by the loaded dsiware title
this normally wouldn't be needed but people seem to think it's a good idea to shove the same nand file in every region slot in the firmware config
2023-11-03 05:43:10 -07:00
CasualPokePlayer 53c8deae29 add in touch screen input smoothing, fixes #3397 2023-11-02 13:53:27 -07:00
CasualPokePlayer a046ea901b fix username and message not being correctly set for dsi nand 2023-11-02 11:59:05 -07:00
CasualPokePlayer 415fb95861 fix dsi nand writes failing 2023-11-02 11:50:41 -07:00
CasualPokePlayer be9a92ca07 fix something with dsi bios loading
this doesn't really seem to be needed but this is what upstream does
2023-11-02 11:09:29 -07:00
CasualPokePlayer 9e9307ace0 fix last commit -.- 2023-11-02 10:46:33 -07:00
CasualPokePlayer 720a45120b fix nds/dsi bios files not being loaded correctly 2023-11-02 10:41:17 -07:00
CasualPokePlayer 3cbdbf7cd4 fix importing/exporting dsi savs 2023-11-02 10:11:59 -07:00
CasualPokePlayer 659ff2e8de update melonDS
lots of changes needed here as core has done quite a bit of changes (which in any case has reduced needed changes in upstream for our fork, so easier merging in the future)
gl crap is better done with fancy template classes to wrap around the msabi/sysvabi runtime check (so comparing with nullptr or using it as a bool works as expected)
c# changes pending (API has changed)
2023-11-02 09:17:48 -07:00
Moritz Bender e1fb97dee6
Update snes9x to 1.62.3 (#3729)
* Update snes9x to 1.62.3

* Update snes9x submodule

* Implement msu1 for snes9x

* do less bullshit initialization

* Update snes9x submodule
2023-11-02 18:48:54 +03:00
CasualPokePlayer 19552d6408 update Silk.* packages to 2.18.0, remove Silk .config hack (unneeded with this update) 2023-10-21 20:51:42 -07:00
CasualPokePlayer a1ec56d748 allow for TMDs which are larger than needed
quick hack fix to allow DSiWare games to work again, proper fix is to remove the extra 0x700 bytes of certificates in the tmd db which aren't needed
2023-09-28 16:03:15 -07:00
CasualPokePlayer a59e9a1ce8 fix PBO push/popping (glGetIntegerv wants GL_PIXEL_PACK_BUFFER_BINDING not GL_PIXEL_PACK_BUFFER, of course)
add method for transforming touch screen coords back into host screen coords
2023-09-25 22:17:56 -07:00
CasualPokePlayer 3d5c2120f2 Use upstream melonDS's code for doing screen control madness. This means too that both the OpenGL and software renderer will *present* frames with OpenGL (and if this is unavailable, screen control madness will be unavailable)
also fix up this code so upscaling works properly
c# changes pending
2023-09-25 05:21:53 -07:00
CasualPokePlayer 0dc4b94475 fix old pbo not being preserved on reading the framebuffer 2023-09-24 05:42:14 -07:00
CasualPokePlayer f71f2fafc6 OpenGL renderer support in melonDS! 2023-09-24 04:26:55 -07:00
CasualPokePlayer 9c389eadf7 fix seeking not working, put this back to shared_ptr (no make_shared<T[]> in c++17 :( ) 2023-09-17 12:23:53 -07:00
CasualPokePlayer fe3d34dbd3 fix most cursed UAF 2023-09-17 03:23:07 -07:00
CasualPokePlayer 871c2bba8f oops, that wasn't supposed to be deleted 2023-09-17 02:02:10 -07:00
CasualPokePlayer f7786e81b9 Merge melonDS master, do massive cleanup/splitup of code
also, get rid of the GBA SRAM hack where it was inserted in ROMs (gross), instead figure out the size and give melonDS a blank save of the correct size
GBA SRAM is also now in SaveRAM
also add in more memory domains (SRAM/ROM/DSi BIOS)
2023-09-17 00:58:05 -07:00
CasualPokePlayer eefbe7bf62 add in fenv guards for ares64
should prevent issues in case a game decides to change rounding mode (unlikely in practice)
2023-08-10 20:01:21 -07:00
CasualPokePlayer 2e75645cbd merge ares upstream, resolves #3710 2023-08-10 17:15:19 -07:00
CasualPokePlayer bb96825c60
System.Data.SQLite -> Microsoft.Data.Sqlite (#3719)
* Swap System.Data.SQLite with Microsoft.Data.Sqlite

Apparently this is supposed to be a kind of successor? https://learn.microsoft.com/en-us/dotnet/standard/data/sqlite/compare

* Add e_sqlite3 libs to Assets, prevent runtimes folder creation with OS tailored libs plopped in, delete System.Data.SQLite references
2023-08-05 17:45:40 -07:00
CasualPokePlayer 7322e3b9d3 Fix minor graphical issues in Citra due to OpenGL state not being properly saved and restoring during presentation 2023-07-30 00:13:30 -07:00
CasualPokePlayer 871036c81a fix bug which caused the temporary user folder to not be used during movies with Citra
also slightly adjust the linux build script so other compilers can be easily used, add comment explaining why libc++ is used
2023-07-29 19:57:34 -07:00
CasualPokePlayer e62c972ca3 Check in citra dll/so, add in build scripts/linux glslangValidator for citra, some minor cleanup handling with citra input handling 2023-07-29 15:09:17 -07:00
CasualPokePlayer 78f5e75534
Kill Bizware .NET Framework deps (#3702)
The main objective in this PR is to get rid of the main .NET Framework dependencies in Bizware packages. This PR doesn't do that completely per se, still having .NET Framework used for WinForms Controls, but that can easily be swapped over for whatever UI framework we use next as long as it exposes native window handles in some way.

For this PR, it does some reorganizing of Bizware, splitting Bizware.OpenTK3 and Bizware.DirectX into 3 packages based on usage; Bizware.Audio, Bizware.Graphics, and Bizware.Input. These packages in the future probably could have more functionality moved into them, but for now they are largely just a reshuffling of the Bizware.OpenTK3 and Bizware.DirectX packages.

As both SlimDX and OpenTK3 are .NET Framework, they have been removed in this PR. Their replacements are as follows:

SharpDX: DirectSound, Direct3D9
Vortice: XAudio2, DirectInput/XInput
Silk.NET: OpenAL, OpenGL
SDL2-CS / native SDL2: OpenGL context management, new gamepad backend (replacing OpenTK's role for gamepads)
native X11: New key input backend (replacing one of OpenTK's roles for keyboards)

GLControl has been replaced by custom made control which just uses SDL2 for context management.

The OpenTK input backend has been replaced with a combination of SDL2 and an OS tailored key input backend (DirectInput on Windows, X11 on Linux, and planned to be Quartz on macOS). This is just represented on the user side as "SDL2" without mentioning the key input backend. This does mean for a while DirectX will be mandatory on Windows again, until a RAWINPUT backend is written for handling key input on Windows for the SDL2 input backend.
2023-07-23 00:35:43 -07:00
CasualPokePlayer 332143ea8d invalidate cram caches when poking, maybe 2023-05-18 21:14:57 -07:00
CasualPokePlayer 63ec0cecc7 fix picodrive's cram/vsram sizes 2023-05-18 19:29:42 -07:00
CasualPokePlayer 1adb2b45a2 (VirtualJaguar) swap user and interrupt stack pointers when going to supervisor mode for external interrupts, fixes Black ICE
also slight improvements to cd bios hle (don't really do much, but better safe than sorry)
2023-05-10 23:04:49 -07:00
CasualPokePlayer f677e92504 fix TOC field mixup with Jaguar CD 2023-05-07 22:09:52 -07:00
CasualPokePlayer 5f6d70ac46 Fix random crashes with rcheevos. The issue was that rc_runtime_t can store pointers to itself, which is bad when rcheevos expected the user to allocate that struct and did not provide functions for that. I've added that functionality and PR'd it (I'll fixup submodule to point to upstream when it's merged)
PR can be found here: https://github.com/RetroAchievements/rcheevos/pull/239
Also minor fixes wrt the ContinueWith usage in InternalDoRequest
2023-05-03 01:54:57 -07:00
Morilli 76c8b33f16 least-effort "fix" octoshock exe load hard crash 2023-05-03 07:40:39 +02:00
Morilli a5efc8f93b fix, update and rebuild octoshock project 2023-05-03 07:35:53 +02:00
CasualPokePlayer a6deee765f fix stackoverflows in mame with games using k001006_device (e.g. windheat) 2023-04-27 00:55:12 -07:00
CasualPokePlayer f3c58d816d fix #3643 2023-04-22 04:39:12 -07:00
CasualPokePlayer 3701aef5a4 split ares binaries for interpreter vs recompiler 2023-04-19 23:22:00 -07:00
nattthebear 281e3be4a8
bare minimum implementation of getpid/getppid (#3641) 2023-04-19 21:29:45 -04:00
CasualPokePlayer a9dc924c11 Changes in MAME to partially address #3565
Needs #3641 pulled for it to be properly fixed
2023-04-19 18:03:45 -07:00
CasualPokePlayer 4268c50617 Fix RetroAchievements rich presence not working
Cleanup this code so it plays nicer with BizHawk's "run everything on the main thread" (+ WinForms not playing nice with async methods)
Resend any game session start / achievement unlocks / leaderboard triggers if they failed. Wait for all achievement unlocks and leaderboard triggers to finish on Dispose() (mostly for catching them when user closes BizHawk)
Update rcheevos to 10.7.0
2023-04-18 21:35:58 -07:00
Morilli 988ae27292 Fix #3638
I don't even
2023-04-18 17:40:11 +02:00
CasualPokePlayer 52276f7d47 Remove TLS use in MAME
This might not affect things in practice, but its usage was likely dangerous so best not use it.
2023-04-14 20:15:14 -07:00
CasualPokePlayer 7bd848f9f9 fix #3631 2023-04-14 00:22:48 -07:00
CasualPokePlayer 3ffb6c3b52 hack fix #3606 2023-04-02 02:41:59 -07:00
YoshiRulz 53e0907f61
Check-in Linux binary of mGBA 2023-04-02 19:23:55 +10:00
vadosnaprimer 9a3cd21bc4 update mgba to latest master 2023-04-02 12:03:11 +03:00
CasualPokePlayer e4a6d9db67 set initial rtc for epson and sharp rtc in new BSNES
this is needed due to the complete lack of time.rtc handling (and even then, if SaveRAM doesn't exist this is needed)
2023-04-01 02:13:47 -07:00
CasualPokePlayer 22e35c45fc hook up RTC support for new BSNES, resolves #3577 2023-04-01 01:23:16 -07:00
CasualPokePlayer 8ce2aac868 implement flag to clear DSi NAND of any titles that already happen to be installed, implement functions for importing/exporting dsiware sav files
(c# changes using these pending)
2023-03-31 06:21:56 -07:00
CasualPokePlayer 6ea7fd04d8 "fix" issues with ares recompiler not playing nice with states
these issues really come under fault of bad invalidation handling, for now just deal with the state size hit and dont invis these blocks of memory
2023-03-30 19:44:09 -07:00
CasualPokePlayer f7b83be5ab fix lightguns in snes9x, support offscreen shots in snes9x (UI yet to be hooked up), fix lightguns in new bsnes, add option in bsnes to disable drawing light gun cursors (UI yet to be hooked up) 2023-03-30 16:34:04 -07:00
CasualPokePlayer 02caa5fcbb update ares, fix some lingering issues with recompiler 2023-03-29 04:00:10 -07:00
CasualPokePlayer 00152bbaa9 add in dedither filter bit for VI_CONTROL for ares64, fixes #3587 2023-03-28 20:22:20 -07:00
CasualPokePlayer c8a2eca83f use FastMap for sys bus peeks for hypernyma, resolves #3598 2023-03-28 18:18:27 -07:00
CasualPokePlayer 4e83bccd3b make sure wbx c++ files also have NDEBUG defined, fixes 1643bf0 2023-03-28 18:02:46 -07:00
CasualPokePlayer 1643bf01bc add NDEBUG define for wbx cores (release only), fixes #3594 2023-03-28 17:23:06 -07:00
CasualPokePlayer 0a2d4405f0
Revamp Waterbox Setup (#3529)
* Waterbox setup has been revamped to use the latest llvm parts (llvm 16 for compiler_rt/libunwind/libcxx/libcxxabi).
* Clang is now possible to use, and is the preferred compiler (due to superior performance).
* Supported compilers are now clang 14/15/16, and gcc 12.
* Other core updates are mixed in.

---------

Co-authored-by: Morilli <35152647+Morilli@users.noreply.github.com>
2023-03-28 16:53:33 -07:00
nattthebear 64512851fe
Fix up some more issues with Waterbox and 0 size elf data (#3590) 2023-03-23 08:28:10 -04:00
nattthebear eb5ebda53f
Waterbox: Fix various problems with 0 length sections and segments (#3586)
* waterbox: fix crash when init_array is size 0

* also handle 0 len segments
2023-03-18 19:50:32 -04:00
nattthebear 91e6d8023a
waterbox: invis section tweak (#3580)
don't fail when a 0 byte section starts at the same place as invis
2023-03-14 21:02:38 -04:00
Morilli 76cfee6396 rename bs memory domains (and fix rom domain)
- also some other renames for clarity
2023-03-11 07:29:23 +01:00
Morilli c906c830dd Implement bsx + bs memory loading
connect satellaview when loading bsmemory

this makes rtc somewhat work

also mark SubBSNESv115 as BSX core
2023-03-11 07:29:23 +01:00
CasualPokePlayer 27eef71085 Fix some more edge cases against PSX RetroAchievements hashing (and do it a bit nicer)
Update rcheevos, and with that add in the new DSi console ID
Experimentally revamp the build system, I'm looking into cmake here and it seems to do a great job. The builds committed here were built with clang-cl 15.0.1 and clang 15.0.7 (for Windows and Linux respectively). gcc/clang with msys2 still works fine. gcc on Linux should still work fine. MSVC (cl) itself even works (although as a note, it doesn't work with lto (/GL) due to the force everything exported flag I set). The old Makefile is still kept for future reference.
2023-02-19 23:42:33 -08:00
CasualPokePlayer cd1d647d72 linux build for recent gambatte updates, also fix a minor potential build error when zlib is completely unavailable (it was getting linked even though there was no need for it to be linked) 2023-01-10 02:56:19 -08:00
CasualPokePlayer 0dc4f99f9d yet another time fix in gambatte, should be the last one 2023-01-10 02:06:02 -08:00
CasualPokePlayer b56fcaef13 another gambatte time fix, should prevent long periods of pausing from causing rtc overflows in real time mode 2023-01-09 23:49:53 -08:00
CasualPokePlayer 86545197c6 [Gambatte] Cleanup time code, probably fix a bug that caused time to incorrectly advance when loading in a save file 2023-01-09 04:05:38 -08:00
Morilli 00060c3ffa BSNESv115: remove autoJoypad condition in lag detection code
this fixes lag frame detection in Super Bomber Man (Japan) and didn't cause any regression in my limited testing
2023-01-08 22:29:12 +01:00
CasualPokePlayer 05ff3ab40c merge some mGBA upstream commits, partially revert c891cc2cb5 (upstream commits makes our changes not really needed) 2022-12-22 20:26:11 -08:00
Morilli f668e09048 fix dumb mistake in bsnes gamepad controller
fixes 96cc3f8745
apparently this was only an issue in sgb?
2022-12-20 04:20:30 +01:00
CasualPokePlayer 339915c013 check-in NLua to main repo
combine NLua with KeraLua (KeraLua is "gone" now I guess)
make it use the BizInvoker (so now it can properly handle the liblua5.4.so and lua54.dll names differing), also delete the liblua54.so.
minor speedup when creating a new empty table
make lua default to UTF8 internally, so we don't need to manually change the state's encoding
2022-12-17 21:51:10 -08:00
CasualPokePlayer 3bb785a470 oops, apparently didn't commit the build here 2022-12-16 23:12:30 -08:00
YoshiRulz c794d90878
Revert switch to system-wide Lua install on Linux
reverts ab355d469 and 25795d237
2022-12-17 13:35:14 +10:00
CasualPokePlayer 05962cfd93 more proper fix for compilation issue with some gcc versions with ares
fixes 2989a73430
2022-12-16 18:53:33 -08:00
CasualPokePlayer 2989a73430 workaround ares state size being blown up, fix compilation issue in some gcc versions 2022-12-16 18:18:06 -08:00
CasualPokePlayer ab355d4693 check some system lib deps on Linux and force user to provide their own liblua54 from package managers 2022-12-16 15:03:39 -08:00
CasualPokePlayer f3ee3e7956 mGBA update, various cleanups and some reorg 2022-12-15 01:00:36 -08:00
Morilli 837592ca11 BSNESv115+: apply patch to fix $4203 mul/div behavior
see https://github.com/bsnes-emu/bsnes/issues/256 or https://forums.nesdev.org/viewtopic.php?t=24087 for context
2022-12-11 17:18:01 +01:00
Morilli 74b37ab947 BSNESv115+: apply patch to fix CPUMSC reset test
see https://github.com/bsnes-emu/bsnes/issues/235
this patch fixes the test, but its correctness needs to be verified against real hardware
2022-12-11 17:01:02 +01:00
Morilli b0af99a68a BSNESv115+: pull upstream
43e42b2dcaf84c41d09c49745d82f8515e4f7771: simplify SA1 division
c0c60c83a84a49d4a2b822a0491cb258a3c5b98a: fix justifier controller
2022-12-11 16:41:55 +01:00