Commit graph

61 commits

Author SHA1 Message Date
z2442
25517ce9b9 Rename GCC_OLD to GCC_LEGACY 2025-01-27 21:14:53 -05:00
z2442
2f6c899b23 More libformat fixes 2025-01-27 20:46:09 -05:00
z2442
08c2b77727 Missed a few 2025-01-27 20:25:18 -05:00
z2442
e70c5950e6 Cmake GLES cleanup 2025-01-12 21:33:04 -05:00
z2442
8473b99bbe init GLES port 2025-01-12 13:37:06 -05:00
wally4000
fd22ce09e0 Shuffle some files around 2024-08-05 21:15:57 +10:00
wally4000
057d301b11 Remove BaseDir extern and replace with setBasePath function 2024-08-02 15:15:58 +10:00
wally4000
4a35201f22 Specify if a variable is unused to silence compiler. 2024-06-20 12:24:05 +10:00
Wally4000
3c594851bb more io 2024-06-18 20:21:29 +10:00
Wally4000
ebed797b89 More IO:: Standardisation 2024-06-18 17:48:41 +10:00
wally4000
4bcc5af9b9 Move MathUtil.h to Utility 2024-06-17 16:29:28 +10:00
Wally4000
f18777f945 More snprintf 2023-10-31 14:32:21 +11:00
Wally4000
895e8910d9 Remove BuildOptions and clean up macros 2023-10-23 12:58:37 +11:00
Wally4000
b6eff3b826 Hurray it lives. 2023-10-11 18:47:51 +11:00
Wally4000
76eb881494 use shared_ptr instead of RefCounted Class 2023-06-22 15:47:48 +10:00
Wally4000
4e60fb4901 Remove AuxFunc.h 2023-06-22 14:57:25 +10:00
Wally4000
b688456fbd Use builtins for random function 2023-04-24 15:51:14 +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
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
Carlos R
934ea22c7f Fix crashes in Paper Mario and Yoshi
*Correct bad pointer casting for optimized copy in Yoshi_Memrect and fixed non optimized copy
*Store n64 ram offset rather than the system memory for Fast TMEM (thanks strmnnrmn!). Fixes random crashes when using the non accurate path for TMEM emulation
*Make sure to reset tmem block for fast TMEM even when accurate TMEM its used since we fall back to the non accurate path when games set line to 0
*Ignore load tile for accurate TMEM when line its 0, this was causing a crash in Paper Mario which sets line = 0
2020-05-16 16:09:17 -07: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
31518c6046 [!] Fixed text in bomberman the second attack (accurate tmem) 2013-06-19 00:08:59 -07:00
Paul Holden
067a594a9f [~] Move ConfigOptions.{h,cpp} to Config/ and tidy header include order. 2013-06-04 22:02:31 +01:00
strmnnrmn
b05c813379 [~] Huge filename cleanup. Use IO::Filename rather than char [MAX_PATH] or char [MAX_PATH+1]. Add an IO::Path::Assign. Use IO::Path::Assign/Combine rather than strcpy/strcat/snprintf. Remove MAX_PATH (everything should use the constant in IO.h if required, then we can make this platform specific)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1686 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:55 +00:00
strmnnrmn
40370e86ee [~] Runtime toggle for emulating mirroring via the texture.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1532 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:12 +00:00
salvy
0f60eae933 [!] Started WIP to get rendering working from GL renderer (some textures show up now, ex texrect!)
[!] Compiled project as console app (needed for glfw) [WIP, ALOT things got broken! and huge clean up is needed, will fix them eventually)
Note: glew and glfw are now needed to build W32.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1443 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 21:58:22 +00:00
strmnnrmn
a401996c41 [~] OSX can use GetPalette now. Also, make the texture arg to DumpTexture const
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1392 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:14 +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
a9ddb29935 [~] If TextureInfo.Line isn't set, fall back to ConvertTexture
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1341 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:41:30 +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
strmnnrmn
545e2c4221 [~] Tidy UpdateTexture a little
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1319 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:56 +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
7855c69a86 [~] ConvertTexture on OSX isn't quite ready for OSX RGBA8888 only
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1310 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:37:41 +00:00
strmnnrmn
d04bd5b013 [~] Shuffle around the arguments to ConvertTexture a bit. Define TextureDestInfo in the cpp file, and just plumb though the required arguments directly. All this so I can try to add a ConvertTile function which decodes directly from emulated TMEM.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1307 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:37:19 +00:00
strmnnrmn
2bb9864821 [~] Always use RGBA 8888 textures for OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1293 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:59 +00:00
strmnnrmn
9f816c5ef6 [~] Rename kCheckHashBeforeUpdate to kUpdateTexturesEveryFrame
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1284 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:55 +00:00
strmnnrmn
125243eb0a [~] Various CachedTexture::HasExpired checks aren't needed when we update textures every frame.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1283 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:49 +00:00
strmnnrmn
640c5568ae [~] On OSX, don't bother checking the texture hash before updating.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1282 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:39 +00:00
strmnnrmn
d5319b75e4 [~] Set mLastFrameToUpdate to gRDPFrame + x rather than doing += x. Probably doesn't matter, but this way means we're less reliant on mLastFrameToUpdate being set correctly to gRDPFrame elsewhere
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1281 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:32 +00:00
strmnnrmn
4c7520b103 [~] Give DoConversion a better name - ConvertTexture
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1275 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:52:51 +00:00