Nekotekina
c4558d2ca7
cast_armv7_gpr added
2015-01-19 21:02:33 +03:00
Nekotekina
6ec6303933
Compilation fix
2015-01-19 19:59:07 +03:00
Nekotekina
1629feb15e
vm::ptr::make() fixed, added to_le() method
2015-01-19 19:30:35 +03:00
Nekotekina
8ecf3dcc80
Compilation fix
2015-01-19 17:34:11 +03:00
Nekotekina
f3c9143a81
cast_to_ppu_gpr(), cast_from_ppu_gpr() updated
2015-01-19 17:16:31 +03:00
Nekotekina
0d28f378a7
fmt::format() optimization (fmt::unveil template)
2015-01-19 01:54:56 +03:00
Nekotekina
cdeac05e88
vm::cast
2015-01-14 16:57:19 +03:00
Nekotekina
f1f51521f4
PKG installer fixed
2015-01-13 20:38:32 +03:00
Nekotekina
88fd748dd5
Experimental vm::ptr support for fmt::format
2015-01-13 20:14:07 +03:00
Nekotekina
da09477be8
Callback syntax changed
...
call() became overloaded () operator
2015-01-11 13:43:40 +03:00
Nekotekina
bd71c1200e
CB_FUNC/SC_FUNC fixed
2015-01-07 19:44:47 +03:00
Nekotekina
5f27e9b6e7
Compilation fix
2015-01-07 05:27:35 +03:00
Nekotekina
3f44e07b7c
vm::stackvar (experimental)
...
Should be convenient for small allocations which would be done on stack
on real console
2015-01-07 05:14:00 +03:00
Nekotekina
896097da0d
Experimental RawSPU MMIO implementation
2015-01-04 15:35:47 +03:00
Nekotekina
f3cd908d5c
Sync primitives reworked
...
(rwlock rewritten)
2015-01-02 02:41:29 +03:00
Nekotekina
d648957864
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-11-30 15:08:54 +03:00
DHrpcs3
a59cf50f03
Improved LLE Manager
...
Improved VFS
2014-11-29 15:16:53 +02:00
Nekotekina
ea1bad8724
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-11-24 22:51:01 +03:00
DHrpcs3
795729a0b7
Fixed vm_ptr
...
Improved elf64 loader.
Minor improvements to vm.
Added hotkeys to MainFrame.
2014-11-24 20:12:04 +02:00
Nekotekina
8df2c3d707
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-11-22 19:49:54 +03:00
Raul Tambre
16b4b9bf40
Fix Travis compiling
2014-11-21 15:52:01 +02:00
DHrpcs3
cdfef3bf9e
Fixed compilation errors
...
Implemented converter_le_be
2014-11-20 21:41:04 +02:00
DHrpcs3
598d929aba
Implemented LLE Modules Manager (draft)
...
Improved loader core.
Implemented *_thread wrappers.
Minor fixes.
Temporary disabled ELF Compiler & DisAsm frame.
2014-11-19 16:16:30 +02:00
Nekotekina
c8d4193f08
PSV: sceKernelCreateThread and sceKernelStartThread
...
Some fixes in callback manager
2014-11-10 03:21:50 +03:00
Nekotekina
3bdfc6b499
ARMv7: more opcodes, some changes in loader
2014-11-02 02:19:14 +03:00
Nekotekina
09fbda603c
Atomic intrinsics refactoring
2014-10-10 22:19:14 +04:00
Nekotekina
74007d5e5d
Small changes in memory and RSXIOMem
...
Some bugs fixed, some other changes.
2014-10-04 18:43:46 +04:00
Nekotekina
6b0857dcff
Conflicts fixed
2014-10-02 16:19:52 +04:00
Nekotekina
4a6779469c
Memory fixes
2014-10-01 17:18:38 +04:00
DHrpcs3
eada1fe12c
Improved be_t
...
Fixed NV4097_SET_TWO_SIDE_LIGHT_EN
Added LIS, ORI, NOP & BLR to PPU Jit
2014-10-01 12:45:43 +03:00
Nekotekina
ce97a7e7a6
Channel<> rewritten
2014-09-30 23:06:04 +04:00
Nekotekina
c53a822c4e
spursAddWorkload
2014-09-28 23:10:13 +04:00
Nekotekina
ae17ef4d68
vm::atomic -> atomic_t
2014-09-27 22:49:33 +04:00
Nekotekina
e40776ba79
cellSpursWakeUp, CellSpursWorkloadAttribute
...
+vm_atomic update (8bit type)
2014-09-26 01:41:35 +04:00
Nekotekina
a4a4e572a0
vm::atomic update, small fixes
2014-09-23 18:27:18 +04:00
Nekotekina
e5a485e50b
More changes
2014-09-23 03:07:40 +04:00
Nekotekina
c9ad88b3ff
...+CellSyncQueue
2014-09-21 17:02:05 +04:00
Nekotekina
3ab08e0d7a
vm::atomic update (or, and, xor)
...
CellSyncMutex, CellSyncBarrier, CellSyncRwm refactoring
2014-09-21 03:29:42 +04:00
Nekotekina
169c8c47c0
vm::atomic update
2014-09-21 01:00:55 +04:00
Nekotekina
66000240ac
vm::atomic update, be_t update
...
1) MakeFromLE replaced with make(), MakeFromBE removed. Compiler seems
to be able to optimize it anyway.
2) be_t<> conversion operator temporarily replaced with conversion
through LE because it can't work with all possible numeric conversions
(float<>int for example)
2014-09-20 03:16:11 +04:00
Nekotekina
b6f8700b8b
vm::atomic initial structure
2014-09-19 23:11:43 +04:00
Nekotekina
5f1253598c
Fix formatting
2014-09-15 23:04:18 +04:00
Nekotekina
597d07bf24
Small refactoring
2014-09-15 02:17:24 +04:00
Nekotekina
5a4aa9096b
Float/vector arg support for callbacks
2014-09-12 17:08:24 +04:00
Nekotekina
fe53f6f2d7
Compilation fix
2014-09-11 23:33:20 +04:00
Nekotekina
cd39256361
CallbackManager rewritten
2014-09-11 23:18:19 +04:00
Nekotekina
470afd78d5
WIP (cellPngDec refactoring)
2014-09-08 04:54:17 +04:00
Nekotekina
43a61d0ab9
Memory.Write*/Read* replaced
2014-09-06 17:33:01 +04:00
Nekotekina
12becc6120
MemoryBase::operator[] replaced
2014-09-06 02:12:10 +04:00
Nekotekina
db9cbe6cdd
MemoryBase::operator+ replaced
2014-09-06 00:26:36 +04:00
Nekotekina
225dba754d
GetMemFromAddr, VirtualToRealAddr replaced
...
Some arg types changed
2014-09-05 21:23:00 +04:00
Nekotekina
964c1bfd6c
WriteString replaced
...
strcpy_trunc (defined in GNU.h) is better for fixed-length char arrays
2014-09-05 03:23:36 +04:00
Nekotekina
4346514b9d
Compilation fix
2014-09-04 21:39:02 +04:00
Nekotekina
9f2afffca1
Some functions removed
2014-09-04 21:32:20 +04:00
Nekotekina
1337cf4f04
Some memory functions removed
2014-09-03 20:33:30 +04:00
Nekotekina
d0e532e7ce
DynamicMemoryBlockBase.h removed
...
Map() and Unmap(): roughly rewritten.
I checked every memory-related syscall and I'm sure that they don't
really need any mirroring. Some unused code deleted.
2014-09-03 01:48:44 +04:00
Nekotekina
1626df7e46
Compilation fix
2014-09-02 05:14:24 +04:00
Nekotekina
b952017a3a
mem_ptr_t replaced
2014-09-02 05:05:13 +04:00
Nekotekina
bd9775e0eb
Callbacks fix + TODO
2014-09-02 02:59:46 +04:00
Nekotekina
9c94a6943d
mem_bptr_t replaced
2014-09-02 02:22:13 +04:00
Nekotekina
37da5589e4
Compilation fix 6
2014-09-02 01:46:02 +04:00
Nekotekina
51ea1e3bed
Compilation fix 5
2014-09-02 01:41:36 +04:00
Nekotekina
73555c1df1
Compilation fix 4
2014-09-02 01:22:07 +04:00
Nekotekina
4f6a407393
Compilation fix 3
2014-09-01 22:29:51 +04:00
Nekotekina
09022b1000
Compilation fix 2 + callback fix
2014-09-01 21:38:55 +04:00
Nekotekina
774b5be7d7
Patch from DH applied
2014-09-01 20:16:44 +04:00
Nekotekina
f31ed4e9f2
mem_func_ptr_t replaced
2014-09-01 16:47:26 +04:00
Nekotekina
9501869aa1
mem32_t replaced
2014-09-01 04:51:48 +04:00
Nekotekina
0b5ef1d8f9
mem64_t replaced
...
Added conversion from vm::var to vm::ptr of the same type.
2014-09-01 02:58:08 +04:00
Nekotekina
0d94c78e63
mem16_t replaced
...
I think it's not bad to use pointer type when possible, because it's
often originally pointer, not reference.
2014-09-01 01:55:38 +04:00
Nekotekina
49b295e332
Bugs fixed
2014-08-31 23:38:03 +04:00
Nekotekina
a8cfefac07
vm::ptr for u8/char types, mem_list_ptr_t removed
2014-08-31 19:01:48 +04:00
Nekotekina
ebc4fa3e81
Compilation fix
2014-08-31 15:18:32 +04:00
Nekotekina
571bd63644
Test
2014-08-31 13:54:12 +04:00
Nekotekina
26e03fa794
Compilation fix 3
2014-08-31 03:38:55 +04:00
Nekotekina
140d40b5bc
Compilation fix 2
2014-08-31 03:19:10 +04:00
Nekotekina
ff3df64a26
Compilation fix
2014-08-31 03:06:43 +04:00
Nekotekina
367b8e7129
memory-wip branch merged
2014-08-31 02:15:11 +04:00
Nekotekina
9e2bb9e9d2
Some warnings fixed
2014-08-31 00:41:01 +04:00
Nekotekina
3269c88d02
Some warnings fixed, some code removed
2014-08-30 21:51:00 +04:00
Nekotekina
028ce2dd9f
stdafx_gui.h created, wx removed from stdafx.h
2014-08-29 02:49:26 +04:00
Nekotekina
693e7a38fa
Some std include moved
2014-08-28 20:29:05 +04:00
Nekotekina
b37f3e1b93
mem_class_t eliminated
...
It didn't work for some reasons anyway,
2014-08-28 05:18:35 +04:00
Nekotekina
5d3a612003
SC_FUNC.h rewritten
...
Now float arguments should work correctly
2014-08-26 18:38:14 +04:00
Nekotekina
61c4a88ab4
rFile.h, Thread.h, IdManager.h includes moved
2014-08-25 18:56:13 +04:00
Nekotekina
861ce9e733
include clearing
2014-08-23 01:15:02 +04:00
Nekotekina
652c5901f8
Another try
2014-08-22 20:36:27 +04:00
Nekotekina
5abd3fabfa
Attempt to remove some includes
2014-08-22 18:21:55 +04:00
Nekotekina
89b944c397
REG_FUNC macros
...
And some auxiliary changes
2014-08-19 22:17:20 +04:00
Nekotekina
9f0c5899d6
Little fix (forbids pointer arithmetic in some places)
2014-08-14 16:15:04 +04:00
raven02
e948842faa
Damn typo
2014-08-10 07:10:44 +08:00
raven02
e49fcd4b21
Fix typo
2014-08-09 23:31:21 +08:00
Nekotekina
e7ae71bd73
Copy(To)(From)(Real) elimination
...
It was nothing but a crutch
2014-08-05 21:33:02 +04:00
Nekotekina
8f04ab07ed
IsGood() check elimination
...
Reasons: 1) It's unsafe - we cannot guarantee that address is still good
while it is used. 2) It's wrong in many modules which are usually just
compare pointer with zero.
2014-08-05 14:18:22 +04:00
DHrpcs3
7411012db9
Fixed compilation errors
...
Implemented vm::ptr & vm::ref
2014-08-01 19:27:48 +03:00
DHrpcs3
cd33be1491
Implemented vm::var.
...
MemoryAllocator replaced with vm::var
2014-07-31 19:08:02 +03:00
Nekotekina
74914c5916
be_t<> constructor elimination
2014-07-18 20:55:26 +04:00
Nekotekina
ecbc9d1b08
RawSPU cleanup
2014-07-16 20:10:18 +04:00
Nekotekina
3d9c76a80d
RawSPU initialization fix
2014-07-16 16:09:43 +04:00
Alexandro Sánchez Bach
75e81bc969
Merge pull request #572 from Nekotekina/master
...
Update
2014-07-15 01:06:53 +02:00
Nekotekina
01aa74e4a8
IsGoodAddr() bug fixed
2014-07-14 23:15:30 +04:00
boxingcow
ebf713c5a6
Update Memory.h
...
To remove extraneous code.
2014-07-14 09:18:45 +01:00
Nekotekina
2eafb235ba
spu_printf fixed
2014-07-13 22:55:14 +04:00
Nekotekina
7370c49ff3
Forgotten memory check + PSV stuff fixed
2014-07-13 16:26:38 +04:00
boxingcow
a4f73bc705
Fix broken OS X build with isnan and MAP_ANONYMOUS
2014-07-12 22:06:43 +01:00
Nekotekina
2331c5991a
Little fix
2014-07-12 20:38:37 +04:00
Nekotekina
a94d0771fe
Compilation fix 2
2014-07-12 19:40:52 +04:00
Nekotekina
9b5a3fd2b6
Compilation fix
2014-07-12 19:30:07 +04:00
Nekotekina
1908842255
Build fix
...
Non-ASCII characters replaced in PPUThread.h
Some cleanup
2014-07-12 18:53:36 +04:00
Sacha
9816ec3aa0
Fix conflicts.
2014-07-12 17:02:39 +10:00
Sacha
6e06fdf638
Stdafx: Major header cleanup
2014-07-12 16:33:04 +10:00
Nekotekina
c16daed87d
Compilation fix
2014-07-11 16:50:50 +04:00
Nekotekina
2203cb1dcf
F|_|C|< the speed, we need some checks
2014-07-11 16:22:56 +04:00
Nekotekina
2fe52451e1
Exceptions fixed
2014-07-11 15:32:34 +04:00
Nekotekina
125359e30e
Some fixes
2014-07-11 13:18:23 +04:00
Nekotekina
259b57c64a
Fixed conflicts
2014-07-11 10:09:38 +04:00
Sacha
6b148d1d4c
CMake: Improve to support build type. Default to release.
2014-07-11 02:46:10 +10:00
Sacha
ab7a45aede
stdafx: move out some uncommon includes
2014-07-11 00:16:26 +10:00
Nekotekina
bb0695e76c
Using recursive mutex
2014-07-10 00:02:21 +04:00
Nekotekina
123c4ba1a8
Some bugs fixed
2014-07-09 03:04:36 +04:00
Nekotekina
6e77f80d5f
Small fix 2
2014-07-08 21:18:12 +04:00
Nekotekina
34590bc884
Small fix
2014-07-08 21:08:56 +04:00
Nekotekina
50b42f8593
ifdefs and linux (posix) version (not tested)
2014-07-08 18:26:49 +04:00
Nekotekina
d1fff053c2
Some cleanup
2014-07-07 21:22:36 +04:00
Nekotekina
19db12e090
Memory allocation changes
2014-07-07 03:36:07 +04:00
Nekotekina
abbbaa222b
cellMsgDialog functions improved
...
Callback can return result now
2014-07-04 02:52:43 +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
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
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
Bigpet
924f117ba0
help out compilers that use two phase lookup as dictated by the standard
2014-06-01 21:28:29 +02:00
DH
c00f4b6022
Improved mem_ptr_t.
...
Implemented mem_func_ptr_t.
2014-06-01 12:38:37 +03:00
Hykem
490d1059ac
Merge pull request #250 from ItzWarty/cellPngDecDecodeData_optimizations
...
Optimize cellPngDecDecodeData's CELL_PNGDEC_ARGB case
2014-05-24 17:23:17 +01:00
B1ackDaemon
e569de73d6
Merge pull request #248 from ItzWarty/master
...
virtual memory block reads/writes properly fail if address is out of bounds
2014-05-21 18:22:01 +03:00
Michael Yu
85785b471e
MEMORY: Fixed IsMyAddress bound error (GetEndAddr returns an inclusive value)
2014-05-19 14:58:01 -07:00
Michael Yu
9bdb12e3da
MEMORY: Added AppendRawBytes, which also advances the memory pointer unlike Memory.CopyFromReal
2014-05-19 02:23:23 -07:00
Michael Yu
2834697f1f
MEMORY: Copy from real's destination parameter should be immutable
2014-05-19 02:23:22 -07:00
Michael Yu
9e791da7bd
virtual memory block reads/writes properly fail if address is out of bounds.
...
Fixes Solar v2.1 http://puu.sh/8ScXK.jpg
2014-05-18 23:12:28 -07:00
Hykem
90896560bb
Merge pull request #209 from unknownbrackets/warnings
...
Fix a bunch of warnings
2014-04-28 17:15:12 +01:00
Unknown W. Brackets
8ff354a4ea
Switch a bunch of loops to range fors.
2014-04-28 07:57:49 -07:00
Unknown W. Brackets
d6baac6fbe
Fix reseved -> reserved typo.
2014-04-28 07:43:12 -07:00
Unknown W. Brackets
b550ccfc73
Make MemoryBase::Unmap() return a value.
2014-04-28 07:43:06 -07:00
Unknown W. Brackets
32554b7023
Use templates in FastRead/FastWrite to simplify.
...
DRY.
2014-04-28 00:42:02 -07:00
Unknown W. Brackets
e4c0b0310c
Don't ask twice if MemoryBlocks can read mem.
...
They already check on Read32(), so just use that to iterate.
2014-04-28 00:15:37 -07:00
Peter Tissen
4981c576d2
rename all the non-standard include file extensions to *.h
2014-04-27 19:28:03 +02:00
nohbdy
d136adc73f
RSX Bugfixes and plugging memory leaks
...
BUGFIX: Add break after NV4097_SET_TEXTURE_BORDER_COLOR in RSXThread.cpp
BUGFIX: Fix parameters passed to RSXTexture::SetControl3 (they were being
passed in reverse order)
BUGFIX: Remove invalid, non-sensical call to glPixelStorei in GLGSRender.h
BUGFIX: Fix signed/unsigned comparison compiler warnings in GLGSRender.h
CHANGE: Make GLFragmentProgram::Decompiler synchronous by default
CHANGE: Update wxWidgets submodule to latest commit
BUGFIX: Fix several memory leaks
ADDED: Created a new MSVC debug configuration to output locations
of allocations that end up leaking after the program
is closed.
BUGFIX: Fix the stupid PadHandler crash due to the lack of a virtual d'tor
2014-04-17 15:15:43 -05:00
Bigpet
25c3aa8e19
fixes to get llvm to compile (excepti for utils.cpp, that'll get fixed
...
later)
Eradicate the Array almost everywhere, some usages like Stack still
remains
2014-04-12 12:06:52 +02:00
Peter Tissen
8ac226ae69
replace all instances of wxString with std::string in all cases not
...
directly involved in either the GUI or other wxWidget classes like wxFile
2014-04-01 16:23:03 +02:00
nohbdy
d533572ee9
Minor code and memory initialization fixes
...
* Explicitly initialize member variables in SELFDecrypter, MemInfo, and
VirtualMemoryBlock
* Zero out memory used for counter/nonce in aes-ctr
* Fix use of a ControlInfo pointer after it is added to an Array via
Array::Move (which makes it an invalid pointer) in
SELFDecrypter::LoadHeaders
2014-03-27 22:16:14 -05:00
Nekotekina
d0ea397492
cellAtrac draft
...
sys_spu_thread_group_resume
Some bugs fixed
2014-03-22 15:08:07 +04:00