profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/SaiBalaji22/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

SaiBalaji22/Corona-Tracker-iOS 2

iOS 12 app which uses REST API to provide current details about COVID-19

SaiBalaji22/GameBoy-C 2

A sample C program which runs in GameBoy DevKit

SaiBalaji22/ADA-COMPUTER-VISION-BOT 1

A cross platform bot for Android,iOS implemented using C#,Xamarin,Azure ComputerVision api

SaiBalaji22/DBMS-Mini-Project 1

Online bus ticket booking system using C#,XAMPP server and MySQL

SaiBalaji22/Flappy-Bird- 1

A 2D Game for iPhone using Sprite Kit and Swift

issue commentpspdev/psptoolchain

make: *** [all] Error 2 ../scripts/007-gdb.sh: Failed. ERROR: Could not run the toolchain script in macOS when installing toolchain

This is readline related, needs sys/ioctl.h inclusion. Will fix soonish.

Can u explain me clearly what should change :)

SaiBalaji22

comment created time in 2 months

issue commentswitchbrew/switch-examples

A simple SDL2 c++ program in Switch using devkit pro not booting in emulator

I was able to resolve it now it works fine

SaiBalaji22

comment created time in 2 months

issue closedswitchbrew/switch-examples

A simple SDL2 c++ program in Switch using devkit pro not booting in emulator

Hello I'm new to switch Homebrew development. I'm starting with SDL2 for Switch Homebrew.I have downloaded and installed devkitt pro. And opened graphics sdl2-simple example c++ program and compiled it. It compiles successfully and generates a .nro file. Then I dropped it in Yuzu emulator it works fine as expected along with joy con inputs. But now I need to make that program much simpler so that it changes the background colour of the SDL window when launched in emulator. I modified the example code by removing some methods(an user defined method which draws rectangle in particular pattern) as it is not needed for my code. Then I compiled it it compiles successfully and generates a .nro file.And also I used same Make file from original sdl2-simple example because I don't know how to create MakeFile. But when I drag and drop it in yuzu emulator it is stuck at launching progress bar. How to modify my code so that it changes window colour when it is launched. The code is simpler when launched it should set the window color to white. Here is my code.It compiles success fully and generates .nro file. But when I drop it in Yuzu it is stuck at launching progress bar screen. I don't know where I'm going wrong Do I need to make changes to makefile? Here is my code

Code

` #include <stdlib.h> #include <stdio.h> #include<iostream> #include <SDL.h> #include<SDL2/SDL.h>

int main(int argc, char *argv[]) {

SDL_Init(SDL_INIT_EVERYTHING);

SDL_Window* Window = NULL;

Window = SDL_CreateWindow("demo",SDL_WINDOWPOS_CENTERED,SDL_WINDOWPOS_CENTERED,800,450,SDL_WINDOW_SHOWN | SDL_WINDOW_OPENGL);

if(Window == NULL)
{
    std::cout<<"Error in window initialization\n"<<SDL_GetError()<<"\n";
    return -1;
}

for (int i = 0; i < 2; i++) {
    if (SDL_JoystickOpen(i) == NULL) {
        SDL_Log("SDL_JoystickOpen: %s\n", SDL_GetError());
        SDL_Quit();
        return -1;
    }
}

SDL_Surface* Screen = SDL_GetWindowSurface(Window);

bool running = true;
SDL_Event event;

Uint32 white = SDL_MapRGB(Screen->format,255,255,255);

SDL_FillRect(Screen,NULL,white);

SDL_UpdateWindowSurface(Window);

while (running)
{
    while (SDL_PollEvent(&event))
    {
        if(event.type == SDL_QUIT)
        {
            running = false;
            break;
        }
   
    }
}

SDL_DestroyWindow(Window);
SDL_Quit();

return 0;

} `

Compilation

BKa57

Stuck in emu

q7JNX

closed time in 2 months

SaiBalaji22

issue openedpspdev/psptoolchain

mkdir: build-psp: File exists ../scripts/004-newlib-1.20.0.sh: Failed error in MacOS while installing the tool chain

I'm getting this error while running the tool chain in BigSur mkdir: build-psp: File exists ../scripts/004-newlib-1.20.0.sh: Failed. ERROR: Could not run the toolchain script. How can I resolve it

created time in 2 months

push eventSaiBalaji22/demorepo

Sai Balaji

commit sha 87c6430be931a29fa8317f65ee835f61871e6fdc

Delete nxdk sample - SDL2.iso

view details

push time in 2 months

push eventSaiBalaji22/demorepo

Sai Balaji

commit sha 16e5286a4e9d5ca0d94eb708f1003037ce2fab94

Add files via upload

view details

push time in 2 months

create barnchSaiBalaji22/demorepo

branch : main

created branch time in 2 months

created repositorySaiBalaji22/demorepo

created time in 2 months

push eventSaiBalaji22/demorepo

Sai Balaji

commit sha 3775b740ec946d4c5d33b32fa898d231faf33eb9

Add files via upload

view details

push time in 2 months

create barnchSaiBalaji22/demorepo

branch : main

created branch time in 2 months

created repositorySaiBalaji22/demorepo

created time in 2 months

created repositorySaiBalaji22/demo

created time in 2 months

issue openedswitchbrew/switch-examples

A simple SDL2 c++ program in Switch using devkit pro not booting in emulator

Hello I'm new to switch Homebrew development. I'm starting with SDL2 for Switch Homebrew.I have downloaded and installed devkitt pro. And opened graphics sdl2-simple example c++ program and compiled it. It compiles successfully and generates a .nro file. Then I dropped it in Yuzu emulator it works fine as expected along with joy con inputs. But now I need to make that program much simpler so that it changes the background colour of the SDL window when launched in emulator. I modified the example code by removing some methods(an user defined method which draws rectangle in particular pattern) as it is not needed for my code. Then I compiled it it compiles successfully and generates a .nro file.And also I used same Make file from original sdl2-simple example because I don't know how to create MakeFile. But when I drag and drop it in yuzu emulator it is stuck at launching progress bar. How to modify my code so that it changes window colour when it is launched. The code is simpler when launched it should set the window color to white. Here is my code.It compiles success fully and generates .nro file. But when I drop it in Yuzu it is stuck at launching progress bar screen. I don't know where I'm going wrong Do I need to make changes to makefile? Here is my code

Code ` #include <stdlib.h> #include <stdio.h> #include<iostream> #include <SDL.h> #include<SDL2/SDL.h>

int main(int argc, char *argv[]) {

SDL_Init(SDL_INIT_EVERYTHING);

SDL_Window* Window = NULL;

Window = SDL_CreateWindow("demo",SDL_WINDOWPOS_CENTERED,SDL_WINDOWPOS_CENTERED,800,450,SDL_WINDOW_SHOWN | SDL_WINDOW_OPENGL);

if(Window == NULL)
{
    std::cout<<"Error in window initialization\n"<<SDL_GetError()<<"\n";
    return -1;
}

for (int i = 0; i < 2; i++) {
    if (SDL_JoystickOpen(i) == NULL) {
        SDL_Log("SDL_JoystickOpen: %s\n", SDL_GetError());
        SDL_Quit();
        return -1;
    }
}

SDL_Surface* Screen = SDL_GetWindowSurface(Window);

bool running = true;
SDL_Event event;

Uint32 white = SDL_MapRGB(Screen->format,255,255,255);

SDL_FillRect(Screen,NULL,white);

SDL_UpdateWindowSurface(Window);

while (running)
{
    while (SDL_PollEvent(&event))
    {
        if(event.type == SDL_QUIT)
        {
            running = false;
            break;
        }
   
    }
}

SDL_DestroyWindow(Window);
SDL_Quit();

return 0;

} `

Compilation

BKa57

Stuck in emu

q7JNX

created time in 2 months