mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
13 lines
383 B
C++
13 lines
383 B
C++
#include "common/util/assert.h"
|
|
#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
|