mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-09-08 21:50:52 +02:00
pvr overflown detection: workaround for emulators; kos update
This commit is contained in:
2
vendor/dca3-kos
vendored
2
vendor/dca3-kos
vendored
Submodule vendor/dca3-kos updated: 5b7ccc80de...a76dc89fbb
2
vendor/librw/src/dc/rwdc.cpp
vendored
2
vendor/librw/src/dc/rwdc.cpp
vendored
@@ -575,7 +575,7 @@ size_t vertexBufferFree() {
|
||||
|
||||
bool vertexOverflown() {
|
||||
return PVR_GET(PVR_TA_VERTBUF_POS) >= PVR_GET(PVR_TA_VERTBUF_END) ||
|
||||
PVR_GET(PVR_TA_OPB_POS)*4 >= PVR_GET(PVR_TA_OPB_END);
|
||||
(PVR_GET(PVR_TA_OPB_POS)*4 >= PVR_GET(PVR_TA_OPB_END) && PVR_GET(PVR_TA_OPB_POS) != PVR_GET(PVR_TA_OPB_INIT));
|
||||
}
|
||||
|
||||
constexpr size_t freeVertexTarget_Step_Up = 32 * 1024;
|
||||
|
Reference in New Issue
Block a user