Wally4000
2bd47919fa
Move CoverArt out of main tree
2024-10-06 15:22:22 +02:00
Wally4000
ebed797b89
More IO:: Standardisation
2024-06-18 17:48:41 +10:00
Wally4000
895e8910d9
Remove BuildOptions and clean up macros
2023-10-23 12:58:37 +11:00
Wally4000
76eb881494
use shared_ptr instead of RefCounted Class
2023-06-22 15:47:48 +10:00
Wally4000
060557db9b
Use smart pointers for singleton and graphics
2022-07-16 00:36:25 +10:00
Wally4000
a69ee0a3f3
More std::array magic
2022-05-03 12:50:08 +10:00
Wally4000
3fec82b04d
Remove stdafx.h for consistency
2022-03-22 18:06:17 +11:00
Carlos R
e9e0999540
Fixed crash in Pokemon Puzzle League, Fifa 98 and other games
...
This is a workaround to prevent crashing the emulator when trying to load excessive large textures
2020-07-14 21:59:41 -07:00
=
1511baa25e
Fix up paths in headers
2020-05-27 19:20:52 +10:00
=
1c342d8c8f
Revert all initialiser list variables.
2020-05-04 12:24:21 +10:00
z2442
275aacd212
more nullptr updates
2019-05-03 21:09:20 -04:00
Ben Slater
6a725bf99e
Removed a bunch of asserts / debug options from release build, stabs a bunch of compiler warnings
2019-05-03 17:43:44 +10:00
Wally
5dee7fe2cb
Converted remaining HLEGraphics to C11 standard
2019-03-22 16:39:50 +09:00
Ben Slater
c562b76641
*Clean build from StrmnNrmns repo
2019-02-27 17:04:51 +11:00
Wally
e17fdddadf
[~] Fix Conker Regression
...
[+] Remove a hell of a lot more missed asserts.
2019-01-23 17:05:36 +11:00
mrbenslater
2e6cf17baa
Move more debug stuff out of Release
2019-01-21 19:58:47 +11:00
salvy
36a13d5616
[!} Many clean ups to accurate TMEM
2013-06-12 22:13:00 -07:00
Paul Holden
0c9e241132
[~] Consistent #endif comments
2013-06-04 22:02:30 +01:00
salvy
a7fb63f28f
[!] Fixed memory leak in texture cache
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1724 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-29 06:55:41 +00:00
strmnnrmn
654b6b3f44
[~] Add a mutex to prevent texture references being dropped when debugging (this no-ops in release builds). Needed for OSX which calls Snapshot on a thread, the game purges a texture, but as the debug code still has a reference, it ends up deleting it. OpenGL doesn't seem to like deleting textures on a different threads from where they were created.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1395 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:42 +00:00
strmnnrmn
fd03012d0d
[!] Possible fix for loading savestates - mpCacheHashTable wasn't being cleared, so 'if( mpCacheHashTable[ixa] && mpCacheHashTable[ixa]->GetTextureInfo() == ti )' could dereference an uninitialised pointer.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1353 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 08:08:38 +00:00
strmnnrmn
dc91fe455b
[~] We can store raw pointers to CachedTextures, and save a little overhead.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1318 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:50 +00:00
strmnnrmn
c72b2ce625
[~] STextureInfoSnapshot can use a CNativeTexture
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1316 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:35 +00:00
strmnnrmn
240081f9ff
[~] Don't store a separate mpWhiteTexture per CachedTexture. Make it a separate attribute of the key (TextureInfo) and cache it directly.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1315 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:26 +00:00
strmnnrmn
231b248979
[~] CTextureCache::GetOrCreateTexture can return a CNativeTexture now.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1314 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:17 +00:00
strmnnrmn
af29743eab
[~] Keep track of NativeTextures, not CachedTextures. I'm going to introduce a new CachedTile type for OSX, and it's simpler for the renderer to only know about the native texture type (common to CachedTexture and CachedTile)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1313 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:09 +00:00
strmnnrmn
f0c89b1874
[~] Make CachedTexture::UpdateIfNecessary private. Always do this when returning from CTextureCache::GetOrCreateTexture (the mFrameLastUsed check in IsFresh ensure that this does nothing if called many times in a frame)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1311 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:37:50 +00:00
strmnnrmn
c82743aedb
[~] Rename CTextureCache::GetTexture to GetOrCreateTexture (more greppable). PAss a TextureInfo reference instead of a pointer
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1261 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:11 +00:00
strmnnrmn
96de19a570
[*] Rename TextureDecriptor.{h,cpp} to TextureInfo (match the class name)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1258 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:50:48 +00:00
strmnnrmn
a3eee1f6cb
[~] CTextureCache doesn't really need to be a pimpl - remove this to avoid a few virtual calls. Remove lots of unused code and tidy.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1257 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:50:36 +00:00
strmnnrmn
058c7de6b5
[~] Rename CTexture to CachedTexture
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1249 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:01:41 +00:00
strmnnrmn
a629bb2803
[~] Move some DL debugging code (printf style, not the interactive debugger) to a separate DLDebug.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1019 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 21:27:37 +00:00
strmnnrmn
767e4efd9c
Fix line endings
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@822 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 22:11:57 +00:00
salvy
eaa0f2b641
[!] Opps reverted previous commit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@810 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 20:42:24 +00:00
salvy
ce36d63b82
[!] Use TI hash to check if the texture is the same (we'll reuse it in the cache too)
...
Note: T1 hack is broken!! FIX ME
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@809 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 20:29:08 +00:00
Corn
38f073fce0
[!] Fixed Worms sprite flipping in S2DEX
...
[!] tweaked and fixed texture cache hashing
[!] fixed MK64 character selection textures (don't recall if this broke other stuff?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@785 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-21 06:08:12 +00:00
Corn
05ecfd4fd3
[!] Small speed up avoiding doing texture hash twice if a texture needs updating
...
[!] Avoid reloading textures used by S2DEX if still in use.
[!] Avoid scaling down temporary texture buffer below 128kB (should be ok for most games)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@450 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-19 12:26:33 +00:00
Salvy
bdbd952c60
[+] Initial repo (based from r630 dx64 branch)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@3 42e9bfbe-799a-4a2d-bad1-236e862a387a
2010-12-24 04:37:41 +00:00