German
45c31a99a3
Fix true clear string container in PPUModule.cpp
2019-02-18 16:34:16 +03:00
elad
63a9421634
Fix race in sys_lwcond_wait on error code
2019-02-16 21:41:59 +03:00
EmulationChannel
92ff7c4c24
Update FW Latest Version
...
Updates the latest FW 4.84 version according to: https://www.playstation.com/en-us/support/system-updates/ps3/
2019-02-16 13:59:30 +01:00
Filippe LeMarchand
56e24f8993
Update rpcs3.appdata.xml
...
- split description to paragraphs
- add bugtracker and quickstart urls
- add screenshot
2019-02-14 03:10:36 +03:00
Filippe LeMarchand
a8621ebc22
Remove zero-width spaces (u200b)
2019-02-14 03:10:36 +03:00
Megamouse
d4888a4973
cellSysCacheMount: don't return RET_OK_RELAYED on empty cacheId
...
The system cache is supposed to be cleared but I don't think we wanna do that
2019-02-13 01:55:07 +03:00
Megamouse
4a1499e0be
cellMsgDialog: optionally make dialogs blocking and fix exit condition
...
and apply review fixes
2019-02-12 21:06:10 +03:00
Megamouse
fe79e541dd
cellGame: improve exit functions
2019-02-12 21:06:10 +03:00
Megamouse
17a5e0bc98
cellGame: add error_code
2019-02-12 21:06:10 +03:00
Megamouse
982b2ab88f
Qt: only show supported resolutions in custom configs
2019-02-11 20:34:33 +01:00
eladash
d6995f40c7
Fixup for sys_lwcond_signal_x error checking
2019-02-11 01:13:29 +03:00
eladash
fa647bc121
Fix race condion in sys_spu_thread_group_join
2019-02-10 18:20:24 +03:00
eladash
84d42ecb65
Add EFAULT checks to spu_thread_group_join, ppu_thread_join
...
Order of checks is based on firmware
2019-02-10 00:16:57 +03:00
eladash
0861226271
Make more use of the new atomic_t<>::release
2019-02-10 00:16:57 +03:00
eladash
e3ee481f01
Make sys_spu_thread_group_join return once per termination
2019-02-10 00:16:57 +03:00
kd-11
19ff95da70
vk: Fix usage of VK_IMAGE_LAYOUT_GENERAL
...
- Properly synchronize when transitioning to/from GENERAL layout.
- General layout requires full pipeline dependency since its used in a 'general' sense. As such, its use is to be largely avoided.
2019-02-07 11:40:17 +03:00
kd-11
38887bc03e
gl/vk: Improvements to overlay rendering
...
- gl: Properly initialize and manage sampler states
- gl/vk: Snap overlay elements to pixel grid by aligning to pixel centers
- overlays: Disable grid snapping in stb since its now handled in the backend
2019-02-05 12:15:12 +03:00
kd-11
4c593959fd
overlays/save_dialog: Layout improvements
...
- Make detail a separate text entity as it often contains a lot of noise
- Properly pad the entry if needed to avoid text sitting too close to the edge
2019-02-03 22:26:46 +03:00
kd-11
67cdec577f
overlays/util: Add support for glyph set lowering when mapping utf8 to ascii8
...
- Lower fullwidth glyphs to halfwidth counterparts
- Lower CJK punctuation glyphs
- Lower general punctuation glyphs
2019-02-03 22:26:46 +03:00
kd-11
a36d3af3b4
vk: Minor frame management improvements
2019-02-02 11:54:01 +03:00
kd-11
27af05da1a
osk: Fixup attempt for hang in close callback where a sysutil_callback fails to fire.
2019-02-02 11:54:01 +03:00
kd-11
b36cb66129
overlays: Allow use of extended ascii8
...
- Use custom string conversion to ensure overlay deals with extended ascii whenever possible
- Improves language compatibility greatly and avoids empty spaces for unknown glyphs
2019-02-02 11:54:01 +03:00
kd-11
12990f3ca3
overlays/util: Strip extended codes from utf-16 encoded strings
2019-02-02 11:54:01 +03:00
kd-11
9e39e2d2c4
gl/vk: Fix clip region scaling for overlay elements
2019-02-02 11:54:01 +03:00
kd-11
3653c2eb0d
overlays/osk: Add support for edit text control and disabled cells
...
- Allows to disable cells from being selectable.
- Edit text control adds proper support for multiline and a functioning caret
2019-02-02 11:54:01 +03:00
kd-11
faf5221b0d
overlays: Implement edit_text control
2019-02-02 11:54:01 +03:00
kd-11
c434e0ce27
overlays/osk: Add more buttons to native dialog and other improvements
...
- Adds all the major buttons to native dialog input options
- Adds more button options for the native osk
- Brighten osk cell backgrounds a bit to improve visibility
2019-02-02 11:54:01 +03:00
kd-11
9ed9d7e947
overlays/osk: Implement native osk interface
2019-02-02 11:54:01 +03:00
kd-11
9d4b19b97a
vk: Increase number of draw calls per frame for overlays to 1024
...
- Allows for more complex interface design
2019-02-02 11:54:01 +03:00
Megamouse
8920eda321
facepalm: fix open_config_dir old vs. new location switch up
2019-02-01 17:47:27 +03:00
Ani
f4afd56e67
rpcs3_version: Bump to 0.0.6
2019-01-31 22:08:45 +00:00
kd-11
f47d3a761b
vk: Hotfix for fullscreen not working on non-windows platforms
2019-02-01 00:22:11 +03:00
Megamouse
27f6f497a2
use "config/custom_configs/" for custom configs (backwards compatible)
2019-01-31 20:14:52 +00:00
kd-11
09a8f7ae53
vk: Use FIFO mode for vsync
...
- Avoids tearing and also hides some driver bugs causing fullscreen bugs with mailbox mode
2019-01-31 21:53:02 +03:00
kd-11
3bfa564ef8
vk/windows: Try to keep msq thread from ever stopping
...
- NVIDIA drivers hook into the msq before our nativeEvent handler. This means NV is aware of events before rpcs3 is aware of them and sometimes stops until a new event is triggered.
If rpcs3 is inside a driver call at this time, the system will deadlock since the driver waits for msq which waits for the renderer which waits for the driver.
- Use explicit hook management to control window events
- Add fence timeout to attempt detection of surface loss events
2019-01-31 21:53:02 +03:00
msuih
987b607cb0
Add debug console mode to settings
2019-01-31 16:03:38 +03:00
eladash
d4a24433e8
Fix DECR mode allocations (sys_memory)
2019-01-31 16:03:38 +03:00
Nekotekina
400718dfd9
cellSaveData: try to handle occasional failures
...
Retry moving directory on FILE_ACCESS_ERROR
2019-01-31 01:08:30 +03:00
eladash
6f770c8e35
Fix potential crash in begin_occlusion_query() while closing the Emu
2019-01-30 18:44:29 +03:00
Nekotekina
039f8e1f9d
Update About window
...
Updated supporters and contributors
2019-01-30 03:11:19 +03:00
Nekotekina
58358e85dd
spu_runtime::add minor optimization
...
Use preallocated vectors in trampoline generation subroutine
2019-01-29 03:32:16 +03:00
Nekotekina
2b66abaf10
Implement atomic_t<>::release
...
More relaxed store with release memory order
2019-01-29 03:32:16 +03:00
Nekotekina
50922faac9
Remove SPUThread::jit_dispatcher
...
Use global array - save memory
Move the array to JIT memory
2019-01-29 03:32:16 +03:00
Nekotekina
4292997a01
Added jit_runtime class
...
Is a memory manager for ASMJIT, replaces asmjit::JitRuntime
Unified memory manager for ASMJIT and LLVM
Unified SPU trampoline generation
Remove previous workarounds
2019-01-29 03:32:16 +03:00
eladash
587fe421ee
Make ppu main_thread unjoinable
2019-01-25 18:04:33 +03:00
eladash
56b7581ade
Return error code in sys_ppu_thread_get_join_state
2019-01-25 18:04:33 +03:00
kd-11
660bfeabae
gl: Fixup - inline arrays
2019-01-25 14:34:22 +03:00
kd-11
fa9b448686
vk: Spec fixups
...
- Disable DEPTH<->RGBA typeless transfers for now as they require a lot more work to work for all vendors
- Do not allow switching layouts to UNDEFINED/PREINITIALIZED formats
2019-01-25 14:34:22 +03:00
kd-11
2163a59649
rsx: Typo fix
2019-01-25 14:34:22 +03:00
kd-11
521969bcc3
gl: Remove GL_R 'format'. There is no GL_R format, it part of the S-T-Q-R enums for texture coordinate space
2019-01-25 14:34:22 +03:00
kd-11
5a4bea8c4f
gl: Blit fixup
...
- Typo fix. I meant to disable scissor test, not stencil test
- Also clean up and simplify/optimize the core logic
2019-01-25 14:34:22 +03:00
kd-11
7e33cdcb08
rsx: simple_array<T> improvements
...
- Implement move and copy ctors
2019-01-25 14:34:22 +03:00
kd-11
fb778e4821
rsx: Reimplement attrib divisor
2019-01-25 14:34:22 +03:00
kd-11
736415fcd9
rsx/fp: Detect broken/NOP shaders automatically
...
- Do not compile body if the shader is of no consequence, leave as a passthrough shader
2019-01-25 14:34:22 +03:00
kd-11
6fdc0fd7f0
rsx: Reimplement MSAA transparency
...
- Apply dither to edges that almost fail the straight-up alpha test
- Significantly improves alpha tested geometry far from the camera
- Also removes blend factor overrides/hacks as they give incorrect results due to background bleeding
2019-01-25 14:34:22 +03:00
kd-11
10a17feda2
rsx: Avoid potential deadlock in FIFO_ctrl
2019-01-25 14:34:22 +03:00
kd-11
7eec702c6d
gl: Fix silly regression with blit dst resource readback
2019-01-25 14:34:22 +03:00
kd-11
8093c9b573
rsx: Disable rtt side-effects when async compilation is ongoing. Only real renders should promote buffer state from underined to drawn, otherwise keep previous contents intact.
2019-01-25 14:34:22 +03:00
kd-11
417a2e6731
rsx: Refactor index buffers
...
- Index offset is ignored anyway and only used to calculate vertex attribute divisor index
- Specialized optimization for untouched xfer without primitive restart
2019-01-25 14:34:22 +03:00
elad
afeacc171f
Fix spurious abort in sys_rwlock_tryrlock and sys_semaphore_trywait ( #5579 )
...
Use full cmpxchg loop to prevent occasional return of CELL_EBUSY
2019-01-22 23:10:17 +03:00
Nekotekina
4f152ad126
SPU: multithread compilation
...
Allow parallel compilation of SPU code, both at startup and runtime
Remove 'SPU Shared Runtime' option (it became obsolete)
Refactor spu_runtime class (now is common for ASMJIT and LLVM)
Implement SPU ubertrampoline generation in raw assembly (LLVM)
Minor improvement of balanced_wait_until<> and balanced_awaken<>
Make JIT MemoryManager2 shared (global)
Fix wrong assertion in cond_variable
2019-01-22 22:02:02 +03:00
Megamouse
8d5d44141e
rsx/Qt: fix some undefined behavior in progress_dialog CallAfters
2019-01-22 12:04:01 +03:00
eladash
688d5a9919
rsx: Fix unknown vertex base types
...
Clamp vertex type field into 3-bits instead of 4-bit value
Case 0 is UB256
2019-01-21 22:28:20 +03:00
Megamouse
fa00fb3eac
Qt: use patch version and firmware for PS3 disc games in the game list
2019-01-20 23:16:37 +01:00
Nekotekina
d4591b1508
ALSA: disable recovery (experimental)
2019-01-18 16:49:17 +03:00
Nekotekina
59e0296281
cellMsgDialog: fix error spam on CELL_OK
2019-01-18 16:49:17 +03:00
Nekotekina
cc430769c6
Rollback audio backend priority
2019-01-18 16:49:17 +03:00
eladash
a11d76249d
Patch ppu main thread prio
2019-01-17 21:58:09 +03:00
Megamouse
5ed718110a
cellOskDialog/osk_dialog_frame: fix regexp for CELL_OSKDIALOG_NO_SPACE
2019-01-16 23:36:44 +03:00
msuih
f902a7867c
Fix cache removal
2019-01-16 07:43:39 +01:00
elad
fc92ae4085
SPU/PPU atomics performance and LR event fixes ( #5435 )
...
* Fix SPU LR event setting in atomic commands according to hw test
* MFC: increment timestamp for PUT cmd in non-tsx path
* MFC: fix reservation lost test on non-tsx path in regard to the lock bit
* Reservation notification moved out of writer_lock scope to reduce its lifetime
* Use passive_lock/unlock in ppu atomic inctrustions to reduce redundancy
* Lock only once for dma transfers (non-TSX)
* Don't use RDTSC in reservation update logic
* Remove MFC cmd args passing to process_mfc_cmd
* Reorder check_state cpu_flag::memory check for faster unlocking
* Specialization for 128-byte data copy in SPU dma transfers
* Implement memory range locks and isolate PPU and SPU passive lock logic
2019-01-15 18:31:21 +03:00
eladash
f19fd23227
spu: Fix support for multiple lists when one is stalled
2019-01-15 02:33:22 +03:00
Megamouse
58a22d1461
cellSaveData: add error_code
2019-01-14 21:12:13 +01:00
Nekotekina
c5026f7109
cellVdec: fix minor race
2019-01-14 01:24:05 +03:00
Nekotekina
a419e98acb
Move PPU and shader cache
...
New hash-based location (already used for SPU)
Bump PPU cache version, improve naming and decrease size
Remove fs::get_data_dir
Disable boot.elf cache
2019-01-14 01:24:05 +03:00
Nekotekina
aefee04c4a
SPU analyser: fix branch to self
...
Fixed not filling the predeccessor list on BR-to-self on entry point
Version bumped (v1-tane)
Closes #5353
2019-01-14 00:01:27 +03:00
Nekotekina
74d684b57e
cellAudio: fix template arg style
...
Add constexpr if
2019-01-14 00:01:27 +03:00
Nekotekina
ac775cd75e
Simplify gui_listener
...
Use lf_queue
2019-01-13 14:45:36 +03:00
Nekotekina
435f60d503
lf_queue: add iterator support
...
Allow range-for loop over an object returned by `pop_all()`
2019-01-13 14:45:36 +03:00
Nekotekina
cfdf50dcff
SPU: ensure sys_spu_thread_group_join receives correct exit status
...
Following #5334
2019-01-13 14:45:36 +03:00
Nekotekina
453344c232
cellSaveData: workaround possible issues with symlinks
...
Don't use ../ location for temporary directories
2019-01-13 14:45:36 +03:00
Nekotekina
bd9131ae1c
Implement fs::get_cache_dir
...
Win32: equal to config dir for now
Linux: respect XDG_CACHE_HOME if specified
OSX: possibly incomplete
2019-01-13 14:45:36 +03:00
eladash
bc27f5f75c
Implement invalid NV4097_NOTIFY context handling
2019-01-13 12:59:00 +03:00
Megamouse
022550a43b
cellOskDialog: use atomic_op for state operations
2019-01-12 23:39:01 +01:00
Megamouse
d7cc97433d
cellOskDialogUnloadAsync: guarantee 0 terminated return string
2019-01-12 23:39:01 +01:00
Megamouse
fce9f352a9
cellOskDialog: fix cellOskDialogAbort
2019-01-12 23:39:01 +01:00
Megamouse
f9c1b15bf4
cellOskDialog: fix cellOskDialogUnloadAsync return string
...
fixes Class of Heroes 2G
2019-01-12 23:39:01 +01:00
Rui Pinheiro
3406acd8c9
Fixups for audio PR
2019-01-12 22:22:03 +03:00
Rui Pinheiro
49fbf9bf0f
Tweaks to buffering algorithm
...
Increase untouched buffer timeout when some of the buffers have been
touched. Might improve audio quality on games that suffered from
miniscule popping even when buffering was enabled (such as DeS).
In addition, made time stretching algorithm slightly more aggressive.
Includes some other tiny tweaks as well.
2019-01-12 21:29:56 +03:00
Rui Pinheiro
1e4513e2e3
Fixups in audio backend
...
Removes 's_' prefix from variables that are no longer static and
thread_local. Removes superfluous comments left behind due to copy-paste
mistakes.
2019-01-12 21:29:56 +03:00
Rui Pinheiro
fe9062671e
Change audio tooltips, audio backend order
2019-01-12 21:29:56 +03:00
Megamouse
5e3311746c
Qt/settings: add new audio buffering options
2019-01-12 21:29:56 +03:00
Rui Pinheiro
48db0430d4
Misc. Tweaks
2019-01-12 21:29:56 +03:00
Rui Pinheiro
650bc0c1f2
Fix game pausing/unpausing
2019-01-12 21:29:56 +03:00
Rui Pinheiro
f17f984721
Add timeout for untouched buffers
2019-01-12 21:29:56 +03:00
Rui Pinheiro
8f6043b568
Change cellAudio diagnostic messages to Trace
2019-01-12 21:29:56 +03:00
Rui Pinheiro
67f9397746
Various fixes
...
In addition, linux builds (and ALSA/PA) now work again
2019-01-12 21:29:56 +03:00
Rui Pinheiro
4f39457858
Rewrite OpenAL backend to support new features
2019-01-12 21:29:56 +03:00
Rui Pinheiro
892deb1552
Implement basic time stretching + Tweaks
2019-01-12 21:29:56 +03:00
Rui Pinheiro
5159d3559e
Implement Audio Backend Capabilities querying
...
Also renames "AudioThread" to "AudioBackend". The new name is more
descriptive of what the class really is responsible for, since the
backends are not responsible for managing the audio thread.
NOTE: Right now only XAudio2 is supported
2019-01-12 21:29:56 +03:00
Rui Pinheiro
2addbe6be2
Implement basic cellAudio buffering
2019-01-12 21:29:56 +03:00
Rui Pinheiro
56962aa707
Disable OpenAL backend temporarily
2019-01-12 21:29:56 +03:00
Megamouse
e18e9909af
cellOsk fixup
2019-01-12 08:26:04 +01:00
RipleyTom
fad80ed443
revert part of #5529
2019-01-12 06:59:07 +01:00
Megamouse
e3ea29599d
cellGame: fix some installation issues
...
fixes HAWX2 (at least until it crashes again)
2019-01-11 03:36:22 +03:00
Megamouse
d9d5f45e9e
rsx/input: fix rsx replay
2019-01-10 13:05:48 +01:00
Megamouse
eb4d612bb9
cellOskDialog: fixes for multi-line dialog
2019-01-10 13:05:48 +01:00
Megamouse
e5aede7aa7
cellOskDialog: initial code for cellOskDialogSetSeparateWindowOption
2019-01-10 13:05:48 +01:00
Megamouse
17058113df
cellOskDialog: add multi-line option and handle more permutations (WIP)
2019-01-10 13:05:48 +01:00
Megamouse
4a8b30c625
cellOskDialog: cellOskDialogExtRegisterConfirmWordFilterCallback
2019-01-10 13:05:48 +01:00
Megamouse
e0ac244fed
split MsgDialogBase
2019-01-10 13:05:48 +01:00
Megamouse
d5303b0b64
add error_code to cellOskDialog and cellMsgDialog
2019-01-10 13:05:48 +01:00
Megamouse
7cc4239cc2
cellOskDialog: add message
2019-01-10 13:05:48 +01:00
Megamouse
cc30b4e5be
cellOskDialog: don't send input signals without seperate screen enabled
2019-01-10 13:05:48 +01:00
Megamouse
16f2975792
cellOskDialog: properly handle dialog states to improve param checks
2019-01-10 13:05:48 +01:00
Megamouse
1b2e512179
Qt: make dockwidget title bars optional
2019-01-10 12:14:38 +01:00
kd-11
52ac0a901a
rsx: improve memory coherency
...
- Avoid tagging and rely on read/write barriers and the dirty flag mechanism. Testing is done with a weak 8-byte memory test
- Introducing new data when tagging breaks applications with race conditions where tags can overwrite flushed data
2019-01-06 10:44:40 +03:00
kd-11
89c9c54743
rsx: Minor hot-fix
...
- Pitch 0 makes sense if width == 1 and height == 1
2019-01-06 10:44:40 +03:00
kd-11
95245bdd83
rsx: Improve ARGB8->D24S8 casting
...
- Set up partial transfers
- Force clear of target before starting the transfer
2019-01-06 10:44:40 +03:00
kd-11
475cc99117
rsx: Fix dirty flag reset after a partial attachment initialization
...
- D24S8 targets have 2 aspects that are dealt with separately; Forcefully initialize the remaining data if a partial init is done. Its 'free' anyway
- It seems that the stencil mask matters when clearing unlike the depth mask and color mask
2019-01-06 10:44:40 +03:00
kd-11
c80c7f06bb
rsx: Typo fix
...
- This silly typo broke the flip improvements in the GT fixes PR
2019-01-06 10:44:40 +03:00
kd-11
2a62fa892b
rsx: Texture cache refactor
...
- gl: Include an execution state wrapper to ensure state changes are consistent. Also removes a lot of required 'cleanup' for helper methods
- texture_cache: Make execition context a mandatory field as it is required for all operations. Also removes a lot of situations where duplicate argument is added in for both fixed and vararg fields
- Explicit read/write barrier for framebuffer resources depending on
usage. Allows for operations like optional memory initialization before
reading
2019-01-06 10:44:40 +03:00
kd-11
0f64583c7a
rsx: Reimplement pitch lookup
...
- Remove the required_xxx_pitch constraint as it makes no sense. The pitch controls what can be written per line.
- It is possible to have a huge surface width but only render to a small region at the beginning and have a smaller pitch than can fit the surface (NFS carbon)
2019-01-06 10:44:40 +03:00
kd-11
1ffadbe086
rsx: Reorganize write barrier implementation (either clear or memory barrier)
2019-01-06 10:44:40 +03:00
kd-11
9c45ce6d37
vk: Reimplement typeless memory allocation to handle resolution upscaling
2019-01-06 10:44:40 +03:00
kd-11
d8e45c86e6
vk: Remove old useless hack that interferes with memory inheritance
2019-01-06 10:44:40 +03:00
kd-11
3be4b474d9
rsx: Handle rsx-self-tripping in draw call and triggering invalid invalidation
...
- If draw call resources consume memory that intersects with NA parts of the texture cache, we get a framebuffer test mismatch.
This mismatch is false and happens because the thread has not yet reached the point of relocking the pages
2019-01-06 10:44:40 +03:00
kd-11
a95a44cf66
rsx: Strictness cleanups
...
- Also account for variable pitch textures (swizzled scan)
2019-01-06 10:44:40 +03:00
kd-11
474d0f61a2
minor typo fix
2019-01-06 10:44:40 +03:00
kd-11
362eea09a1
whitespace fix only
2019-01-06 10:44:40 +03:00
kd-11
15d5507154
rsx: Rewrite memory inheritance transfers
...
- Implicitly invoke a memory barrier if actively reading from an unsynchronized texture
- Simplify memory transfer operations
- Should allow more games to work without strict mode
2019-01-06 10:44:40 +03:00
kd-11
97704d1396
rsx: Fix texture size calculations
2019-01-06 10:44:40 +03:00
kd-11
50c07833e4
rsx: Do not force upload for missing data
...
- TODO: Finish implementing GPU RCB for mem-sync
- TODO: Refactor mem-sync
2019-01-06 10:44:40 +03:00
kd-11
6d932b042b
vk: bump max number of compute jobs from 120 to 1024
...
- It is possible without bugs to have a very high number of compute invocations.
2019-01-06 10:44:40 +03:00
kd-11
64a8829614
rsx: Minor cleanup
2019-01-06 10:44:40 +03:00
kd-11
15488eb247
rsx: Avoid unnecessarily touching framebuffer memory
...
- Do not bind companion framebuffer when clearing single aspect; let the
contest mechanism sort it out instead
- Do not prematurely tag framebuffers, instead only do so at
write-confirmation time. Should avoid false tagging if setup does not
allow a render to occur.
2019-01-06 10:44:40 +03:00
kd-11
a13986ec5c
vk: Spec fixups
...
- Forgot to update descriptor pool init sizes over time
- Also clamp swapchain resources to allowable surface extents
2019-01-05 21:31:12 +03:00
Megamouse
6c10cb2eb5
Assume go to address to be hexadecimal
2019-01-05 04:03:18 +01:00
Megamouse
6fe615605a
prevent debugger crash when no thread is selected
2019-01-05 04:03:18 +01:00
Megamouse
bb464b0b64
fix some warnings
2019-01-05 04:03:18 +01:00
Megamouse
daee2a27a3
Qt: spawn Confirmation Dialog on when booting games while Emu is running
2019-01-05 01:50:42 +01:00
Megamouse
5f9b441dd7
Qt: spawn Confirmation Dialog on exit
2019-01-05 01:50:42 +01:00
RipleyTom
37c621ebbf
cellSysutilCheckCallback forced granularity
2019-01-03 02:15:01 +03:00
Nekotekina
7a4282b4c0
cellSysutil: drain callback queue at single step
...
This way if a new callback is registered in a process,
it will not be executed immediately in the same loop.
Remove mutex, use lock-free queue.
2019-01-03 02:15:01 +03:00
Megamouse
3b83e223d8
cellOskDialog: add some param checks
2019-01-02 15:45:51 +01:00
Megamouse
0e7fd45504
cellOskDialog: add Constants
2019-01-02 15:45:51 +01:00
Megamouse
ad5cdc38cd
cellOskDialog: implement CellOskDialogInputFieldResult
...
fixes abort and cancel
2019-01-02 15:45:51 +01:00
Megamouse
6f7b25de90
implement CELL_PAD_INFO_INTERCEPTED
2019-01-02 15:45:51 +01:00
Megamouse
8ad14c4ada
Overlays: fix input loop when no controllers are detected
2019-01-02 15:45:51 +01:00
Megamouse
a4f67ccb87
Add log messages for PPU compilation
2018-12-31 23:03:03 +03:00
Megamouse
632b0f489c
Qt/Input: add keyboard stick interpolation
2018-12-31 12:42:34 +01:00
Megamouse
a77bd41b50
Qt/Input: add mouse settings to the pad settings dialog
2018-12-31 12:42:34 +01:00
Megamouse
2db16c2c04
Input: add config entries for mouse deadzones and acceleration
2018-12-31 12:42:34 +01:00
RipleyTom
7ebd3bbcbf
Fixes issues where the mutex is destroyed while an unlock is happening
2018-12-31 01:39:47 +03:00
eladash
483ee5e488
Fix sys_vm_memory_map address base
2018-12-30 20:12:32 +00:00
eladash
79a6a2c7fb
Debug console emulation
2018-12-30 20:12:32 +00:00
eladash
2ea061b9c7
Set total memory size according to sdkver
2018-12-30 20:12:32 +00:00
eladash
c0eb4965f2
mmapper_allocate_memory improvement
...
Added cases 0 for allocation granularity size,
alike sys_memory_allocate, the alignment of this case is 1mb.
2018-12-30 20:12:32 +00:00
Megamouse
d1be1150c2
Settings Dialog Update
2018-12-30 17:47:51 +01:00
RipleyTom
c6e47a573d
cellVideoOutConfigure minor fix.
2018-12-30 17:58:20 +03:00
eladash
db784556aa
rsx: Evaluate cond render test at set_render_enabled
2018-12-30 15:04:59 +01:00
eladash
26d47afec6
hle gcm: Fix cellGcmGetReportDataAddressLocation
...
* Never return NULL (also apllies to similar functions)
* Base offset is 0x0e000000 for main location
* Default location is LOCAL
Info was taken from disasm of gcm
2018-12-30 15:04:59 +01:00
eladash
568206d11a
Fix rsx capture (again)
2018-12-30 15:04:59 +01:00
Megamouse
a1dd6e080c
Qt: Sort game list after load settings to prevent icon size mismatch
...
This was sorely needed when the app crashed after resizing icons
2018-12-30 14:15:34 +01:00
fobb2
64ea7bf867
capitalize 'japanese' -> 'Japanese'
2018-12-30 05:08:43 +01:00
Jan Beich
8d308bb4c0
overlays: don't use /proc on BSDs as it may not be mounted
2018-12-29 18:07:45 +03:00
RipleyTom
aa306dd356
Trophy changes
2018-12-27 19:11:51 +01:00
eladash
4b65c3943c
Fix sys_semaphore_post count check
2018-12-26 23:03:27 +03:00
eladash
653a4ef0df
Set group status INIT on last thread stopped
...
this fixes the group status after sys_spu_thread_exit when not joining the spu group
2018-12-25 19:59:41 +03:00
scribam
7c74bafaf3
sceNp: improve sceNpManagerGetNetworkTime function ( #5451 )
2018-12-25 17:13:11 +03:00
Nekotekina
d7be0a96f3
SPU LLVM: approximate xfloat option
...
Adapt previous SPU ASMJIT changes made by @kd-11
FM, FMA, FNMS, FMS are approximated.
FCGT, FCMGT are accurate.
2018-12-24 16:04:46 +03:00
Nekotekina
f750b4c420
cellSaveData: try to address #5415
2018-12-24 16:04:46 +03:00
Nekotekina
522f5ea645
Fix cellFsGetFreeSize (following #5304 )
...
Simplify device name extraction
2018-12-24 16:04:46 +03:00
kd-11
9c46386dd4
rsx: Check av configuration when selecting display buffers!
...
- Some applications have mismatch between video output configuration and display buffer sizes
2018-12-24 09:05:19 +03:00
kd-11
7555be232f
rsx/vp: Fix double dst commands
...
- Test the vec_result mask before assigning to actual output
Sometimes, VEC op is used to write to Rx, and SCA op is used to write to o[x]!
2018-12-24 09:05:19 +03:00
kd-11
10d96a60f1
rsx/capture: Force flip if no flip event was recorded
2018-12-24 09:05:19 +03:00
kd-11
f48abde14b
rsx: Fixups for immediate rendering mode
...
- Immediate mode is isolated from the rest of the vertex configuration
- TODO: Verify register behaviour when immediate mode is used
Check if per-primitive const register values are supported (likely are)
2018-12-24 09:05:19 +03:00
kd-11
4b79ef1ad9
rsx: Implement stencil mirror views
...
- Implements a mirror view of D24S8 data that accesses the stencil components.
Finishes the implementation of TEX2D_DEPTH_RGBA as the stencil component was previously missing from the reconstructed data
- Add a few missing destructors
Image classes are inherited a lot and I forgot to make the dtors virtual
2018-12-24 09:05:19 +03:00
kd-11
696b91cb9b
rsx: Reimplement conditional execution in shaders
...
- Per-channel conditional execution introduces RAW hazards all over the place
- Its cheaper to process both branches and select between the two
- Also improves ShaderVariable functionality to allow functionality such as match_size and taking complex variables as inputs
2018-12-24 09:05:19 +03:00
kd-11
c75749f8ce
rsx: fix flip logic when grabbing output from the surface cache
2018-12-24 09:05:19 +03:00
MSuih
eba364c64c
Clear disk cache if it grows too large (dev_hdd1/cache) ( #5411 )
...
* Clear disk cache automatically
* Add disk cache to UI
2018-12-24 00:18:47 +03:00
Megamouse
b99a88afe2
Qt/Input: disable in-game controls while the pad settings are opened
2018-12-23 04:13:27 +01:00
Megamouse
e80f2793eb
Qt/Input: immediately abort remapping if the controller was disconnected
...
added some fixups
2018-12-23 04:13:27 +01:00
Megamouse
6dcf66b064
Qt/Input: add disconnected label to the devicenames
2018-12-23 04:13:27 +01:00
Megamouse
bdb5606317
Qt/Input: enable DS4 controller reconnect without refresh
2018-12-23 04:13:27 +01:00
Megamouse
6e323622a5
Qt/Input: use 1-n in the GUI instead of 1-(n-1)
...
I didn't look into evdev
2018-12-23 04:13:27 +01:00
Megamouse
91d834ce73
Qt/Input: improve DS4 device list
...
Needed to move Reset out to main_window due to hid closing problems. It's better to have the reset logic outside anyway
2018-12-23 04:13:27 +01:00
Megamouse
f617e47152
Qt/Input: disable mapping for unconnected pads
2018-12-23 04:13:27 +01:00
Megamouse
e80574cbd2
RSX/Qt: set min gs_frame size to 160x90 to prevent stupid new Vulkan bug
2018-12-22 23:10:34 +01:00
Megamouse
79003cd089
Qt/windows: use Qt's high dpi scaling
2018-12-22 23:10:34 +01:00
isshininu
9717e19be2
sceNpTrophy: use SCE_NP_TROPHY_STATUS_INSTALLED instead of SCE_NP_TROPHY_STATUS_NOT_INSTALLED
...
* Update sceNpTrophy.cpp
* Revert "Update sceNpTrophy.cpp"
* Update sceNpTrophy.cpp
* Update sceNpTrophy.cpp
2018-12-22 13:53:38 +01:00
eladash
69fc1f2613
Added CAMERA_NOT_INIT checks for no camera setting
2018-12-20 08:52:09 +01:00
Megamouse
6b1d80ec25
cellCamera: fix read_mode
2018-12-20 08:02:44 +01:00
Megamouse
bc3ab7a9d9
Input: Enable In-Game Pad Config Reset
2018-12-17 19:41:18 +01:00
vit9696
5a40c1802b
Support macOS bundling for binary distribution
2018-12-16 18:17:21 +03:00
eladash
c50d459b1e
cleanup rsx fifo debugger command display
2018-12-15 19:40:18 +03:00
eladash
098d634328
rsx fifo: Fix call cmd offset mask
...
highest 3 bits are masked according to tests, also filter certainly invalid jumps with offset higher than max
2018-12-15 19:40:18 +03:00
eladash
c2aa10cccd
reduce register_pair container
2018-12-15 19:40:18 +03:00
eladash
45ed58cdaf
Fix rsx capture replay
...
Allow to capture non-increment cmd flag that was missing in command.reg
2018-12-15 19:40:18 +03:00
eladash
87988e9da8
rsx fifo: Stability improvements
...
* Restore stack in fifo error handling
* Update get register after the cmd execution
* Fix put pause in the middle of command
* Add restore points when branching to self
* Precise nopcmd detection
* Test all invalid cmds for early treatment of queue corruption
2018-12-15 19:40:18 +03:00
eladash
835a552d8d
rsx: Implement cellGcmSetNotify
2018-12-15 19:40:18 +03:00
eladash
fd894d4c69
hle gcm: Fix cellGcmGetNotifyDataAddress
2018-12-15 19:40:18 +03:00
eladash
415b995a54
log rsx get ctrl
2018-12-15 19:40:18 +03:00
eladash
8cbaa8627c
Do not rely on cellPadInit in native ui
2018-12-15 13:51:16 +01:00
Megamouse
2e7e2bb07e
XInput: fix usage of one controller for 2 players
2018-12-15 13:13:26 +01:00
msuih
76f94940cd
Add strict texture flushing to debug options
2018-12-11 22:37:10 +03:00
Rui Pinheiro
54bfe2e102
Add log warning on slow flush path
2018-12-11 22:37:10 +03:00
Rui Pinheiro
18b9ee4541
Reimplement overlapping fbo "hack"
...
To avoid the need (and performance hit) of Read Color/Depth Buffers, we
may not invalidate overlapping fbos inside lock_memory_region unless
they are guaranteed to be superseded by the new one.
This avoids e.g. issues with overblooming, among others.
2018-12-11 22:37:10 +03:00
Rui Pinheiro
5ab7296665
Fix xcode build
2018-12-11 22:37:10 +03:00
Rui Pinheiro
bcdf91edbb
Misc. Texture Cache fixes
2018-12-11 22:37:10 +03:00
Rui Pinheiro
9d1cdccb1a
Implement dedicated texture cache predictor
2018-12-11 22:37:10 +03:00
Rui Pinheiro
af360b78f2
Texture cache section management fixups
...
Fixes VRAM leaks and incorrect destruction of resources, which could
lead to drivers crashes.
Additionally, lock_memory_region is now able to flush superseded
sections. However, due to the potential performance impact of this
for little gain, a new debug setting ("Strict Flushing") has been
added to config.yaml
2018-12-11 22:37:10 +03:00
Megamouse
1ca02c7d17
Qt: implement custom titles
2018-12-10 18:50:23 +01:00
Megamouse
ead03caedc
Qt: Fix silly edit bug that no one ever noticed
2018-12-10 18:50:23 +01:00
RipleyTom
077e710e3a
sys_fs_fcntl with parameter 0xC0000002 should extract device path from the given path and use that to gather free space information
2018-12-10 14:24:07 +03:00
Nekotekina
d6afba96f1
cellSaveData: fix 'Already exists' error
2018-12-10 01:43:47 +03:00
Nekotekina
d98420fbc3
CMake: use CMAKE_SOURCE_DIR instead of .. in some places
2018-12-10 01:43:47 +03:00
eladash
fb8302817f
ppu: Set link unconditionally
2018-12-10 01:34:02 +03:00
RipleyTom
5207b00973
Extra Handling of result value of funcStat CB.
2018-12-08 18:44:00 +03:00
Nekotekina
92be67b402
Fix #5370 regression
2018-12-05 00:06:09 +03:00
Nekotekina
476090a747
Detach VBlank and RSX Decompiler threads
...
Should fix exception handling in RSX Thread
2018-12-04 23:41:54 +03:00
elad
90265edfcd
SPU MFC: avoid copying of the lockline onto the stack in putllc/putlluc ( #5392 )
2018-12-04 21:09:55 +03:00
eladash
45942c4962
Fix segfault when scaled image dimension is less than clip's
2018-12-04 13:01:29 +03:00
eladash
fa5652fceb
rsx image_in: Implement negative scaling
2018-12-04 13:01:29 +03:00
eladash
ce500c75c4
throw exceptions in case of invalid/unknown operations in image_in
2018-12-04 13:01:29 +03:00
eladash
6ecf2fb3d0
rsx: default lv2 semaphore context + dma_4097
...
extracted from vsh
2018-12-04 13:01:29 +03:00
eladash
28e4a9e0d0
rsx image_in: Fix in_pitch 0
...
The hw doesnt fix pitch, when specifying src pitch 0 it copies the same pixels line to dst. keep in mind out_pitch = 0 is not allowed in image_in.
Same goes for buffer_notify, though it allows out_pitch to be 0.
2018-12-04 13:01:29 +03:00
eladash
d1d3ac984e
rsx image_in: Fix src size calculation when in_pitch != line_lengh
2018-12-04 13:01:29 +03:00
eladash
0a1da14a15
rsx image_in: remove clip h and w hack
...
If clip region is empty, dont execute
2018-12-04 13:01:29 +03:00
eladash
4ddafc481e
remove unreachable code
2018-12-04 13:01:29 +03:00
eladash
b48a4b6459
rsx-capture: reduce capture size
...
* Dont bother capturing 'destination' blocks with no data. instead premap all main memory to ensure allocated
* Capture zcull and tile state as their compressed gcm forms
* Fix index array capturing, ignore empty sets
* hle gcm: Fix byteswaping in cellGcmSetZcull
2018-12-04 13:01:29 +03:00
NicknineTheEagle
32059bfaa2
Properly get PARAM.SFO and icons for C00 games ( #5370 )
...
* Added a helper function for fetching game's PARAM.SFO path
This should properly get SFO path for unlocked C00 games
* Normalized line endings
* Refresh game list after installing a RAP file
2018-12-04 01:46:01 +03:00
Megamouse
afdf0b74a0
VS: filter for trophy_manager_dialog.h
2018-12-03 22:37:31 +01:00
Megamouse
87be1abb9a
Qt: fix play icon default tooltip
2018-12-03 22:37:31 +01:00
kd-11
a56ba737b5
vk: Silence log spam
2018-12-03 20:01:23 +03:00
kd-11
504ab5a6d4
rsx: Minor cleanup to silence stupid compiler warnings
2018-12-03 20:01:23 +03:00
kd-11
f4c28eceef
rsx: Fix null renderer
2018-12-03 20:01:23 +03:00
kd-11
9d0042f509
rsx: Fixup for the flattener
...
- Reset the flattener before use
- Better detection of FIFO misalignment
2018-12-03 20:01:23 +03:00
scribam
24a8d0aeef
sceNp: add SCE_NP_ERROR_ID_NOT_FOUND for sceNpBasic*Entry* functions
2018-12-03 15:26:29 +03:00
RipleyTom
7f3eaed435
Fullscreen fix
2018-12-03 14:16:47 +03:00
RipleyTom
25414953e0
Fixes maximize window to properly update the render surface in Vulkan
2018-12-01 22:20:59 +03:00
msuih
8afc035aac
Category filter for PS1/PS2/PSP games
2018-12-01 16:56:56 +01:00
kd-11
ec768afbd9
rsx: Flip workarounds for applications that flip via syscall
...
- Do not assume flip marks end-of-frame if executed via syscall
- Also disables skip_frame for these applications as there is no frame boundary
- NOTE: QUEUE_HEAD cannot be relied on as it is seemingly possible to flip the same head and not need to queue it
2018-11-30 23:51:25 +03:00
kd-11
2168159d03
gl: Fix flip regression
...
- Restore graphics state after flip (including active fbo) because flip can be made through a syscall
2018-11-30 23:51:25 +03:00
kd-11
b96ed5cd4e
gl: Do not rely on driver statistics for s3TC textures; they are inconsistent.
2018-11-30 23:51:25 +03:00
kd-11
f1c3b46d60
rsx: Fixup - undo vertex cache 'improvements'
2018-11-30 23:51:25 +03:00
kd-11
5b6e1420f3
rsx: Pipeline barriers fixed up
...
- Ensure barriers are invoked even if no draw occurs!
-- Ensures that deferred commands are executed eventually
2018-11-30 23:51:25 +03:00
kd-11
8a186bb97e
rsx: Fix insertion of execution barriers
...
- Ignore barriers inserted after BEGIN but before any draw commands are emitted
- Properly process tail barriers inserted before END but after draw commands are submitted
- Ignore execution barriers with no effect (same register value written)
2018-11-30 23:51:25 +03:00
kd-11
1d19f71a46
rsx: Re-enable fifo error reset
2018-11-30 23:51:25 +03:00
kd-11
718a04c84f
fixup: Clear disabled attrib entries
2018-11-30 23:51:25 +03:00