Henrik Rydgård
ab37b8dea9
Rename a couple of types to avoid clashes with a Mac header, sigh.
2023-04-28 13:38:16 +02:00
Unknown W. Brackets
1676f18dd3
UI: Fix PC display on fast mem crash.
2023-04-16 19:10:20 -07:00
Henrik Rydgård
2814668cf5
Show a MIPS stack trace on crash screen ( #17211 )
...
* Print simple stack traces to log on crashes.
* Display stack traces on crash screen
* Show the in-function offset in the printed callstacks.
* Libretro buildfix attempt
2023-03-31 10:08:12 +02:00
Henrik Rydgård
d586ec0d5e
Don't create Host objects except in headless/unittest
2023-03-25 10:47:01 +01:00
Henrik Rydgård
f60f5ccaea
Move SetDebugMode notification
2023-03-21 13:39:00 +01:00
Henrik Rydgård
dda8635c89
Move three notifications out of Host
2023-03-21 13:37:19 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård
c8dce81ff0
Merge pull request #16156 from hrydgard/opengl-thread-refactor
...
OpenGL threading refactor
2023-01-31 11:14:01 +01:00
Henrik Rydgård
0f52954eae
Minor log cleanups
2023-01-30 14:38:05 +01:00
Henrik Rydgård
436a3e0d61
Cleaner exit from emuthread, as used by OpenGL. Don't know how it worked before...
2023-01-30 11:49:31 +01:00
Henrik Rydgård
e37be42a6c
Windows: Adjust window sleep interval in idle menus to refresh rate
...
For smoother scroll animations if you have a high refresh rate monitor.
2023-01-04 16:33:00 +01:00
Henrik Rydgård
aa80659530
Memory exception: Add facility to track size
...
Might theoretically help in tracking some things down.
Not fully utilized yet, the fault handler needs to extract the
information from the faulting instruction. But we can use it for
GetPointerRange etc.
2023-01-01 20:30:29 +01:00
Henrik Rydgård
97fadbcecb
Show bluescreen properly on memory errors that we failed to ignore.
...
Previously we just wouldn't draw it but still would be in the error
state.
2022-12-30 12:29:23 +01:00
Unknown W. Brackets
74084f4420
Debugger: Don't hang mem dump if stepping in GE.
2022-12-18 21:26:59 -08:00
lainon
fec708489a
Correct cleaning string and remove unused vars
2022-09-30 12:26:30 +03:00
Unknown W. Brackets
8e7847f6d9
UI: Show return address for exec crashes.
2022-08-21 14:49:34 -07:00
Unknown W. Brackets
90517ace59
irjit: Validate alignment in slow memory mode.
2022-08-21 13:24:10 -07:00
Unknown W. Brackets
3df6cb704f
Global: Fix some type conversion warnings.
...
Hidden by some warning disables.
2022-01-30 16:09:33 -08:00
Unknown W. Brackets
129a603832
Display: Account for stepping time in graphs.
...
Frame times should count that as sleep too.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
db2eddcf27
Debugger: Remove double debug window updates.
...
Core_EnableStepping() is already marking the debug windows for update,
there's no need to call SetDebugMode() again.
2021-12-12 11:24:03 -08:00
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
Unknown W. Brackets
bd99574e5b
Core: Ensure exception is reset on reset.
...
Otherwise, we hold on and show this during stepping which is confusing.
2021-08-08 23:01:35 -07:00
Henrik Rydgård
f6b2070e47
Cause the correct type of exception. Never ignore EXEC_ADDR exceptions.
2021-02-09 09:38:03 +01:00
Henrik Rydgård
6b4356a060
Handle exec addr errors better - don't let IgnoreBadMemoryAccesses skip dispatcher exceptions.
...
It would then just fall through into the compiler and die.
Should remove one of the "mystery" crashes from #14082 .
2021-02-09 09:32:38 +01:00
Henrik Rydgård
35ca3714e3
Revert "Cleaner exit on Windows. Will hopefully help #13325 "
...
This reverts commit 92e648b73d
.
Fixes #13796
2020-12-23 14:33:10 +01:00
Henrik Rydgård
92e648b73d
Cleaner exit on Windows. Will hopefully help #13325
2020-12-19 20:31:58 +01:00
Henrik Rydgård
f01ba6dc84
Move NativeApp.h to Common/System, split into NativeApp.h and System.h
...
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437
Move Display.cpp/h to Common.
2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4
Move the profiler to Common
2020-10-04 11:42:16 +02:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Henrik Rydgård
054acf768c
Don't cache time in a variable.
...
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Henrik Rydgård
c41f875df4
Remove base/logging.h in a whole lot more places.
2020-08-15 19:09:00 +02: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
Unknown W. Brackets
940066db68
Core: Track exception on bad jumps.
2020-07-12 21:59:08 -07:00
Unknown W. Brackets
b071db9ec2
Core: Reset exception info on resume/reset.
...
If you restart the game, it shouldn't still have this (will only show if
you enter debugging, but still.)
2020-07-12 21:29:03 -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
Henrik Rydgård
efc3f4f5e4
Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR
2020-07-12 15:25:20 +02:00
Henrik Rydgård
f9cef5b6b2
Partly clean up SDL resize code, should help #11974
2020-06-24 01:06:01 +02:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places
2020-02-04 09:20:34 +08:00
李通洲
0a2aa2c3af
Qt/macOS: enable HiDPI ( retina display ) support
2020-02-04 09:20:34 +08:00
driver1998
0e9f53c8b4
UWP Window resizing support
...
this correctly resize the render view when the Window is resized
2019-05-13 15:43:11 +08:00
Unknown W. Brackets
ca8677d262
UI: Keep rendering UI even while stepping.
...
This makes it possible to "get out" on mobile.
2018-06-24 06:24:08 -07:00
Unknown W. Brackets
a0608d7fc5
Debugger: Allow GPU actions while stepping.
...
This allows pulling the display/target while paused. It may also allow
other actions that work outside a display list.
2018-06-16 13:57:45 -07:00