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
CasualPokePlayer
c2a5b37799
Update contributing guide for the new Lua setup
2022-12-21 20:46:20 -08:00
James Groom
bc12fcca87
Minor revision to EmuHawk contribution guide
2022-12-22 01:58:14 +10:00
CasualPokePlayer
00d450075e
oops forgot a colon here
2022-12-21 00:43:52 -08:00
CasualPokePlayer
c7c5ed229d
add pc2 extension for wonderswan
...
these are pocket challenge v2 roms, which is some handheld system which is actually just a wonderswan inside so these roms work anyways with cygne
2022-12-21 00:41:42 -08:00
CasualPokePlayer
2c75e9bf96
remove this unneeded using of System.Drawing (i don't know how that got here)
2022-12-20 23:32:12 -08:00
CasualPokePlayer
91ce98ef12
better handle lua on linux, be compatible with lua 5.3 (we don't actually use any API exclusive to 5.4 so no real change in this case)
2022-12-20 23:30:33 -08:00
Morilli
603530d540
set gcAllowVeryLargeObjects to allow 2GB+ arrays
2022-12-21 07:43:34 +01:00
Morilli
79857a3b71
Revert "make a new "FixedGrowthList" and use it for the StringLogs"
...
This reverts commit da5fae0b01
.
2022-12-21 07:42:31 +01:00
nattthebear
66c19cfcb2
Support marshalling arrays of length 0 through BizInvoker
...
Such arrays will be marshalled with valid and unique pointers that can be compared but not read from or written to.
2022-12-20 18:04:41 -05:00
CasualPokePlayer
5b0fe947df
fix #3498
2022-12-20 10:40:03 -08:00
Morilli
576ab3174b
best-effort fix bundled smw lua script
2022-12-20 18:21:44 +01:00
YoshiRulz
6678fb4296
More cleanup of switch in `RetroAchievements.SystemIdToConsoleId`
2022-12-20 18:58:17 +10:00
YoshiRulz
7703ee5f37
Refactor `IGameboyCommon.IsCGBMode`
2022-12-20 18:58:17 +10:00
YoshiRulz
a54c94230f
Restore system menu behaviour re: SGB
...
fixes 81fe56fa6
2022-12-20 18:58:12 +10:00
Morilli
81fe56fa6e
provide correct sysid in BsnesCore
2022-12-20 04:22:23 +01: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
YoshiRulz
aa0e2d6a5f
Use new CartRAM domain name in GBHawk's CDL impl. ( fixes #3497 )
...
fixes 7e00b7892
2022-12-19 13:20:37 +10:00
CasualPokePlayer
cee263e272
oops didn't mean to checkin this experiment (it doesn't do anything actually)
2022-12-17 21:53:47 -08: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
a1da5753ee
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:50:56 -08:00
Morilli
55fdcbb3d1
Don't set modifiers for key release events
...
this fixes a bug in 1df6ce4e38
, where an incorrect modifier state could be set, causing the release event to not actually release the key. I also don't see a reason to not just not set modifiers.
For example: "Hold Tab", "Hold Shift", "Release Tab" would send a "Release:Shift+Tab" event which failed to release Tab, even though that key was initially pressed without Shift.
So, instead of trying to match the right modifiers and keys just send the released key without modifier state and let the Receive() function do the work.
2022-12-18 06:03:55 +01:00
YoshiRulz
8db15d6951
Show warning dialog when running as Superuser/Administrator
2022-12-18 12:21:43 +10:00
YoshiRulz
767e30eee5
Also rename bundled CPC firmware files (see #3494 )
...
fixes 5be8b0aab
2022-12-18 12:02:23 +10:00
CasualPokePlayer
8d5f7b5478
make selecting user shaders not crash with the default empty string path
...
Path.GetDirectoryName throws if it is handed an empty string apparently
2022-12-17 12:16:03 -08:00
YoshiRulz
a680739c6e
Rename bundled ZX Spectrum firmware file ( resolves #3494 )
...
fixes 5be8b0aab
2022-12-17 22:47:57 +10:00
CasualPokePlayer
3bb785a470
oops, apparently didn't commit the build here
2022-12-16 23:12:30 -08:00
CasualPokePlayer
58beef8a46
remove speex use in melonDS (see 5f0e6a2242
for unmanaged side changes)
2022-12-16 23:04:35 -08:00
CasualPokePlayer
5f0e6a2242
updae melonds, rework the audio so it is internally resampled with blip_buf (also allows for avoiding some copying, also corrects some minor audio defects)
2022-12-16 23:03:28 -08:00
CasualPokePlayer
5e9e9ac289
remove libspeexdsp use in old bsnes core
2022-12-16 20:45:25 -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
25795d2372
remove GetErrorMessage call for Linux dep checks
2022-12-16 15:26:11 -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
2187602dc1
fix Package.sh too
...
fixes 91e400bdd9
2022-12-16 00:05:40 -08:00
CasualPokePlayer
91e400bdd9
fix QuickTestBuildAndPackage to include the "overlay" folder (meant for RetroAchievements stuff)
2022-12-16 00:00:07 -08:00
CasualPokePlayer
767cc9059d
Improve handling of RA http requests, add some handling in case RA sound files are missing. Normally this shouldn't be needed as docs specify if the wav file fails to load it plays the default beep sound, except actually it just throws in practice???
...
The 2.9 rcs apparently have the "overlay" folder missing, so the sound files aren't present. I'm assuming there's some issue with build scripts there for releases...
2022-12-15 23:45:29 -08:00
CasualPokePlayer
f3ee3e7956
mGBA update, various cleanups and some reorg
2022-12-15 01:00:36 -08:00
adelikat
f6503adfb8
Update virtualpads immediate when the movie status changes, huge improvement when using tastudio and virtualpad together as the record checkbox toggle now changes the readonly status of the pad
2022-12-13 08:39:29 +10: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
CasualPokePlayer
27f6800d45
fix #3489 (InitializeWork is called by itself for each gamedb file #include'd, so the event would have been set once the first gamedb file is loaded, oops), do some other cleanup here
2022-12-10 23:42:08 -08:00
CasualPokePlayer
b3c7f0fa48
IPlatformLuaLibEnv -> ILuaLibraries / Win32LuaLibraries -> LuaLibraries, cleanup usage of it, fix doc error in client.gettool
2022-12-10 21:46:22 -08:00
YoshiRulz
f101cb5a54
Additional corrections to newly-added Lua documentation
...
fixes 49cd836e1
, c7781d1c1
2022-12-11 13:35:29 +10:00
YoshiRulz
c7781d1c17
Add Lua migration helper library for bitwise ops
...
see 49cd836e1
, #3485
put `bit = (require "migration_helpers").EmuHawk_pre_2_9_bit();` at top of file
can now easily add helpers for migrating from other emulators
2022-12-11 13:19:19 +10:00
YoshiRulz
cbb335fec2
Fix Lua `require` not looking in Lua dir on Linux
...
see #3485
thanks to @CasualPokePlayer for research and initial implementation
2022-12-11 13:16:07 +10:00
CasualPokePlayer
9e4836d300
libretro handling cleanup, reorg some of this, fix some input cases, better domain names
...
funsie found in this cleanup: can't use `in` params with the BizInvoker as it doesn't like the read only semantics (results in some exception in CreateType)
2022-12-10 04:45:00 -08:00
feos
dc774ed8be
update EWJ2 script too
2022-12-09 13:06:41 +03:00