Commit Graph

43 Commits (1eb1b0314125b1edd61899293c819ce551754133)

Author SHA1 Message Date
Stenzek 1eb1b03141
MemoryCard: Defer creation of card until first save
Also do not overwrite the card if it failed to load.
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 a2f98541b3
Misc: Slim down some header includes 1 year ago
Stenzek 6ce9e571ed
Misc: Purge remaining ByteStream references 1 year ago
Stenzek dd8bf2c9d9
MemoryCard: Purge use of ByteStream 1 year ago
Stenzek 4f7ddfaae6
TimingEvents: Remove pointer indirection
Probably should move this to one big array for locality.
1 year ago
Stenzek 890f3fcf5d
Common/Log: Make actually writing unlikely
Move it out of the hot path.
1 year ago
Stenzek e70f155054
MemoryCard: Implement GetID command 1 year ago
Stenzek 4e922a34a7
Log: Simplify macros 1 year ago
Stenzek b6d019db66
Misc: Replace log printf calls with fmt 1 year ago
Stenzek f3aec0c965
Host: Re-introduce plural translation support 1 year ago
Stenzek 3fa2bd1d3a
System: Confirm shutdown if memory card is being written 2 years ago
Stenzek c41563c7dc
Pad: Fix unconditional memory card replug on load state 2 years ago
Stenzek 7b8704aba1
System: Fix incorrect sanitization of memcard filenames 2 years ago
Stenzek 958b033a66
PostProcessing: Fix assertion on some shader/texture formats 2 years ago
Stenzek 01e505ec8b Common: Add intrin.h 2 years ago
Stenzek e23c9875d5 Misc: Split core and util Host 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
Connor McLaughlin 8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
3 years ago
Connor McLaughlin 589785f8a0 System: Don't print whole path in save OSD messages 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 bced237034 MemoryCard: Sanitize game titles for file names 5 years ago
Connor McLaughlin 11992bde4e TimingEvents: Use function pointers instead of std::function 5 years ago
Connor McLaughlin 24c373245e MemoryCard: Make formatting OSD message translatable 5 years ago
Albert Liu f69889264d Core: Make some additional OSD messages translatable 5 years ago
Connor McLaughlin d39c9f5d1c Clean up some compiler warnings 5 years ago
Connor McLaughlin 27697d0508 System: Implement CPU overclocking [SAVEVERSION+]
Partial credit to @CookiePLMonster as well.
5 years ago
Connor McLaughlin 92da9917a8 MemoryCard: Split into image helper functions 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 075380f8e0 Move most helper logic from base HostInterface to FrontendCommon 5 years ago
Connor McLaughlin 74e455a5f7 System: Support per-game memory cards 6 years ago
Connor McLaughlin 2026ef99e8 MemoryCard: Last byte should not set /ACK 6 years ago
Connor McLaughlin 25af5ef9d9 MemoryCard: Save FLAG to state 6 years ago
Connor McLaughlin 3c45603cb4 MemoryCard: Batch sector writes together 5 seconds at a time
Reduces disk writes for SSDs (assuming the OS didn't just cache all the
writes), and limits OSD spam.

Fixes #146.
6 years ago
Connor McLaughlin 71c1e243fe Remove YBaseLib dependency 6 years ago
Connor McLaughlin ea0845d5ad Move controller creation to System class, switch shared_ptr to unique_ptr 6 years ago
Connor McLaughlin da14b10e72 Split MemoryCard and PadDevice (now Controller) 6 years ago
Connor McLaughlin 8d7b93766d MemoryCard: Fix incorrect checksum after formatting
Fixes memory cards not working in the BIOS.
6 years ago
Connor McLaughlin 5abbdef065 Fix compile errors on GCC 6 years ago
Connor McLaughlin 0092cb1016 Pad: Set up memory cards via settings 6 years ago
Connor McLaughlin bddbab9d60 Rename to DuckStation 6 years ago