Skip to content

Commit

Permalink
Fix 2 PSVita build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
carstene1ns committed Feb 11, 2018
1 parent 0ac15ff commit 2c2c77e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/psp2_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int _newlib_heap_size_user = 192 * 1024 * 1024;

#define SHADERS_NUM 4
vita2d_shader* shaders[SHADERS_NUM];
char* shader_names[] = {
const char* shader_names[] = {
"None",
"Sharp Bilinear",
"LCD 3x",
Expand Down
4 changes: 0 additions & 4 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,6 @@ void Utils::SeedRandomNumberGenerator(int32_t seed) {
rng.seed(seed);
}

#if defined(PSP2)
# define EOF -1
#endif

// via https://stackoverflow.com/questions/6089231/
std::string Utils::ReadLine(std::istream &is) {
std::string out;
Expand Down

0 comments on commit 2c2c77e

Please sign in to comment.