Commit Graph

62 Commits

Author SHA1 Message Date
Henrik Rydgård
f5472ba0d8 Cleanup up unnecessary audio init functions 2023-03-21 13:39:02 +01:00
Unknown W. Brackets
753ac95307 Debugger: Fix game.reset by adding a reboot status.
We don't want EmuScreen to auto-exit, and we don't want to double-lock the
debugger lifecycle lock.  Let's just handle reboot specifically.
2022-10-01 18:13:22 -07:00
Henrik Rydgård
94800f6194 Inline the CoreParameters accessor (eliminates a function call for each access) 2022-06-11 12:13:07 +02:00
iota97
5e1062678f Allow custom UI themes 2022-02-11 12:42:38 +01:00
Unknown W. Brackets
1532a729d7 Core: Allow forcing debug statistics collection.
Useful for remote debugging.
2021-10-19 10:01:41 -07:00
Unknown W. Brackets
75eeb55617 UI: Use a UIState for exceptions.
This makes it so we can enable Stop/Reset/etc. during them in the menus.
2021-08-08 23:40:41 -07:00
Henrik Rydgård
8ab627d6e9 Workaround for the /PSP path thing. Needs testing. 2021-07-25 17:32:12 +02:00
Henrik Rydgård
b0558b2174 Assorted directory fixes 2021-07-19 17:34:50 +02:00
Henrik Rydgård
72915f88c8 Config: Remove the use of multiple search paths. 2021-05-30 12:39:16 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
ed9c54b93a Add an iOS-only utility in devtools to copy savestates to memstick root.
Makes it easier to access the files on iOS over USB from MacOS.
2020-12-16 14:52:34 +01:00
Unknown W. Brackets
e383b0279f Plugins: Support for loading game-specific plugins. 2020-09-08 09:12:19 -07: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
efc3f4f5e4 Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR 2020-07-12 15:25:20 +02:00
Unknown W. Brackets
670e207c57 Core: Wait for background CPU load on exit.
This prevents crashes when exiting a game while loading is still in
progress.  See #11516.
2018-11-01 21:29:34 -07:00
Unknown W. Brackets
7ee4d2d5a1 UI: Ask for restart when changing graphics device.
Only for D3D11 and Vulkan.

Also, makes Vulkan follow D3D11 in not changing the setting if the device
is not found on startup.
2018-09-30 00:53:21 -07:00
Unknown W. Brackets
3dac5f2103 Debugger: Add current game info. 2018-06-08 06:59:17 -07:00
Unknown W. Brackets
2e2d8f2989 Core: Process stepping on other platforms.
This includes Android.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets
88e01c7944 UI: Show more detailed loading status.
It's sometimes taking longer, so this may make it easier to identify.

See #10673.
2018-03-12 18:06:46 -07:00
Henrik Rydgård
42f2312030 Remove the old CPU threading remains, start redesigning interfaces. 2018-01-27 15:10:17 +01:00
Kentucky Compass
d8b3f4af33 Handle iOS audio session interruptions by reinitializing audio 2017-12-31 00:37:20 -08:00
Henrik Rydgård
d618b3673b Count readbacks in a frame and show in GPU debug stats. 2017-11-08 11:57:53 +01:00
Henrik Rydgård
d82f90f1b2 More RIP removal 2017-07-07 11:33:05 +02:00
Unknown W. Brackets
e8e65881b8 Windows: Avoid restarting completely on GPU change.
This retains the logger, avoids an annoying window open/close, and most
importantly for me: keeps the debugger attached.
2017-04-15 16:33:30 -07:00
Unknown W. Brackets
01703f7ffc Core: Add UI option to enable frame drop logging. 2017-03-23 19:27:16 -07:00
Unknown W. Brackets
438af2f4fa Core: Separate collecting and displaying stats. 2017-03-23 18:57:18 -07:00
Chris Burgener
7d089a0f76 Clean up various files 2016-09-03 19:23:17 -04:00
Chris Burgener
1fc6191c85 Add Frame Dumping for Windows 2016-09-02 12:52:52 -04:00
Unknown W. Brackets
c4e98433b8 Add config to save or load replaced textures. 2016-04-30 14:05:03 -07:00
Henrik Rydgard
01e3fbae95 Fix clearing bug, add FIFO_RELAXED flag, etc 2016-03-20 19:30:11 +01:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Henrik Rydgard
e11d0a7e1c Minor GPU interface cleanup 2016-01-06 23:49:02 +01:00
Unknown W. Brackets
aa0055cea7 Track the running GPU backend separate from config.
This way we can change the config directly when we want to save a new
setting, rather than having hacks to use a temp var.
2016-01-05 22:37:28 -08: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
Unknown W. Brackets
88b23460f1 Add a file loader to perform disk caching.
Had to do some tricks to handle gameinfocache threads properly.
2015-07-02 20:58:58 -07:00
Henrik Rydgard
381e0c0fe3 Implement basic savedata UI. Not much actual functionality yet but can browse saves and states. 2015-06-11 23:59:02 +02:00
Unknown W. Brackets
967b589778 Consistently use FileLoader for standard ISOs. 2014-11-23 13:59:56 -08:00
Henrik Rydgard
6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
The Dax
8c31e1ca21 Add a basic decrypted EBOOT.BIN dump function.
It won't dump already decrypted EBOOTs.
2014-02-27 01:35:17 -05:00
Unknown W. Brackets
a73b15b963 In multithreadead, load the game async.
This way if it takes time to load, things aren't frozen while it's doing
that.  This allows us to show any sort of loading animation or etc. we
want.

Before, it might show a odd looking game select screen while loading, and
then finally go to black.  Now it immediately goes to black.

Fixes #2030.
2014-01-19 14:41:01 -08:00
Henrik Rydgård
ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård
87f203a5b8 More include untangling 2013-12-29 23:44:35 +01:00
Henrik Rydgård
79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Unknown W. Brackets
879060f008 Use a CORE_POWERUP state when starting.
Otherwise, we could startup in CORE_POWERDOWN in a second game, which is
confusing.
2013-11-09 23:07:52 -08:00
The Dax
b549a4e6e5 Assume g_Config.memCardDirectory will have a trailing slash. Make InitSysDirectories for Win32 only. 2013-10-15 03:41:10 -04:00
The Dax
6efd5b33f7 We don't really need DIRECTORY_FLASH0 or DIRECTORY_MEMSTICK. 2013-10-15 03:41:10 -04:00
The Dax
c7bdeb3084 Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
On Win32, call InitSysDirectories before the emuthread starts just to be safe.
2013-10-15 03:41:10 -04:00
Unknown W. Brackets
21f522746f Cleanup shutdown on Windows to avoid races.
Was still getting crashes sometimes.
2013-10-12 01:40:33 -07:00
Unknown W. Brackets
8902e85f0a Enable the debug windows always, disable buttons.
This way you can close them/whatever, and hopefully should avoid crashes.

Only downside is you can't pause the game now and then hit stop in the
debugger.
2013-09-15 09:35:58 -07:00
The Dax
5b2483ee73 Fix a bug where sound would never be initialised if a game is started with it off, then later enabled. 2013-08-14 08:47:10 -04:00