Files
jak-project/game/sce/libpad.cpp
T
water111 5ec9a91eb9 Decompiler fixes + decompiling (#276)
* decomp pad

* more decompilation

* update

* fix test name
2021-02-22 09:36:30 -05:00

13 lines
370 B
C++

#include <cassert>
#include "libpad.h"
namespace ee {
int scePadPortOpen(int port, int slot, void*) {
// we are expected to return a non-zero file descriptor.
// we return the port + 1 and succeed always.
// the game just opens this once at the beginning, we don't have to implement closing/reopening.
assert(slot == 0);
return port + 1;
}
} // namespace ee