Commit Graph

69 Commits (dd9788262e19a4da74ff037c7dada1bdb07dbcbf)

Author SHA1 Message Date
Stenzek 462a4a3b50
Controller: Refactor so that GetControllerInfo() can't return null 10 months ago
Stenzek bb24d406f2
Pad: GCC compile fix 1 year ago
Stenzek 32e62725dd
Pad: Implement RX/TX IRQs 1 year ago
Stenzek 495a0da8d4
Pad: Pack state in struct 1 year ago
Stenzek 3dca598063
Log: Switch to enum class
Need to change the channel to a bitset too.. the string lookups are
horribly slow, and conflict when one is a prefix of another.
1 year ago
Stenzek 8ba85d62dc
Pad: Fix stuck inputs after loading mismatched state pad type 1 year ago
Stenzek 6d0f92d4fb
dep/fmt: Bump to v11.0.2 1 year ago
Stenzek 7f4e5d55db
Misc: Update copyright headers 1 year ago
Stenzek a6518ff9dc
System: Rewrite save state I/O
No more ByteStream or virtual calls for every piece of data.
1 year ago
Stenzek 4f7ddfaae6
TimingEvents: Remove pointer indirection
Probably should move this to one big array for locality.
1 year ago
Stenzek 9a88cbce09
Pad: Fix incorrect card mismatch OSD message 1 year ago
Stenzek 723af4de3a
Misc: Loading old save state versions is unlikely 1 year ago
Stenzek 98520978a8
System: OSD message corrections 2 years ago
Stenzek 4e922a34a7
Log: Simplify macros 2 years ago
Stenzek b6d019db66
Misc: Replace log printf calls with fmt 2 years ago
Stenzek 3e99084770
Settings: Fix double source of truth for controller names 2 years ago
Stenzek c41563c7dc
Pad: Fix unconditional memory card replug on load state 2 years ago
Stenzek fa6850902a
CPU: Make interrupts actually edge-triggered 2 years ago
Stenzek 01e505ec8b Common: Add intrin.h 2 years ago
Stenzek e23c9875d5 Misc: Split core and util Host 2 years ago
Stenzek c7f987bfb7 System: Share memory cards in multi-disc games
Even without playlists.
2 years ago
Stenzek e57ad0b6aa Host: Backport translations cache
Note: You'll need a new command line for lupdate.

..\..\..\dep\msvc\qt\6.5.0\msvc2022_64\bin\lupdate.exe ../ ../../core/ ../../util/ -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATE,QT_TRANSLATE_NOOP+=TRANSLATE_SV,QT_TRANSLATE_NOOP+=TRANSLATE_STR,QT_TRANSLATE_NOOP+=TRANSLATE_FS,QT_TRANSLATE_N_NOOP3+=TRANSLATE_FMT,QT_TRANSLATE_NOOP+=TRANSLATE_NOOP -ts duckstation-qt_LANGUAGE.ts
2 years ago
Stenzek 3bbce19df2 Pad: Don't backup card state unconditionally 3 years ago
Stenzek 3673827363 PAD: Intelligently skip saving memcard state for runahead 3 years ago
Connor McLaughlin 3e16746e85 Pad: Convert to namespace 3 years ago
Connor McLaughlin 0683b9fa0e InterruptController: Convert to namespace 3 years ago
Connor McLaughlin 8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
3 years ago
Connor McLaughlin b42b5501f6 UI: Massive revamp, new features and improvements 3 years ago
Connor McLaughlin b7fbde31a7 Move utility classes from common to own static lib 3 years ago
Connor McLaughlin 350049826f Fix a bunch of compiler warnings 5 years ago
Connor McLaughlin 67f352339c CommonHostInterface: Add swap memory cards hotkey 5 years ago
Connor McLaughlin b84827b315 Pad: Don't remove card when loading state without card in slot
... unless load-devices-from-state is enabled.
5 years ago
Connor McLaughlin 9bf805c2af Pad: Fix crash with mismatched cards in save state 5 years ago
Connor McLaughlin 97682e09ab Pad: Don't apply input state when load-from-devices is off 5 years ago
Jake Stine 96344799a0 pad: improve UI messaging when UI config doesn't match savestate config, and document some edge cases. 5 years ago
Jake Stine 6449207e04 pad: remove unreachable code block in DoState
The block in question was introduced by changesets:
  47f0720b93
  125d104df4
5 years ago
Albert Liu 3482313e2f Multitap: Add option to enable only on port 2 5 years ago
Albert Liu f9dc1a7e80 Core: Add Multitap support 5 years ago
Connor McLaughlin 11992bde4e TimingEvents: Use function pointers instead of std::function 5 years ago
Connor McLaughlin 47f0720b93 Controller: Always preserve internal state when loading/resuming
Fixes analog mode getting disabled when loading state.
5 years ago
Connor McLaughlin 125d104df4 Pad: Fix controller state not being ignored in state load 5 years ago
Albert Liu 81a638cabb Pad: Fix loading controllers from save states 5 years ago
Albert Liu f69889264d Core: Make some additional OSD messages translatable 5 years ago
Connor McLaughlin b979706417 Pad: Use memory card filename from current state
Fixes memory card data getting lost after loading state.
5 years ago
Connor McLaughlin 3b68c4028d Pad: Load memory card from state when the data matches
A warning will be displayed when the card content does not match.
5 years ago
Connor McLaughlin f5fb8186c7 Switch some messages to the OSD and increase durations 5 years ago
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
5 years ago
Connor McLaughlin bff5432879 Pad: Improve ACK timing
Fixes random pauses in Moto Racer.
5 years ago
Connor McLaughlin b471d1043a Settings: Load Memory Cards From State -> Load Devices From State
Makes it apply to controllers too.
5 years ago
Connor McLaughlin 81a7b147fc System: Add option to disable loading memory cards from save states 6 years ago