Commit graph

36 commits

Author SHA1 Message Date
wally4000
4a35201f22 Specify if a variable is unused to silence compiler. 2024-06-20 12:24:05 +10:00
Wally4000
895e8910d9 Remove BuildOptions and clean up macros 2023-10-23 12:58:37 +11:00
Wally4000
7b31d717b8 Cannot align these 2022-06-22 08:13:25 +10:00
Wally
9fe0d7666f Use modern alignas specifier 2022-06-19 13:55:08 +10:00
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +11:00
wally4000
6a619737ac Fixed Linux Build 2021-10-19 23:08:02 +11:00
Wally4000
eadc1b3758 move from typedef to modern using declaration 2021-10-18 18:58:14 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Carlos R
02f3b02352 Optimizations for Convertile (accurate tmem)
*Optimized ConvertRGBA32 (this is the last function that could be optimized \o/)
*Fixed up ConvertYUV16 and optimized YUVtoRGBA
2020-07-30 23:11:20 -07:00
Carlos R
bfffb7be1c Removed duplicate from convertimage/tile
*Moved all the conversion routines to ConvertFormats.h
*Fixed a lot of wrong bitshift operations (Rinnegatamante)
2020-07-26 11:18:46 -07:00
Carlos R
c01cb5ac90 More Improvements for Accurate TMEM
*Added macro for A8R8G8B8 conversion
*Make the tile conversion code clamp reads to the 4k tmem space (thanks strmnnrmn!)
*Moved DAEDALUS_ACCURATE_TMEM to be platform defined since this feature should not be enabled for low-end systems, ex PSP
2020-07-18 11:23:50 -07:00
Carlos R
80bb566033 Implemented YUV16 for accurate TMEM 2020-07-16 22:57:46 -07:00
Carlos R
757505fb43 Optimization for accurate TMEM
Optimized ConvertIA16, this an old change I had that I forgot to commit :/
2020-07-16 20:14:13 -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
7388099250 Small fixes from Rinne's Repo 2020-04-25 15:49:44 -04:00
z2442
275aacd212 more nullptr updates 2019-05-03 21:09:20 -04: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
mrbenslater
2e6cf17baa Move more debug stuff out of Release 2019-01-21 19:58:47 +11:00
salvy
91229711ff [!] Some clean ups and fixes to accurate tmem
[~] Fixed build when FAST_TMEM_COPY is not defined
[!] Fixed scrolling textures in DK64 when accurate tmem is not defined
[+] Added correct save type for Xena Warrior Princess and Super Robot Spirits
2013-07-01 22:37:22 +01:00
salvy
a5e538da98 [!] Optimized ConvertRGBA16, ConvertI4 and ConvertIA4 (Noticed these were using quiet bit of CPU % in OOT) maybe add a texture update option eventually? ;p
[~] Re-arranged the SWAP** macros
2013-07-01 22:29:05 +01:00
salvy
3779865237 [!] Fixed TLUT in Accurate TMEM
[-] Accurate TMEM no longer needs TLUT hack
2013-06-26 21:51:38 +01:00
salvy
31518c6046 [!] Fixed text in bomberman the second attack (accurate tmem) 2013-06-19 00:08:59 -07:00
salvy
36a13d5616 [!} Many clean ups to accurate TMEM 2013-06-12 22:13:00 -07:00
salvy
4ab14b5574 [!] TLUT hack for accurate tmem 2013-06-12 10:04:47 -07:00
salvy
180eb00463 [!] Fixed bug in fast tmem copy (CopyLine) (DK64 works flawless with accurate tmem now, also OTT's sky)
[!] Fast tmem copy for CopyLineSwap/32 (thx Corn for helping!)
[!] Aligned tmem to 16 byte
[!] Forgot to add bound checking for tmem in LoadTile
2013-06-11 01:37:59 -07:00
strmnnrmn
b818b8a0a1 [~] Remove unused vars
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1707 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 09:23:18 +00:00
salvy
af19d1a3b3 [+] WIP: Implemented CPU framebuffer, used by demos, Donald Duck, Rayman 2 The Great Escape, and probably other games (currently W32/OSX only)
[-] Reverted small constant opt from previous commit, is not worth breaking when EPak isn't used

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1675 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-14 20:11:42 +00:00
strmnnrmn
17eaff6696 [~] FillChecker is unused
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1648 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:36:31 +00:00
strmnnrmn
39d5ad60d8 [!] Fix Conker's Dolby logo texture with accurate tmem emulation
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1365 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 00:13:23 +00:00
strmnnrmn
4b8fe4abfe [~] Compile fix for when DAEDALUS_ACCURATE_TMEM isn't defined, and ConvertTile.cpp is included
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1364 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 00:13:16 +00:00
salvy
1a8aa9b8e1 [!] Fixed bad assumption for sprite2D in Glover
[!] Accurate TMEM can be used on the PSP (Just define DAEDALUS_ACCURATE_TMEM)
[!] Use StrmnNrmn's PrepareTexRectUVs for PSP(No need for hacks and I don't think is too expensive at the end)
[~] Fixed a SP DMA bug in W32 (I still think we should use the PSP method, since it works fine)
[~] Set rounding mode in W32/OSX (NOP for PSP)
[+] Handle more regs in MTC0
[~] Some clean ups


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1358 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-22 06:55:04 +00:00
strmnnrmn
849a797321 [~] Add an assert to ConvertTile if Line hasn't been set
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1339 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:41:17 +00:00
strmnnrmn
69cde1d3ce [~] Fix indentation in ConvertTile.cpp (there shouldn't be any functional changes)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1338 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:41:10 +00:00
strmnnrmn
bb7cae6784 [+] Use ConvertTile when DAEDALUS_ACCURATE_TMEM is set
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1330 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:40:19 +00:00