Henrik Rydgård
9c92978fcc
ImGui debugger: assorted work
2024-11-07 11:10:16 +01:00
Henrik Rydgård
758faac445
Be more consistent about thread naming
2024-11-05 12:53:21 +01:00
Henrik Rydgård
d3e9398cb3
Split Core_EnableStepping into Core_Break and Core_Resume
2024-11-03 17:53:42 +01:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
c5791764d8
Make the i18n T function use std::string_view
...
Buildfixes, crashfixes
One more
Android buildfix
Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
0ad2827e14
Vulkan: Fix synchronization when shutting the GPU down in-game.
2023-10-11 12:27:39 +02:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Unknown W. Brackets
441c940fa9
UI: Remove some unnecessary Host.h includes.
2023-03-25 17:19:21 -07:00
Unknown W. Brackets
55c8b5b601
Windows: Save console position on shutdown.
2023-03-25 17:12:44 -07: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
7d0eac730f
Remove WindowsHost
2023-03-25 10:43:00 +01:00
Henrik Rydgård
e71be8af2e
Remove PollControllers from host. Break out a WindowsInputManager from WindowsHost.
2023-03-24 19:57:24 +01:00
Henrik Rydgård
5af92cfca0
Cleanup
2023-03-24 17:52:56 +01:00
Henrik Rydgård
1250692657
Convert host->SetWindowTitle to a request
2023-03-24 17:52:01 +01:00
Henrik Rydgård
2786786c9f
Avoid Host in Windows graphics init
2023-03-21 14:07:27 +01:00
Henrik Rydgård
dda8635c89
Move three notifications out of Host
2023-03-21 13:37:19 +01:00
Henrik Rydgård
d3955b42bb
Rename some system functions, merge the Launch* ones.
...
android launchurl buildfix
2023-03-21 12:22:59 +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
Unknown W. Brackets
82087ccbb7
Common: Reduce some log levels.
...
Take off a few messages during startup and shutdown.
2021-08-28 09:14:53 -07:00
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
Unknown W. Brackets
f8306891c5
Windows: Avoid segfault if memory except on boot.
2021-03-28 19:44:17 -07:00
Unknown W. Brackets
da28e58ecf
Windows: Stop using 1234 default unused paths.
...
They show in storage now, so just send blank.
2021-02-28 15:09:36 -08:00
Unknown W. Brackets
da2e722794
Windows: Fix some format warnings.
2021-02-14 10:30:10 -08: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
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
342ed97291
Move input utilities from native to Common/Input.
2020-10-01 09:42:32 +02:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Henrik Rydgård
5d64fc5ff1
Switch to PPSSPP's assert functions (don't use the system's)
2020-08-16 10:01:10 +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
Unknown W. Brackets
9573e7216b
Windows: Make init crash warnings more generic.
...
Let's not trap ourselves in the mindset that it MUST be graphics.
2020-05-08 23:24:19 -07:00
Unknown W. Brackets
de7aa5b64e
Windows: Show a message when failing over backend.
...
Best that we make sure people know when this has happened, probably.
Also, fix the fallback to OpenGL, which was broken on Windows.
2020-03-28 06:19:11 -07:00
Unknown W. Brackets
5009698cc0
Core: Use a shared_ptr for i18n categories.
...
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
d91f706206
Log why the config is being saved (we seem to do it a bit much at times)
2019-02-23 11:55:44 +01:00
Unknown W. Brackets
f906fbed35
Core: Track graphics startup failures and cycle.
...
If the graphics driver segfaults, or some plugin segfaults, let's try a
different one next time. This gives better hope of starting up next time.
2018-09-01 19:59:13 -07:00
Unknown W. Brackets
b4496f1975
Core: Move config enums to separate file.
...
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Henrik Rydgård
b0a22fb5c7
Redirect the user to download the D3D9 runtime if D3D9 is not available and they don't want to switch to OpenGL.
...
Maybe should also update the messagebox text somehow...
2018-03-25 00:46:48 +01:00
aliaspider
54d9406713
fix mingw and msvc cmake builds.
2018-03-23 03:18:13 +01:00
Unknown W. Brackets
17bcb080f0
GLES: Fix shutdown while stepping.
2018-02-11 15:19:16 -08:00
Unknown W. Brackets
cdf378d20c
GLES: Prevent race condition on shutdown.
...
emuThreadState might become STOPPED before the last frame has been run,
which can cause WaitUntilQueueIdle to hang.
It's simpler just to wait until StopThread() is called, since it now is.
This will line up properly with run_.
2018-02-11 11:40:11 -08:00
Unknown W. Brackets
586e35ad23
Windows: Prevent shutdown lag for non-GL.
...
For Vulkan/D3D, it was taking an extra second to quit.
2018-02-10 16:55:51 -08:00
Unknown W. Brackets
2bec3bf3ac
Windows: Trigger StopThread() on shutdown.
...
Otherwise, we end up hanging in the loop waiting for emuThreadState to
become STOPPED. It actually has, but ThreadFrame() will block until a new
frame is queued... while will never happen, because the emuthread has
stopped.
2018-02-10 16:55:44 -08:00
Henrik Rydgård
ae19c48138
Cleanup the Windows thread stuff to work like the other platforms. Not quite perfect yet.
2018-02-07 16:00:29 +01:00
Henrik Rydgård
7f30037e45
Android: Fix emuthread management to exit cleanly without hanging. Helps with task switching on Android.
2018-02-07 13:11:43 +01:00
Unknown W. Brackets
9945e011c6
GLES: Avoid a shutdown race condition.
...
Also handle DeviceLost before shutdown better.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
fdca06d208
More work on shutdown, still hanging though.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
af6431986d
OpenGL: Now run GL on a secondary thread. Sync issues remain.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
465939e1c8
Minor fixes, indentation and comments
2018-01-27 15:10:17 +01: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
d6da758ed3
GPU: Remove duplicate BACKEND constants.
2017-12-26 15:55:24 -08:00