Commit graph

89 commits

Author SHA1 Message Date
DH
8b9a46bb39 RSX: fixed scissor 2014-07-19 18:39:47 +03:00
DH
7433a021db Improved RSX emulation
- Fixed NV4097_SET_SHADER_CONTROL
- Vertex Shader: SCA instructions don't override VEC result
2014-07-19 12:24:15 +03:00
raven02
f729f21e6c Fix compiler warning 2014-07-18 22:19:37 +08:00
Sacha
9816ec3aa0 Fix conflicts. 2014-07-12 17:02:39 +10:00
Nekotekina
259b57c64a Fixed conflicts 2014-07-11 10:09:38 +04:00
raven02
a8480f66e0 RSX : set bunch of default values using opengl one 2014-07-11 01:23:36 +08:00
Nekotekina
0dfbb5de73 Compilation fix 2014-07-10 18:29:38 +04:00
Nekotekina
22b9afdb60 Some cleanup 2 2014-07-10 04:13:04 +04:00
Nekotekina
3fdeb72999 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-07-10 00:02:45 +04:00
raven02
52112006d4 RSX: simplify recale native resolution 2014-07-08 23:25:02 +08:00
Nekotekina
d1fff053c2 Some cleanup 2014-07-07 21:22:36 +04:00
raven02
38e41e0ea8 RSX : add rescale support for native 960x1080 & 1024x768 2014-07-07 22:16:59 +08:00
Nekotekina
19db12e090 Memory allocation changes 2014-07-07 03:36:07 +04:00
Alexandro Sánchez Bach
08d61163ea Removed external functions from SysCalls.h
* Replace `int` with `s32` as return type for syscalls.
* Renamed `SC_Something.*` files with the proper lv2 name
`sys_something.*`.
* Moving away from the lv2, those functions and folders that doesn't
correspond to lv2 functions. E.g. module functions from sys_io,
sysPrxForUser, cellGcmSys.
* Splitted some files (memory -> memory+mmapper) and merged other ones
(event+event_flag ->event, spu+spu_thread -> spu), according to common
sense, PSDevWiki docs, and checking firmware files.
* Removed external functions from `SysCalls.h`.

NOTE: What should we do about: cellGcmCallback? It's not a lv2 syscall
but it appears on the sc_table and it is actually called in games. Is
this some kind of hack?
2014-07-06 16:23:37 +02:00
raven02
9ede2d6753 RSX blending MRT and cellResc 512MB io address space changes 2014-07-06 01:33:04 +08:00
raven02
1fc3654ca4 Comment style change 2014-07-05 04:07:15 +08:00
raven02
6a6fbea5ee RSX : comment out code for NV4097_SET_SCULL_CONTROL and add LOG_WARNING 2014-07-05 04:01:49 +08:00
raven02
b7be0dc633 Obsolete option "480p downscale" and make it auto rescale whenever approriate 2014-07-03 00:48:44 +08:00
B1ackDaemon
fd56797b77 Merge pull request #381 from Nekotekina/master
Nekotekina's stuff
2014-07-01 22:06:52 +03:00
raven02
7aefdd3e1f Implement Polygon Stipple 2014-07-02 00:09:24 +08:00
Nekotekina
f3b61f58ef Fixed conflicts 2014-07-01 17:29:47 +04:00
raven02
8d1d227dac Cross-check and validate all NV0406E/4097/3089/3062/308A functions with gcm_method.h 2014-07-01 07:57:49 +08:00
Nekotekina
017e44cf4d Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-07-01 02:54:36 +04:00
raven02
26c77fbaa0 cellResc : InitMembers , InitSurfaces and few stuffs for InitRSXContext 2014-06-30 03:15:37 +08:00
Nekotekina
8987350b5b Small changes 2 2014-06-29 07:21:57 +04:00
Nekotekina
b11e086589 Small changes 2014-06-28 05:19:44 +04:00
Peter Tissen
95f1a0e645 use only one set of logging macros instead of two and don't use free() as a function name 2014-06-27 15:28:17 +02:00
Peter Tissen
21da317453 Logging system rework
* use one central unified log with channels/priorities ad-hoc listener registration and de-registration
* disable buffering by default
* add multi-threaded ringbuffer implementation
* use buffered listener for the gui (using the ringbuffer)
2014-06-26 17:34:28 +02:00
Nekotekina
eca7339a67 Some freezing fixed 2014-06-26 01:59:23 +04:00
Nekotekina
30b8e51234 rCriticalSection & rSemaphore removed
SC_Semaphore errors fixed
Room for interrupt threads
2014-06-22 14:59:28 +04:00
raven02
4e55e6abbd Set rendering width/height to buffer width/height 2014-06-21 18:04:59 +08:00
raven02
c3960b7f43 Misc thread started/ended/aborted aligment 2014-06-21 12:29:17 +08:00
raven02
12f217aba9 RSX: matrix offset fix and use original buffer width for writing color/depth 2014-06-21 12:02:11 +08:00
Nekotekina
1c4ae999d6 SSemaphore basic implementation
Set for RSX
2014-06-20 23:56:19 +04:00
raven02
fda97f25a0 Downscale small bug fix 2014-06-21 02:25:32 +08:00
Hykem
9048bab305 Merge pull request #350 from Nekotekina/master
Some crash avoidance
2014-06-20 14:47:59 +01:00
Nekotekina
568e99d4d3 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-06-20 17:13:51 +04:00
raven02
efffc7e6bc Option allow downscaling 720p/1080p to 480p 2014-06-20 17:49:22 +08:00
Alexandro Sánchez Bach
f131f134a5 Minor changes
* Removed old lv2Process* functions
* Function name is displayed again in unimplemented syscalls
* Minor changes that won't affect the emulator.
2014-06-19 20:15:53 +02:00
Nekotekina
ccfaabd1d7 Defined thread_local for MSVC
Updated asmjit project
Tried to fix crash on exit
Fixed hypothetical issue when pausing already stopped emulator
2014-06-19 17:50:18 +04:00
raven02
76c8eedb25 RSX : implement line stipple 2014-06-15 05:53:26 +08:00
raven02
44dd770cec RSX: fix line width 2014-06-15 02:29:27 +08:00
raven02
5007d62e27 Regresion fix : restore point size functionality 2014-06-15 00:59:16 +08:00
raven02
469faf43aa Fix line width conversion and comment out point size which already done in vertex shader 2014-06-14 04:14:04 +08:00
raven02
8112440a27 Fix point size/line_width/poly_offset_scale_factor/bias 2014-06-13 02:18:12 +08:00
Peter Tissen
c37905e465 initial start to eliminate static func init, not compilable atm
move module initialization into a module manager, still has some issues like stopping not working and debug crashing

add #idef 0 to modules that aren't in the windows project

don't double initialize and don't de-initialize for now, since many modules don't expect it and it leads to many errors

remove duplicate module lists for empty modules and implemented ones, make Module non-copyable but movable

add secondary project, no real use for it now

add some memleak config to the emucore and add asmjit path to rpcs3

small rebase error fixed to get it to compile again

add filters for emucore

re-add the module manager and static file

WIP commit, linker errors abound

some more abstraction layer stuff

fix the remaining linker errors, re-enable platform specific mouse, pad and keyboard handlers

rebasing

fix memset undefined and re() usage of se_t before declaration

Add wxGUI define by default for cmake builds

fix copy constructors of Datetime header

fix copy constructors of other wx interface classes

remove static declarations of global variables

make wxGLCanvas constructor non-ambiguous even with wx2.8. compat mode, fix wrong std::exception constructor calls

remove duplicate definition for FromUTF8 and ToUTF8

temp changes
2014-06-08 23:16:06 +02:00
DH
3c8815cc06 Improved Vertex Shader Decompiler
- Fixed condition register selection
- Implemented LIT
- Fixed RCP
2014-06-08 17:52:35 +03:00
Peter Tissen
40add8f9a2 Seperate ConLog.h and ConLogFrame.h (for now only seperate headers)
make precompiled header slimmer under Linux to increase CI and dev-machine build-times

make sure unused modules don't compile
add unused modules to the VS project to easier keep track of them
2014-06-06 02:50:22 +02:00
raven02
c4075f1592 RSX: Reorganize and group revelant NV4097 functions 2014-06-03 06:17:33 +08:00
raven02
16d909834f Change to Error logging for null cmd 2014-06-02 02:32:00 +08:00