mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Change TODO to a better idea
This commit is contained in:
1 parent
3148a8a437
commit
7ddcf62955
2 files changed
+1
-2
No files matched your search
@@ -806,7 +806,6 @@ void GPUCommonHW::FastRunLoop(DisplayList &list) {
|
||||
if (info.flags & FLAG_EXECUTE) {
|
||||
downcount = dc;
|
||||
(this->*info.func)(op, diff);
|
||||
// TODO: Check pc here, and break if invalid, as the func can change it. Might an have a performance impact though.
|
||||
dc = downcount;
|
||||
}
|
||||
} else {
|
||||
@@ -820,7 +819,6 @@ void GPUCommonHW::FastRunLoop(DisplayList &list) {
|
||||
if (flags & (FLAG_EXECUTE | FLAG_EXECUTEONCHANGE)) {
|
||||
downcount = dc;
|
||||
(this->*info.func)(op, diff);
|
||||
// TODO: Check pc here, and break if invalid, as the func can change it. Might have a performance impact though.
|
||||
dc = downcount;
|
||||
} else {
|
||||
uint64_t dirty = flags >> 8;
|
||||
|
||||
@@ -62,6 +62,7 @@ public:
|
||||
|
||||
void Execute_TexFlush(u32 op, u32 diff);
|
||||
|
||||
// TODO: Have these return an error code if they jump to a bad address. If bad, stop the FastRunLoop.
|
||||
typedef void (GPUCommonHW::*CmdFunc)(u32 op, u32 diff);
|
||||
|
||||
void FastRunLoop(DisplayList &list) override;
|
||||
|
||||
Reference in new issue
Block a user