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