Commit Graph

45 Commits

Author SHA1 Message Date
Unknown W. Brackets
fc2efe5dff Debugger: Add reason to cpu.stepping event. 2021-10-23 22:08:15 -07:00
Unknown W. Brackets
2bd13c5d9d Debugger: Track reason for entering stepping. 2021-10-23 16:56:15 -07:00
Unknown W. Brackets
32c7ff8436 SaveState: Allow loading save state in exception.
And allow saving as well, since we can maybe resume.
2021-08-08 23:15:27 -07:00
Henrik Rydgård
8c38d7305e Crash: Show disassembly of the instruction causing the crash, and the symbol name. 2020-07-15 12:38:05 +02:00
Henrik Rydgård
6f97c3d422 Various platform buildfixes 2020-07-14 09:25:59 +02:00
Henrik Rydgård
a56f391713 Make fastmem memory exceptions report the exceptions to Core correctly. 2020-07-14 09:25:45 +02:00
Unknown W. Brackets
940066db68 Core: Track exception on bad jumps. 2020-07-12 21:59:08 -07:00
Henrik Rydgård
7dcd708fac Address some feedback 2020-07-12 15:25:27 +02:00
Henrik Rydgard
873c11d7f9 Draw a minimal crash dump on the emu screen after a caught crash. 2020-07-12 15:25:21 +02:00
Henrik Rydgård
a722dfe0fb Formalize "core excpetions" as a concept 2020-07-12 15:25:21 +02:00
Henrik Rydgård
8461ea19b1 Centralize handling of memory exceptions a bit 2020-07-12 15:25:20 +02:00
Unknown W. Brackets
0ed2c03350 GE Debugger: Prevent hang on shutdown.
Since we're blocking the Emu thread, we can't use a hook from the Emu
thread to wake up.

The change to lifecycle callbacks caused this.
2018-06-11 14:54:42 -07:00
Unknown W. Brackets
3193772e78 Debugger: Use a lock for memory reallocs.
Simpler this way, no need to remember to lock memory.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
c15ade3b1b Core: Refactor stepping and locking.
This should fix some race conditions with the cond vars.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets
6fbd0e27bb Core: Remove some unused coreState funcs. 2018-06-06 05:58:50 -07:00
Unknown W. Brackets
e313a9bf6c Debugger: Lock startup/shutdown for threadsafety.
Otherwise things can get freed while we're trying to inspect them.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets
77609bbea2 Debugger: Track a counter when entering stepping.
This allows us to poll coreState and know if a new stepping needs to be
sent.  This is useful to allow e.g. regs to show changes per step.
2018-06-06 05:58:49 -07:00
Henrik Rydgård
42f2312030 Remove the old CPU threading remains, start redesigning interfaces. 2018-01-27 15:10:17 +01:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Henrik Rydgård
0be02f6de0 Improve smallwindow detection, code cleanup. 2017-01-17 17:21:00 +07:00
Unknown W. Brackets
1f7a137926 Android: Detect and report power save mode.
This shows a message when it's on, or when power drops to low.
2016-07-24 17:04:06 -07:00
Henrik Rydgard
0d6ad3df2f Fix wrong type of parameter to UpdateRunLoop. Do not understand how this compiled. 2016-05-28 16:11:02 +02:00
Unknown W. Brackets
95d912c378 Get rid of the input_state global linkage. 2016-05-27 20:24:01 -07:00
Henrik Rydgård
95822a165d Fix Mac build 2016-01-01 14:40:19 +01:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Henrik Rydgard
28d8ed5881 Win32: Fix a bunch of little window resizing issues 2015-05-15 18:04:05 +02:00
Unknown W. Brackets
8f7e98f484 Keep Windows devices from sleeping while playing. 2015-03-01 08:29:11 -08:00
Unknown W. Brackets
1a0f537967 dx9: Avoid triggering reset when size unchanged. 2014-12-28 13:19:19 -08:00
Sacha
8a7573004d Use UpdateRunLoop to handle input and detect minimized window for all platforms. 2014-06-30 00:17:34 +10:00
Henrik Rydgard
3cdf53732b Make the emuthread idle when minimized on Windows. 2014-06-29 13:11:58 +02:00
Henrik Rydgard
c6caff61bf Update native with buildfix. Fix some resizing issues. 2014-02-10 15:14:45 +01:00
Henrik Rydgård
00c32ddadb Mostly get rid of including "Globals.h" 2013-12-30 10:17:11 +01:00
Unknown W. Brackets
4b9056fa02 Shutdown cleanly even when GE debugger is paused. 2013-09-28 00:32:45 -07:00
Unknown W. Brackets
2ac5bcff1f Process savestates during single stepping.
This way we can handle them on the same thread, without weird delays.
2013-09-14 18:43:23 -07:00
aquanull
bb5fce600e Fix/prevent crashes when MainWindow is closed before LoadFile() completes, or when it gets certain messages before TheThread completes initialization.
Fix missing ppsspp.ini loading log (only 1 unimportant line though).
Fix loading ui_atlas.zim failure when [General]Browse = True is set in ppsspp.ini.
Some other minor fixes as well.
2013-06-15 13:06:43 +08:00
Sacha
7282a1c6a3 Support loading assets from QRC (inbuilt in binary). Some Qt fixes. Mobile UI compiles. Qt still has issues. 2013-03-31 16:55:48 +10:00
Henrik Rydgard
bb939321bc Fix symbol map loading, Qt fullscreen build 2013-03-29 22:56:57 +01:00
Henrik Rydgard
724a600381 Buildfix android, misc other fixes, some include cleanup 2013-03-29 20:55:32 +01:00
Henrik Rydgard
84fd5781de GL UI in Win32: Some basics work. 2013-03-29 18:50:08 +01:00
Unknown W. Brackets
7c3c06fd23 Wait for the runloop to end in savestates/debug.
This way, even if the runloop hasn't checked coreState yet, we will wait.
2013-02-23 13:21:28 -08:00
Unknown W. Brackets
2164a7fdf9 Keep track of whether we're in the runloop or not. 2013-02-23 13:01:00 -08:00
Henrik Rydgård
d8da92befa Fix timing issue wiith JIT on non-Windows platforms 2012-12-25 09:02:02 +01:00
Henrik Rydgård
14a59fdc75 Found a better way to do the previous change. Allow JIT on mac/linux. 2012-11-19 14:51:47 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00