Commit Graph

77 Commits

Author SHA1 Message Date
Ilya Shurumov
75400561aa - implement AddCopCarLight, fix ShowCarLight
- fix DrawSprites
- [EMU] zero GTE flag in NCLIP
2020-05-24 13:43:04 +06:00
Ilya Shurumov
9061d775bb - replace some docop2* by corresponding gte_* macros 2020-05-24 00:25:48 +06:00
Ilya Shurumov
8f3c6156e6 - [EMU] PGXP fixes 2020-05-23 20:35:16 +06:00
Ilya Shurumov
3bc733f968 - [EMU] sanitize PGXP types 2020-05-23 12:48:12 +06:00
Ilya Shurumov
f8b9c3443c - [EMU] GTE PGXP NCLIP improvement 2020-05-23 11:43:40 +06:00
Ilya Shurumov
964b97c702 - [EMU] improve PGXP 2020-05-22 22:38:52 +06:00
Ilya Shurumov
8a9ccffef4 - half-float super-optimized PGXP implementation with perspective texture correction 2020-05-22 21:42:36 +06:00
Ilya Shurumov
dee23f3fc0 - split GTE ratan, rcossin, sqrt tables
- GTE_EXTERNAL if you don't want in-house GTE (example - Mednafen)
2020-05-22 16:28:53 +06:00
Ilya Shurumov
468e153672 - use GTE macros everywhere instead of direct register access 2020-05-22 16:25:24 +06:00
Ilya Shurumov
461dc5c59f - replace >> 12 and / 4096 with FIXED(v) macro 2020-05-20 19:48:19 +06:00
Ilya Shurumov
d4e4421418 - [EMU] Analogue pad initialization to center 2020-05-20 16:56:01 +06:00
Ilya Shurumov
6ba6fc6dbe - [EMU] fix ratan_tbl
- pretty some matrix code
- fix new AddWheelForcesDriver1
2020-05-20 13:17:57 +06:00
Ilya Shurumov
d774bdc5b9 - [EMU] implement ApplyMatrix*, ApplyRotMatrix, ScaleMatrix
- [EMU] pretty RotMatrix, TransMatrix
2020-05-18 12:34:10 +06:00
Ilya Shurumov
25ad47c9ed - [EMU] [SPU-AL] fixed looped sound clicking
- Mission complete "Next Mission" item is "Continue"
2020-05-17 23:45:53 +06:00
Ilya Shurumov
5c011ebdbd - [EMU] perfect vblank, eliminates WaitForTimestep hack in DrawGame 2020-05-15 22:38:03 +06:00
Ilya Shurumov
a93f34340e - [EMU] proper VSync callback emulation with VBlank emulation 2020-05-15 21:04:26 +06:00
Ilya Shurumov
fce7017c3b - [EMU] [SPU-AL] stop source before updating sample 2020-05-15 21:03:32 +06:00
Ilya Shurumov
6270cbea4f - implement InitPedestrians, DestroyPedestrian(s), ActivatePlayerPedestrian, SetTannerPosition
- little fixes
2020-05-15 14:50:30 +06:00
Ilya Shurumov
3074107cf0 - [EMU] implement SpuSetVoiceAR, SpuSetVoiceRR 2020-05-14 12:55:14 +06:00
Ilya Shurumov
83d13a5e91 - [EMU] SPU sample update to separate function 2020-05-13 22:03:35 +06:00
Ilya Shurumov
1af4efcdfa - [EMU] fixed SPU implementation mistakes
- enabled InitMusic
2020-05-13 20:29:10 +06:00
Ilya Shurumov
dfeacdc2d3 - [EMU] call vsync_callback if mode < 0 2020-05-12 21:48:15 +06:00
Ilya Shurumov
14b3ebf541 - implement PauseXM, UnpauseXM, UpdateSamples, FreeXM, StartXM, StopXM 2020-05-12 20:53:26 +06:00
Ilya Shurumov
6634d8520e - [EMU] temporary use SquareRoot0 with CRT implementation 2020-05-09 10:30:46 +06:00
Ilya Shurumov
9759ce8899 - ratan2 temporary uses atan2 from CRT 2020-05-06 10:02:09 +06:00
Ilya Shurumov
9c4e77b782 - [EMU] implement SpuGetVoiceVolume, SpuSetVoiceVolume, SpuGetVoicePitch 2020-05-02 08:14:40 +06:00
Ilya Shurumov
ecd1594fbc - [EMU] fix gte_ldv1, gte_ldv2 2020-05-01 14:51:24 +06:00
Ilya Shurumov
52c04e46de - [EMU] added Emulator_GetScreenSize
- [EMU] use better SPU constants
2020-04-27 19:56:18 +06:00
Ilya Shurumov
2973e1bbb7 - [EMU] game debug keys support 2020-04-27 13:53:23 +06:00
Ilya Shurumov
aee9488db4 - [EMU] warn if SpuWrite exceeds memory 2020-04-27 11:51:38 +06:00
Ilya Shurumov
792c9b817e - implement InitSkidding, TerminateSkidding, CheckCarEffects
- marked LoadSoundBankDynamic as BUGGED
- [EMU] little attempt to fix SPU sample lookup
2020-04-27 11:27:09 +06:00
Ilya Shurumov
10a4ec93ff - [EMU] fix decodeSound 2020-04-27 10:35:09 +06:00
Ilya Shurumov
26be016644 - [EMU] libSPU fixes 2020-04-27 09:16:59 +06:00
Ilya Shurumov
04524b7aee - [EMU] properly implement SquareRoot0 2020-04-26 13:48:02 +06:00
Ilya Shurumov
028adb3726 - [EMU] implement SquareRoot0 2020-04-26 13:04:44 +06:00
Ilya Shurumov
1d675380d5 - [EMU] SpuSetVoiceAttr sets gain 2020-04-26 12:39:22 +06:00
Ilya Shurumov
a8e611b83a - make LIBMATH include math 2020-04-26 06:44:42 +06:00
Ilya Shurumov
222c8e1e59 - emulator swap interval to 60 FPS
- Ghidra DB update
2020-04-26 06:33:15 +06:00
Ilya Shurumov
d6f4b22732 - Latest emulator updates (inc PGXP) 2020-04-23 13:25:56 +06:00
Ilya Shurumov
947e6eeef6 - added gte macros 2020-04-21 17:04:42 +06:00
Ilya Shurumov
038d01f63b - [EMU] replacing rcos and rsin with 'isin' implementation from PSn00bSDK 2020-04-20 09:01:22 +06:00
Ilya Shurumov
f263680202 - [EMU] implement StoreImage2 2020-04-19 16:52:14 +06:00
Ilya Shurumov
43677d1cd8 - implement Tile1x1 2020-04-19 13:03:20 +06:00
Ilya Shurumov
718cf79353 - [EMU] fix MulMatrix0
- addded gte_MulMatrix0
2020-04-19 08:16:03 +06:00
Ilya Shurumov
357d41dc81 - [EMU] implement RotMatrixX, RotMatrixZ 2020-04-17 04:53:42 +06:00
Ilya Shurumov
90454fe78a - properly implement MulMatrix0 2020-04-17 04:27:29 +06:00
Ilya Shurumov
00933aed4b - implement PlaceCameraFollowCar 2020-04-17 01:50:53 +06:00
Ilya Shurumov
6c6446a99c - [EMU] implement ratan_tbl 2020-04-17 01:48:28 +06:00
Ilya Shurumov
56d2a0de15 - implement InitCamera 2020-04-17 01:14:56 +06:00
Ilya Shurumov
9be2d67e13 - [EMU] implement RotMatrixYXZ, RotMatrixY 2020-04-17 00:18:21 +06:00