mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Change TODO to a better idea
This commit is contained in:
parent
3148a8a437
commit
7ddcf62955
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue