Connor McLaughlin
d9893bb127
System: Add option to use a single memory card for playlists
2020-08-16 00:20:10 +10:00
Connor McLaughlin
dedeee1698
System: Track playlists in save states
2020-08-16 00:20:10 +10:00
Connor McLaughlin
d4665e8b22
GPU: Tweaks to ODE handling
...
Fixes Team Buddies and The Next Tetris.
2020-08-16 00:20:10 +10:00
Connor McLaughlin
b1377fe0d9
CPU/Recompiler: Add a fast block lookup array
...
Up to 15% perf improvement.
2020-08-08 23:06:28 +10:00
Connor McLaughlin
e5c46a54b7
System: Restore/reset state on recreating GPU/updating settings
...
Fixes display corruption on RetroArch when switching renderers.
2020-08-06 23:20:52 +10:00
Connor McLaughlin
e9882a10aa
System: Move restore/reset graphics API state to System
...
Fixes frame stepping.
2020-08-01 16:45:07 +10:00
Connor McLaughlin
2eb9384275
Replace more instances of fopen() with FileSystem::OpenFile()
2020-08-01 14:00:22 +10:00
Connor McLaughlin
b6f871d2b9
JIT optimizations and refactoring ( #675 )
...
* CPU/Recompiler: Use rel32 call where possible for no-args
* JitCodeBuffer: Support using preallocated buffer
* CPU/Recompiler/AArch64: Use bl instead of blr for short branches
* CPU/CodeCache: Allocate recompiler buffer in program space
This means we don't need 64-bit moves for every call out of the
recompiler.
* GTE: Don't store as u16 and load as u32
* CPU/Recompiler: Add methods to emit global load/stores
* GTE: Convert class to namespace
* CPU/Recompiler: Call GTE functions directly
* Settings: Turn into a global variable
* GPU: Replace local pointers with global
* InterruptController: Turn into a global pointer
* System: Replace local pointers with global
* Timers: Turn into a global instance
* DMA: Turn into a global instance
* SPU: Turn into a global instance
* CDROM: Turn into a global instance
* MDEC: Turn into a global instance
* Pad: Turn into a global instance
* SIO: Turn into a global instance
* CDROM: Move audio FIFO to the heap
* CPU/Recompiler: Drop ASMFunctions
No longer needed since we have code in the same 4GB window.
* CPUCodeCache: Turn class into namespace
* Bus: Local pointer -> global pointers
* CPU: Turn class into namespace
* Bus: Turn into namespace
* GTE: Store registers in CPU state struct
Allows relative addressing on ARM.
* CPU/Recompiler: Align code storage to page size
* CPU/Recompiler: Fix relative branches on A64
* HostInterface: Local references to global
* System: Turn into a namespace, move events out
* Add guard pages
* Android: Fix build
2020-07-31 17:09:18 +10:00
Connor McLaughlin
dd48a1f585
System: Handle large event timing overshoots better
...
Usually a result of DMA cycle stealing. Instead of adding all time, add
min(all_events.downcount) at a time. 1.5% performance improvement, but
fixes desyncs between the SPU and CD-ROM.
2020-07-30 00:47:19 +10:00
Connor McLaughlin
8e1c0a4fe4
System: Support loading m3u playlists
2020-07-23 02:36:05 +10:00
Connor McLaughlin
d46c104d1b
System: Preload CD images to RAM when switching/loading state
2020-07-23 02:35:23 +10:00
Connor McLaughlin
f28ef01d24
CDROM: Move audio FIFO to CDROM class and skip sectors when unempty
...
Fixes cutscene audio in Nickelodeon Rugrats - Search for Reptar.
2020-07-22 00:05:52 +10:00
Connor McLaughlin
9496c992f7
System: Add an option to preload CD image to RAM
2020-07-22 00:03:22 +10:00
Connor McLaughlin
93528db388
System: Use existing CD media when loading state where possible
2020-07-22 00:02:37 +10:00
Connor McLaughlin
5c1c467e38
GTE: Add widescreen hack
2020-07-18 00:28:37 +10:00
Connor McLaughlin
a5fe740e30
Fix a bunch of compiler warnings
2020-07-09 13:30:16 +10:00
Connor McLaughlin
b0b3901722
libretro: Fix DualShock analog mode auto-enable
2020-07-05 00:05:14 +10:00
Connor McLaughlin
4dc9e10777
HostInterface: Support per-controller-type settings
2020-07-01 00:56:46 +10:00
Connor McLaughlin
936d92dfb8
System: Add option to force start in software mode
2020-06-30 02:44:19 +10:00
Connor McLaughlin
919494079b
System: Make saving screenshots to state optional
2020-06-30 02:44:09 +10:00
Connor McLaughlin
58b0e6859a
Frontend: Reset/restore GPU state before saving screenshot
...
Fixes driver crashes in Vulkan.
2020-06-27 02:59:58 +10:00
Lioncash
76af96f15b
system: Correct error dialog in PSF load case
...
Corrects the error message to state that the PSF couldn't be loaded
rather than EXE.
2020-06-23 05:13:47 -04:00
Connor McLaughlin
49d11988bf
Core: Add Vulkan GPU renderer
2020-06-19 00:18:17 +10:00
Connor McLaughlin
bdf9c91271
GPU: Fix double shader compilation
2020-06-09 03:04:02 +10:00
Connor McLaughlin
075380f8e0
Move most helper logic from base HostInterface to FrontendCommon
2020-06-09 02:35:37 +10:00
Connor McLaughlin
b4e45e865a
GPU: Use correct clocks for NTSC region
...
Fixes sync drift in Bust-a-Move 1/2.
2020-06-07 19:15:06 +10:00
Connor McLaughlin
b17a5832e5
System: Simplify save state booting
...
Fixes memory card warning messages on load state.
2020-05-27 02:01:11 +10:00
Connor McLaughlin
d2c7639dd8
System: Update per-game memory cards on load state
...
Prevents saves being written to incorrect card after loading.
2020-05-27 00:41:58 +10:00
Connor McLaughlin
9539ce032b
AnalogController: Show controller number in OSD messages
2020-05-08 15:32:39 +10:00
Connor McLaughlin
9d1eb321ec
DMA: Properly handle infinite linked lists, add cycle stealing
...
Fixes Tekken 2, Hot Wheels Turbo Racing, probably others.
2020-04-29 16:52:15 +10:00
Connor McLaughlin
e20fd61f0b
System: Add option to use per-game memory cards with game title as filename
2020-04-28 01:04:10 +10:00
Connor McLaughlin
74e455a5f7
System: Support per-game memory cards
2020-04-27 16:22:25 +10:00
Connor McLaughlin
e6bd6587fd
Controller: Add emulation of Namco GunCon
2020-04-26 01:23:58 +10:00
Connor McLaughlin
92255c8ddd
System: Don't drop audio buffers when time lost
2020-04-25 14:51:25 +10:00
Connor McLaughlin
08c8d1a521
System: Support saving screenshots in save states
2020-04-21 02:50:45 +10:00
Connor McLaughlin
205297ac27
System: PSF (Portable Sound Format) loading support
2020-04-17 00:29:56 +10:00
Connor McLaughlin
a43a0a14cc
CPU/CodeCache: Don't leak blocks on shutdown
2020-04-16 20:23:54 +10:00
Connor McLaughlin
6775100170
GPU: Drop OpenGL ES renderer
...
We can put this through the normal GL renderer instead.
2020-04-11 00:00:10 +10:00
Connor McLaughlin
08567fedf4
CDROM: Fix crash when loading save state from different system
2020-04-08 13:08:27 +10:00
Connor McLaughlin
a9109c7552
System: Don't insert blank memory card if path unspecified
2020-03-30 00:14:15 +10:00
Connor McLaughlin
88f1edd48d
System: Include console region in save state
...
Fixes #149 .
2020-03-25 01:49:20 +10:00
Connor McLaughlin
40d6be7142
System: Frame pacing improvements
2020-03-24 00:21:11 +10:00
Connor McLaughlin
cbb9b96537
System: Include buffer swap time in frame time measurement
2020-03-24 00:20:56 +10:00
Connor McLaughlin
86eefbd5d7
System: Fix a possible assertion failure loading state
2020-03-12 15:32:37 +10:00
Connor McLaughlin
3effa1238f
CDROM: Return correct SCEx string based on disc region
...
Fixes SCEI/SCEE displaying as SCEE in BIOS.
2020-03-12 13:51:53 +10:00
Connor McLaughlin
e0a339ca96
GameList: Seperate disc region and console region
2020-03-12 13:51:29 +10:00
Connor McLaughlin
69f03959aa
Qt: Implement context menu in game list
2020-03-02 11:08:16 +10:00
Connor McLaughlin
49c7767ed4
System: Check save state version when loading
...
Fixes #34 .
2020-02-22 17:16:47 +09:00
Connor McLaughlin
70fe43a3ec
System: Implement variable emulation speed
2020-02-11 12:02:42 +09:00
Connor McLaughlin
c820ddba79
HostInterface: Move throttle and perf stats to System class
2020-02-09 22:16:25 +09:00
Stenzek
c26b9bc54c
System: UpdateCPUExecutionMode -> SetCPUExecutionMode
2020-02-05 17:43:00 +09:00
Connor McLaughlin
1b9609ef61
Implement event-based scheduler instead of lock-step components
2020-01-24 16:23:39 +10:00
Connor McLaughlin
4a3478b360
HostInterface: Add function to switch between sw/hw rendering
2020-01-24 14:51:53 +10:00
Connor McLaughlin
abf48b6cc2
Qt: Update GPU settings when enhancements are changed
2020-01-24 14:51:33 +10:00
Connor McLaughlin
77b282862f
HostInterface: Move running title info to System
2020-01-24 14:51:05 +10:00
Connor McLaughlin
0a5f7fcd75
System: Update running game when media changes from save state
2020-01-24 14:50:48 +10:00
Connor McLaughlin
20b60e0f01
Qt: Update window title/save states from running title
2020-01-24 14:50:46 +10:00
Connor McLaughlin
71c1e243fe
Remove YBaseLib dependency
2020-01-10 13:40:53 +10:00
Connor McLaughlin
e0086156ca
System: Compile fix for Linux
2020-01-08 13:34:21 +10:00
Connor McLaughlin
ad21f48a67
Fix Android build after controller changes
2019-12-16 16:46:43 +10:00
Connor McLaughlin
1d2bd11b02
Frontend: Add controller settings
2019-12-15 22:24:27 +10:00
Connor McLaughlin
c65279f944
System: Create controllers dynamically based on config
2019-12-14 23:29:26 +10:00
Connor McLaughlin
ea0845d5ad
Move controller creation to System class, switch shared_ptr to unique_ptr
2019-12-14 23:20:24 +10:00
Connor McLaughlin
cda2394287
System: Fix loading of EXEs with sp=0 (leave unchanged)
2019-12-11 16:34:56 +10:00
Connor McLaughlin
fb0aad0917
System: Include SIO in save state
2019-12-10 00:28:58 +10:00
Connor McLaughlin
da14b10e72
Split MemoryCard and PadDevice (now Controller)
2019-12-09 00:52:00 +10:00
Connor McLaughlin
315f2b701a
Stub out SIO controller
...
Fixes WipEout booting.
2019-12-07 21:09:04 +10:00
Connor McLaughlin
c284d3835f
GPU: Add a simplified OpenGL ES renderer
...
Seems this is the only way to get semi-decent performance out of Mali
drivers :/
2019-12-07 01:37:37 +10:00
Connor McLaughlin
8b9d44f4dc
System: Use game code for automatic region detection
2019-12-05 17:09:10 +10:00
Connor McLaughlin
dec475db62
GameList: Support homebrew/psexe files
2019-12-04 21:12:50 +10:00
Connor McLaughlin
22e8b6b0a7
System: Fall back to software when D3D11 selected on Linux
2019-11-25 00:24:22 +10:00
Connor McLaughlin
889bd73ac8
CPU: Add settings for execution mode
2019-11-23 20:22:09 +10:00
Connor McLaughlin
5217088d82
CPU: Refactor load delay handling
...
Now works when mixing interpreter and recompiler code.
2019-11-20 00:15:15 +10:00
Connor McLaughlin
1d6c4a3af1
CPU: Basic recompiler implementation for x64 (lui, ori, addiu)
...
Disabled by default.
2019-11-19 20:38:05 +10:00
Connor McLaughlin
b9089cac95
System: Fix EXE loading again
2019-11-18 21:03:48 +10:00
Connor McLaughlin
f1289d6161
Settings: Hook up console region
2019-11-16 20:52:39 +10:00
Connor McLaughlin
77fe883901
System: Default to NTSC region for BIOS boot if auto
2019-11-16 20:52:39 +10:00
Connor McLaughlin
246c97ccb3
System: Scaffolding for multi-system/multi-bios
2019-11-16 20:50:59 +10:00
Connor McLaughlin
a47492382c
System: Add "fast boot" option (skip boot logo)
2019-11-16 01:04:52 +10:00
Connor McLaughlin
30fd7a6683
DMA: Support delaying transfers
...
Fixes Syphon Filter 2/3.
2019-11-15 23:27:56 +10:00
Connor McLaughlin
6f4cf7d5e3
System: Support changing BIOS path
2019-11-11 19:43:39 +10:00
Connor McLaughlin
8c51abaf37
System: Move settings to HostInterface
2019-11-08 01:07:39 +10:00
Connor McLaughlin
36b7690056
Frontend: Add settings window
2019-11-08 00:22:25 +10:00
Connor McLaughlin
5d26c2177f
GPU/HW: Don't crash when switching to incompatible renderer
2019-11-04 02:02:33 +10:00
Connor McLaughlin
9de9cf3be2
GPU/HW: Add D3D11 renderer and refactor host interface/display
2019-11-04 00:39:48 +10:00
Connor McLaughlin
c52c0608ae
GPU: Move resolution scale to hardware backend only
2019-11-02 01:32:27 +10:00
Connor McLaughlin
12ce777e30
Frontend: Add toggle for software rendering
2019-10-27 21:52:10 +10:00
Connor McLaughlin
0092cb1016
Pad: Set up memory cards via settings
2019-10-27 17:46:36 +10:00
Connor McLaughlin
540e942a46
Add basic software GPU renderer
2019-10-26 12:57:45 +10:00
Connor McLaughlin
9b56499afa
Refactoring settings/support changing GPU renderer at runtime
2019-10-26 12:55:56 +10:00
Connor McLaughlin
c8bbd25f59
MDEC: Refactor buffer handling, fixes FF9 FMVs
2019-10-18 23:52:52 +10:00
Connor McLaughlin
9d5f3c1306
CPU: Support stalling CPU for bus activity such as DMA
2019-10-18 00:20:38 +10:00
Connor McLaughlin
0324ae2fd7
CDROM: Initial debug windows
2019-10-17 23:54:51 +10:00
Connor McLaughlin
aa792da823
CDROM: Implement XA-ADPCM decoding
2019-10-15 17:28:23 +10:00
Connor McLaughlin
88ec178380
DMA: Refactoring, support split block transfers
2019-10-13 14:16:49 +10:00
Connor McLaughlin
2d9d999713
Add debug window for MDEC
2019-10-12 23:27:23 +10:00
Connor McLaughlin
0f68c8c5d3
Add debugging for GPU/Timers
2019-10-12 22:15:38 +10:00
Connor McLaughlin
d88da93a55
SPU: Save state support
2019-10-11 16:54:21 +10:00
Connor McLaughlin
f852b8dd90
Further work on SPU implementation
2019-10-11 02:20:21 +10:00
Connor McLaughlin
d373b5d3a9
Timers: Fix oneshot/toggle modes
2019-10-08 18:21:15 +10:00