YoshiRulz
e7d95aa07d
Disable Lua tests in CI
2023-01-03 07:31:27 +10:00
YoshiRulz
ec6fe5fcf1
Change loadstate methods to return a bool indicating success
2023-01-03 06:49:29 +10:00
YoshiRulz
250b839e2c
Extract method from `LoadBranchToolStripMenuItem_Click`
2023-01-03 06:49:29 +10:00
YoshiRulz
007d862c58
Finish renaming quicksave slot 0 to 10 ( resolves #3112 )
2023-01-03 06:49:28 +10:00
YoshiRulz
7f33a8836d
Invert some conditionals in `MainForm` to reduce indent level
2023-01-03 06:49:28 +10:00
YoshiRulz
fcf7ac1fab
Change first param of `{Save,Load}QuickSave` from string to int
...
also swapped bool params of `SaveQuickSave`
2023-01-03 06:49:28 +10:00
YoshiRulz
22ba0d5c25
Dedup click handlers for `File` > `Save State` and `Load State`
...
`File` > `Save Slot` already did this
2023-01-03 06:49:28 +10:00
CasualPokePlayer
4b30cab993
Check the correct integer type for tastudio.setplayback
...
New lua actually has integers so this is a long instead of a double
2022-12-31 18:10:36 -08:00
YoshiRulz
9bc1646693
Nix expr: Refactor deps
2022-12-28 19:05:07 +10:00
YoshiRulz
165f4f4a4d
Nix expr: Add dep updater script and update deps
...
fixes 47c494a5a
2022-12-28 14:50:24 +10:00
YoshiRulz
e2ca00c8c4
Fix symlinks cp'd as regular files
...
fixes 339915c01
2022-12-24 12:35:40 +10: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
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