Commit graph

2024 commits

Author SHA1 Message Date
Ilari Liusvaara
0ea814c0c3 wxwidgets: Add some missing conversions for string arguments 2014-12-11 08:18:49 +02:00
Ilari Liusvaara
03a57aa421 runuifun: Allow marking cb routine to run once at a time 2014-12-10 08:55:02 +02:00
Ilari Liusvaara
4d86f19837 Add the UI thread checking code
Might still have some false positives.
2014-12-09 16:46:50 +02:00
Ilari Liusvaara
0e29ab43eb Memory editor: Squash another wrong-thread bug
This appears if ROM is loaded for any reason while memory editor is open.
2014-12-09 16:36:59 +02:00
Ilari Liusvaara
a98208c284 Squash some wrong-thread bugs 2014-12-09 13:33:28 +02:00
Ilari Liusvaara
4b44f8ee10 If project switch loads savestate, mark position at point of save 2014-12-04 22:21:41 +02:00
Ilari Liusvaara
b6349a0980 Fix error message if trying to load ROM with project active 2014-12-04 09:58:01 +02:00
Ilari Liusvaara
03de099aae Fix most hotkeys to show up in configuration (were missing due to errant !) 2014-12-03 08:50:52 +02:00
Ilari Liusvaara
8e6eb72351 Wxwidgets: Fix loading ROM from commandline 2014-11-28 18:51:28 +02:00
Ilari Liusvaara
d19d0e8945 Music playback: Guard against crazy pcmpos
Previously crazy pcmpos values could cause division by zero or signed
overflows.
2014-11-27 19:31:01 +02:00
Ilari Liusvaara
3146ec5352 Tracelogger: Unregister the frame callback even on hard kill
Fixes memory corruption if ROM is reloaded and then tracelogger window
is closed.
2014-11-27 16:44:58 +02:00
Ilari Liusvaara
60f9d3b217 bsnes: Add hcounter/vcounter registers 2014-11-24 12:42:29 +02:00
Ilari Liusvaara
514984671d Don't try to unregister killed debug CBs 2014-11-24 11:26:47 +02:00
Ilari Liusvaara
9fdd0bdd38 Tweak format of command help files and do some further command cleanup 2014-11-18 16:19:01 +02:00
Ilari Liusvaara
028a51066c Show VMA relative hex address when dumping debug hook list 2014-11-18 07:43:05 +02:00
Ilari Liusvaara
4ab23cfeb4 Remove unused function 2014-11-17 21:39:47 +02:00
Ilari Liusvaara
5ddf119ef0 Reinitialize gamepads command and fix EVDEV going bonkers on gamepad suddenly disconnecting 2014-11-17 20:12:20 +02:00
Ilari Liusvaara
c68048d029 Module unloading: Small further cleanup 2014-11-17 18:52:27 +02:00
Ilari Liusvaara
15c57d7a8c Module unloading: Small cleanup 2014-11-17 18:48:13 +02:00
Ilari Liusvaara
3b2298180a Allow binding commands to class instance 2014-11-17 15:55:14 +02:00
Ilari Liusvaara
5ee7962cb9 Rudimentary library unloading support
Rather easy to crash the emulator with this, but...
2014-11-17 15:10:13 +02:00
Ilari Liusvaara
fb6d998d43 Memory watch fixes
- Fix editing existing watch
- Fix saving watch on rename in project context
2014-11-16 04:28:14 +02:00
Ilari Liusvaara
fe8b1166d4 Don't try to do controller runtime codegen on X32, it won't work 2014-11-14 16:05:19 +02:00
Ilari Liusvaara
42fef3336f gambatte fixes: Properly save MBC3 without RTC 2014-11-12 11:01:07 +02:00
Ilari Liusvaara
5cfa21b622 Add missing file 2014-11-12 10:40:26 +02:00
Ilari Liusvaara
b9131f852a Show error dialog if project switch fails 2014-11-12 00:12:42 +02:00
Ilari Liusvaara
b218c1aaa0 Allow memory watch to read registers 2014-11-11 20:56:54 +02:00
Ilari Liusvaara
c330c9c42a Fix crash if canceling load of other project 2014-11-11 18:54:02 +02:00
Ilari Liusvaara
212d554ad1 Split audioapi to core interface and driver interface parts 2014-11-10 19:52:10 +02:00
Ilari Liusvaara
e2589db8b7 Rename token_iterator_foreach to token_iterator::foreach 2014-11-10 16:54:18 +02:00
Ilari Liusvaara
b0c08d3a9f Make workthread a class in top namespace and move some stuff under it 2014-11-10 16:26:16 +02:00
Ilari Liusvaara
3c2b0402b2 Refactor memory_region{,_direct} to be subclasses of memory_space 2014-11-10 16:19:27 +02:00
Ilari Liusvaara
b5ed0f73b1 Refactor library GC to its own namespace 2014-11-10 16:06:04 +02:00
Ilari Liusvaara
9a69dc3511 Namespace library port-controller stuff 2014-11-10 05:13:34 +02:00
Ilari Liusvaara
6639ab0437 Refactor controller runtime code generation 2014-11-10 02:53:58 +02:00
Ilari Liusvaara
d32b1697a6 Music: Use all PSID LSIDs as implicit entrypoints (not just the first) 2014-11-05 19:34:57 +02:00
Ilari Liusvaara
0f51ad0b16 C interface: render_text (version bump to v2)
Bump C interface version to 2, in order to add render_text (render text
to bitmap, using system font
2014-11-02 15:01:57 +02:00
Ilari Liusvaara
1dd52cc68b Wxwidgets: --library=<filename> 2014-11-01 11:16:27 +02:00
Ilari Liusvaara
35f027fabf Library: Don't fail link without library support 2014-11-01 11:16:11 +02:00
Ilari Liusvaara
50215d8c01 Print messages about loaded libraries 2014-10-31 23:24:23 +02:00
Ilari Liusvaara
4318618a8f Lua: memory.action_flags
At least these can be used to get state of bsnes layer hide options
without using any bsnes lua...
2014-10-31 12:41:02 +02:00
Ilari Liusvaara
4c5b582796 Oggopus: Complain about single-dpage streams with bad granulepos 2014-10-19 02:40:07 +03:00
Ilari Liusvaara
a00d357bef Remember sound devices 2014-10-19 02:37:55 +03:00
Ilari Liusvaara
25d4f27a9b Remember sound device over sound restart 2014-10-19 02:21:06 +03:00
Ilari Liusvaara
ebb3676505 Fix jukebox slot select 2014-10-19 02:06:12 +03:00
Ilari Liusvaara
b91a6ad5f4 Add few extra sound commands
- Change playback device
- Change record device
- Show devices
- Reset audio driver (I am surprised this doesn't crash the emu)
2014-10-19 00:04:35 +03:00
Ilari Liusvaara
0a51f53abc Don't overdraw in outside draw
If skipping screen area and running out of draw window, don't draw any
more pixels in this line, instead skip to next line.
2014-10-17 23:50:20 +03:00
Ilari Liusvaara
833866cb1a Add -pthread to flags
Modern versions of binutils/gcc seem to need it or one gets undefined
references
2014-09-11 22:11:58 +03:00
Ilari Liusvaara
7893ed36e8 Fix emulator going out of whack after project load 2014-09-11 14:12:35 +03:00
Ilari Liusvaara
e3508934cd Commentary: Fix gain on oggopus export 2014-08-30 00:11:04 +03:00