Commit Graph

64 Commits

Author SHA1 Message Date
Clément Le Bihan 8270973d98 adding unit Tests and documentation for flipping function 2021-07-25 16:41:22 +02:00
Clément Le Bihan 9692120626 misc fixes 2021-07-13 22:18:55 +02:00
Clément Le Bihan c50df5ecda Merge branch 'catch' of github.com:AnonymusRaccoon/ComSquare into PPU
# Conflicts:
#	CMakeLists.txt
#	sources/PPU/Background.cpp
#	sources/PPU/Background.hpp
#	sources/PPU/PPU.hpp
2021-07-08 01:07:19 +02:00
Clément Le Bihan 3964da9526 general clean up 2021-07-08 00:48:10 +02:00
Clément Le Bihan 5527a19348 really fixing ppu x and y 2021-07-08 00:28:05 +02:00
Clément Le Bihan 11c5ac8476 fixing ppu x and y 2021-07-08 00:13:59 +02:00
Clément Le Bihan 9f0f03ebed removing half of backgrounds (priority not functional) 2021-07-06 23:52:24 +02:00
Clément Le Bihan 213f1608a7 splitting more conveniently drawTile function 2021-07-06 23:13:37 +02:00
Clément Le Bihan f8a500972a renamming _tileMapsConfig to _tileMapMirroring 2021-07-06 22:14:54 +02:00
Zoe Roux 15fde029a7 Starting to reenable debuggers 2021-07-04 22:57:58 +02:00
Clément Le Bihan ba43efe262 norm fix 2021-07-04 12:12:30 +02:00
Clément Le Bihan c5696946eb adding micro QoL changes segfault found in PPU while running rom 2021-07-04 12:09:15 +02:00
Clément Le Bihan 590078bf76 fixing missunderstanding of horizontal/vertical tilemap mirroring 2021-07-04 11:50:35 +02:00
Clément Le Bihan 5860c10653 refactor ppu x and y and little clean up 2021-07-04 10:31:25 +02:00
Clément Le Bihan 5b900da44f modif addBuffer but PPU need x and y cleanup seriously 2021-07-04 01:38:51 +02:00
Clément Le Bihan 6691a40c42 real fix for tilemap drawing 2021-07-03 17:47:30 +02:00
Clément Le Bihan 2bae2fcbc6 fixing issue with drawing tilemaps 2021-07-03 16:47:38 +02:00
Clément Le Bihan 59829a7c0c debugging weird error i think i found something 2021-07-03 15:59:55 +02:00
Clément Le Bihan 6c1fc61a28 pr fixes 2021-06-23 22:02:12 +02:00
Clément Le Bihan e7ee90c652 general fixing (indent unused functions etc) 2021-06-23 00:24:28 +02:00
Clément Le Bihan 7b7520ce69 general cleanup can not work with 4bpp going to check 2021-06-22 23:54:04 +02:00
Clément Le Bihan bc0823342c fixing offset issues with 2bpp rendering 2021-06-22 23:03:53 +02:00
Clément Le Bihan 3b072dea56 flipped tile seems to work now but need to check on it later 2021-06-09 10:36:53 +02:00
Clément Le Bihan 17607d6fcb HflipArray and VFLipArray aren't working 2021-06-09 00:55:38 +02:00
Clément Le Bihan 26d8dd7123 tile renderer is working fine with 2 bpp 2021-05-25 00:28:03 +02:00
Clément Le Bihan 4024b51c9f starting to implement true TileRenderer 2021-05-24 00:28:08 +02:00
Clément Le Bihan 11d0f35e07 adding a define for fallthrough abstraction 2021-05-21 00:41:11 +02:00
Clément Le Bihan 11bca5fe97 fixing some issues from those reported by the pr 2021-05-21 00:12:00 +02:00
Clément Le Bihan 978af3f280 fixing uninit conditions 2021-05-20 00:51:49 +02:00
Clément Le Bihan 44993064be merge master into PPU 2021-02-04 19:26:02 +01:00
Clément Le Bihan d5af9fe98a starting implementing bg scroll 2021-02-04 19:06:54 +01:00
Clément Le Bihan a4d9047a89 fixing getPalette due to wrong start 2021-02-02 01:08:39 +01:00
Clément Le Bihan 4802ba0714 getPalette should work fine 2021-02-01 17:55:57 +01:00
Clément Le Bihan e1f1990402 adding define to clarify 2021-02-01 15:43:14 +01:00
Clément Le Bihan 16c41b528e adding getter setter for public vars of Background Class and norm fixes 2021-02-01 15:20:07 +01:00
Clément Le Bihan d1b0e039ef handling tilemap mirroring 2020-10-15 23:16:59 +02:00
Clément Le Bihan 6334b4805a fixing warning implicit fallthrough (intentional fallthrough) 2020-10-15 22:35:05 +02:00
Clément Le Bihan 484d332b05 flipping horizontal and/or vertical bg tiles are now handled and rm a useless ternary 2020-10-15 22:24:11 +02:00
Clément Le Bihan 44ec270c56 fixing the get palette and getTilesetAddress 2020-10-13 23:48:40 +02:00
Clément Le Bihan 9193daccdb fixing rendering for bg 1 and 2 in 4bpp 2020-10-13 00:13:31 +02:00
Clément Le Bihan 1708e73619 adding fixes to getPalette and creating a setter for backgrounds bpp (when bgmode is changed) 2020-10-11 02:07:05 +02:00
Clément Le Bihan 004cdae186 changing the VRAM and CGRAM test content and unions are not working as intend 2020-10-06 00:24:01 +02:00
Clément Le Bihan 65a6494f34 adding documentation 2020-10-03 00:26:22 +02:00
Clément Le Bihan 8f6ee75c38 factorisation is done 2020-10-03 00:11:18 +02:00
Clément Le Bihan 85fe6cf0aa refactoring started but rendering isn't working 2020-10-02 23:27:59 +02:00
Clément Le Bihan 1f852ba6fa starting refactoring the function to get pixel reference 2020-10-02 00:23:21 +02:00
Clément Le Bihan 2d0e250982 setting the modification of getTilePixelReference 2020-09-30 00:09:09 +02:00
Clément Le Bihan fa97b2ab38 starting clarify code 2020-09-07 00:33:22 +02:00
Octopus773 f00f8d931e adding some reminders for me 2020-08-13 17:10:33 +02:00
Clément Le Bihan 0933a9803e fixing some registers and update registers related to backgrounds 2020-05-28 14:35:06 +02:00